Skip to main content

Chapter 2 Preorder Tokens NFTs

Preorder Token

Introduction

This article provides information about the Solana Mobile Chapter 2 Preorder Tokens NFTs.The non-transferrable Chapter 2 Preorder Tokens allow for the identification of wallets that have participated in supporting Chapter 2.

Solana Mobile does not currently have a rewards program in connection with the Chapter 2 Preorder Token. Ecosystem teams are entirely free to decide if (and if so, how) they wish to interact with the holders of these non-transferable tokens.

Chapter 2 Preorder Token holders

The Chapter 2 Preorder Token NFT is a non-transferable NFT distributed to the wallets of anyone who has preordered Chapter 2.

As of the time this article was written, there are 110,000+ holders of the Preorder Token. The preorder phase is still active and any new Tokens will be issued in waves.

NFT Details

The Chapter 2 Preorder Tokens are non-transferable NFTs enabled by the NonTransferable extension.

Mint Address

The Chapter 2 Preorder Token mint address is:

  • 2DMMamkkxQ6zDMBtkFp8KH7FoWzBMBA1CGTYwom4QH6Z

This mint address is shared by all token accounts of the Chapter 2 Preorder Token.

Metadata

Each Chapter 2 Preorder Token NFT utilizes the Metadata and Metadata Pointer extension to define its NFT metadata.

Metadata
Uri: https://arweave.net/WHyy5Fo8vUC7FqFfzqkuYAmDi-BfOMBjZSXIwwO7P6g
Mint: 2DMMamkkxQ6zDMBtkFp8KH7FoWzBMBA1CGTYwom4QH6Z
Name: Chapter 2 Preorder Token
Symbol: CHAPTER2
Update Authority: GRR6BquJZYWgUqWpNJekBZHDHgxVQ56iZ2P2nWjDFRSn
Additional Metadata
Metadata Pointer
Authority: GRR6BquJZYWgUqWpNJekBZHDHgxVQ56iZ2P2nWjDFRSn
Metadata Address: 2DMMamkkxQ6zDMBtkFp8KH7FoWzBMBA1CGTYwom4QH6Z

Querying for Chapter 2 Preorder Token holders

tip

This script can return duplicates of the same owner's wallet address. This is because it is possible for a single wallet address to own more than one Preorder Token, if they preordered multiple Chapter 2 products.

You can follow these steps to query the Chapter 2 Preorder Token list and save it into a JSON file:

1. Access your RPC provider.

Any RPC provider with the DAS (Digital Asset Standard) APIs should work. If you don't have one, the Helius Free plan (helius.dev/pricing) should be sufficient for this query.

2. Add your API Key to the following query:

import { writeFileSync } from "fs";

const DAS_API_URL = "https://mainnet.helius-rpc.com/?api-key=<API_KEY>";
const TOKEN_MINT_ADDRESS = "2DMMamkkxQ6zDMBtkFp8KH7FoWzBMBA1CGTYwom4QH6Z";
const OUTPUT_FILE = `out.json`;

let tokens = [];

let page = 0;
while (true) {
page++;
console.log(`Fetching page ${page}`);
const response = await fetch(DAS_API_URL, {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
jsonrpc: "2.0",
id: "my-id",
method: "getTokenAccounts",
params: {
mint: `${TOKEN_MINT_ADDRESS}`,
page: page, // Starts at 1
limit: 1000,
},
}),
});
const { result } = await response.json();
if (result.total === 0) {
console.log("Done!");
break;
}
for (const item of result.token_accounts) {
tokens.push({ owner: item.owner, count: item.amount });
}
}

console.log(`Writing to ${OUTPUT_FILE}`);
writeFileSync(OUTPUT_FILE, JSON.stringify(tokens, null, 2));

3. Perform the Query

Run the script to perform the query and you can find the results in the output file out.json.

4. Further querying (optional)

In order to query a subset of the Preorder Token Holders, you may write a script to fetch wallet activity data using blockchain explorers and analytics tools based on the subset criteria. You can use their APIs to retrieve transaction history, token balances, and other relevant information, such as:

  • Length of their engagement with the applicable protocol (i.e. The date of the first transaction)
  • Participation in applications within the ecosystem that are adjacent or complementary to your project