Skip to content
On mainnet the code is the same; only RPC_URL and RPC_SUBSCRIPTIONS_URL change. What changes is who holds the keys and how you run the asset. Work through this list before you issue to real investors.
1

Decide whether balances must be confidential

Confidential Balances can only be turned on when you create the mint, so decide before you issue on mainnet. It hides balances and transfer amounts (addresses stay public), and an auditor key lets you or a regulator decrypt transfer amounts. The permanent delegate can’t move encrypted balances. See Enable confidentiality.
2

Move every authority to a multisig

In the example, one issuer key holds every role. On mainnet, no single laptop key should be able to issue, approve, pause, or move investors’ tokens. The asset has six roles:
  • Mint authority: issues more of the asset.
  • Freeze authority: approves (thaws) and freezes holders. It can also change the default account state.
  • Pause authority: pauses and resumes every transfer, mint, and burn.
  • Permanent delegate: moves or burns tokens in any account.
  • Metadata pointer authority and metadata update authority: change where the metadata lives and what it says.
If you enabled confidentiality, a seventh role, the confidential transfer authority, approves holders for confidential use and can change the auditor key.Give each role to an M-of-N multisig. For the mint, freeze, pause, permanent delegate, and metadata pointer authorities, you can use a Token-2022 multisig account (spl-token --program-2022 create-multisig, see Multisig signing) or a multisig such as Squads. The metadata update and confidential transfer authorities need a direct signature, which a Token-2022 multisig account can’t give, so use a multisig such as Squads for them. Reassign roles with the Token-2022 SetAuthority instruction (getSetAuthorityInstruction), and the metadata update authority with getUpdateTokenMetadataUpdateAuthorityInstruction. Consider separate multisigs for day-to-day approvals and for pausing or recovery.
3

Approve holders from KYC attestations

Approving each holder by hand doesn’t scale. Issue a verifiable KYC claim for each investor with Solana Attestations, and approve accounts from those claims, in your own service or onchain with Token ACL. To revoke an approval, freeze the account again.
4

Write the pause and recovery runbook

Pausing stops every transfer, mint, and burn of the asset, for every holder at once. Write down before launch:
  • who can pause and resume, and how many multisig signers that takes;
  • which events trigger a pause, such as a key compromise, a corporate action, or a regulator’s order;
  • when you use the permanent delegate instead, to recover tokens from one account (lost keys, a court order) without stopping everyone else;
  • how and where you tell holders, and how you confirm the pause landed.
Rehearse the runbook on devnet with the pause, resume, and clawBack functions from the previous step.
5

Publish metadata and verify the token

Host the metadata JSON at the mint’s URI and keep it current, so wallets and explorers show the right name, symbol, and issuer. See How to verify a token.

​You issued an asset

You created a gated asset, approved holders, and tested its controls. From here: