Configuring Token Accounts

To use zkNEO on the Solana network, you’ll need a token account specifically for zkNEO. A token account is required to hold and transact tokens, whether using confidential features or not.

1. Creating a Standard Token Account

A standard token account lets you send and receive zkNEO without using the confidential features. If you already hold zkNEO in your wallet, you likely already have a token account set up.

To check if you already have a zkNEO token account, use:

spl-token accounts

If you need to create a token account, run:

spl-token create-account 7SPAW8PPi22vnjm2wv48Bp2VhLzUNkfbmcGVmDHvnu9b

2. Enabling Confidential Transfers

To use confidential transfer features, you must configure your token account specifically for confidential transactions.

To enable confidential transfers, enter:

spl-token configure-confidential-transfer-account --address <ACCOUNT_PUBKEY>

Note: Only the account owner can enable confidential transfers, as this step sets up an encryption key unique to your account.

Last updated