Skip to content
This example creates a Token-2022 mint with onchain metadata, pausable transfers, a permanent delegate, and token accounts that start frozen. It is the same set of extensions the Issue an asset path uses, written in Kit, web3.js v3, Rust, and legacy web3.js. Pick a tab, then run it on the isolated test network:
Kit
Output from a local Surfpool network
Output
You should see the transaction signature and the mint address. The Kit, web3.js v3, and Rust tabs also print the list of enabled extensions.

​Point it at devnet

Each tab generates a new payer and funds it with an airdrop, which only works on a local network: the public devnet endpoint no longer serves airdrops. On devnet, pay with a keypair you funded yourself. Get devnet SOL for your Solana CLI keypair (solana address prints its address) from the Solana Faucet or another faucet, then, in your tab, replace the lines that create the payer, the mint keypair and the RPC connection, and the airdrop that follows them, with:
Everything after the setup is unchanged. Before using the same configuration on mainnet, plan authority management, compliance operations, and monitoring for the asset: the go-live checklist of the Issue an asset tutorial covers them.

​Where to go next