New answers tagged spl
0
votes
How to track the price or market cap of spl tokens?
according to the documentation, there is a parameter included in the query response called lamports. Lamports will tell you the "market cap" of the AccountInfo you are looking for.
Also, I ...
2
votes
Token CPI without signature from PDA works unexpectedly?
It works because Program A has already granted signer rights to beastie during the transaction, and this signer privilege propagates through the instruction to the SPL Token Program. Other programs ...
1
vote
Installing solana spl from terminal ubuntu 24.1
Try installing the curl command using apt
sudo apt install curl
Also make sure you have these essential packages installed as well
sudo apt install \
build-essential \
pkg-config \
...
1
vote
How to resolve error code":-32010,"message":"2UR.... excluded from account secondary indexes; this RPC method unavailable for key
If you want to index all of the token accounts for a particular mint, you need to include that mint id in the account indexes, so in your startup script, try adding:
--account-index-include-key 2URzn.....
0
votes
Revoke Mint authority
I think you need to set authority to null
In Rust you would do this
Some(None)
Top 50 recent answers are included
Related Tags
spl × 152spl-token × 48
solana-program × 30
token × 24
spl-token-program × 24
anchor × 22
web3.js × 12
spl-associated-token-account × 12
metaplex × 9
swap × 9
raydium × 9
rust × 8
transfer × 8
metadata × 8
mint × 8
transactions × 6
token-2022 × 6
transaction × 6
pda × 5
associated-token-account × 5
api × 5
spl-token-cli × 5
python × 4
cli × 4
staking × 4