Questions tagged [spl-token-program]
The spl-token-program tag has no summary.
239 questions
1 vote
1 answer
32 views
Decoding program notification
I am trying to decode base64 data I got from the method programSubscribe. I have the IDL for the program, but I don't know how to get the event index for the notification. When I tried decoding Solana ...
0 votes
2 answers
69 views
Issue in SPL Token Create :Signature verification failed. Missing signature for public key ,
I am creating a Solana program using Anchor that initializes a new SPL Token mint and its associated token account and then to create token create token. use anchor_lang::prelude::*; use anchor_spl::...
0 votes
0 answers
59 views
How to stabilize Solana RPC node memory and disk I/O
I’m running a Solana RPC node (Agave validator) with fairly heavy flags, and I’m running into memory growth issues. Current flags --no-voting --full-rpc-api --enable-rpc-transaction-history --account-...
2 votes
2 answers
129 views
How to get the metadata of a Token-2022 using gill?
I trying to get the metadata of a token 2022 using gill but this only return a empty object. I using this method: import {fetchMetadata} from 'gill/programs' const { data: dataA } = await ...
0 votes
0 answers
45 views
Mint authority in SPL Token 2022: Is there a program that separates minting authority from changing authority?
It seems to me it's a horrible idea to combine these two roles: The role to mint new tokens from a token mint The role of changing the authority that can mint tokens In an institution, this is a bad ...
0 votes
1 answer
42 views
Is 11111111111111111111111111111111 a valid authority for SPL Token 2022 deployed via solana-genesis?
I’m deploying SPL Token 2022 to my local Agave client using solana-genesis. After deployment, I checked the program info: ➜ solana program show TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb Program Id: ...
1 vote
1 answer
73 views
Getting error calling withdraw_excess_lamports on Mint Account with renounced Mint Authority
I'm trying to call withdraw_excess_lamports on a mint address, which Mint Authority was renounced, and I have the private key used for creating the mint. According to withdraw_exccess_lamports ...
1 vote
1 answer
92 views
Is there a way to call withdraw_excess_lamports with mint authority renounced?
I accidentally transferred some Solana into my mint address. I recently learnt about the new token_2022 instruction withdraw_excess_lamports that can help with this, but the mint authority was already ...
1 vote
1 answer
63 views
How to Clone Prior Token 2022 Program Version
I would like to use a prior stable version of the Token 2022 program from the v8 release in April. I am using the command line, and have used the following commands: % pkill solana-test-validator % ...
3 votes
1 answer
117 views
How to Mint or Apply Confidential Tokens to Non Associated Token Account
I have my mint enabled for confidential transfers and a token account created with this extension enabled. I do not see in the CLI --help documentation or on the solana-program/confidential site ...
2 votes
1 answer
53 views
Why does Querying Mint Account Info Display a Mint Token Balance
I am under the impression according to reviewing solana program documentation that Mint accounts cannot hold a token balance, mints can only mint tokens to ATAs (token programs), NATAs (token programs)...
2 votes
1 answer
58 views
How To Query Solana Non Associated Token Account Balance
I have created a token mint and minted tokens to a non associated token account (NATA). When querying the NATA balance using solana balance I am seeing the SOL rent fee seemingly, and when querying ...
1 vote
2 answers
68 views
Project 9 - TypeError: Cannot read properties of null (reading 'gatewayUri')
I get this error whenever I try to implement the test for the commit randomness. The full code is here: https://github.com/TemiW3/token-lottery when building sb commit ix, it throws gatewayUri error. ...
2 votes
1 answer
127 views
Assign Solana Wallet Address to Mint Address
I have struggled to get this to work with the Solana Token 2022 standard after several attempts. My setup is simple, I only want to assign a vanity pubkey to a mint address. Wallet Creation solana-...
3 votes
3 answers
419 views
Transfer, Transfer Checked, and Transfer Hook Checked Token 2022 Program Solana Ecosystem Compatibility
In referencing the Solana SPL Token and Token 2022 documentation, I am confused on if Token Extensions will affect compatibility of my token with Solana ecosystem products. In later phases I will ...