1
vote
Python API to get spl token details given token solscan address
Yes its quite easy. The solscan address is irrelevant.
Sign up for a free account at https://www.helius.dev/ and get an api key
Your script should send a request to the RPC URL given to you
import ...
1
vote
Missing authorization rules account
updateAsUpdateAuthorityV2 method doesn't contain an updateAuthority field.
The correct field you are looking for is newUpdateAuthority
// -- snip
updateAsUpdateAuthorityV2(umi, {
mint: ...
1
vote
How can I know the mint address of NFT of candy machine?
You can verify NFTs minted through your Candy Machine by checking their metadata's update authority or fetching all minted NFTs via the Candy Machine ID after minting, and then use this information in ...
1
vote
Anchor test error "InstructionDidNotDeserialize"
If you use the #[instruction()] constraint on your Accounts struct, you need to pass value in your instruction as an argument.
pub fn remove_mint_authority(ctx: Context<RemoveMintAuthority>, ...
1
vote
Solana: `initializeUserMint` Function Fails with '_bn' Error Despite Matching Program ID
It's tough to tell without more info, but likely one of the PublicKeys passed into your function is invalid -- the _bn field is stored directly on the PublicKey at https://github.com/solana-labs/...
1
vote
Wsol balance shows zero
Perhaps you didn't set the wrapAndUnwrapSol option to false and swap tx automatically wraps and unwraps the SOL.
// get serialized transactions for the swap
const { swapTransaction } = await (
await ...
1
vote
Package `Solana-program vX.X.X` cannot be built because it requires rustc X.X.X or newer
Anchor uses the rust compiler that ships with your Solana tools version. You probably want to install a more recent Solana version like:
solana-install init 1.18.17
Solana-install is deprecated so if ...
1
vote
Python client for YellowStone Geyser Plugin (gRPC)
I received the same response where I would just get pings back. However if I just let it run, sometimes for over an hour I would eventually get the response I was expecting. It has taken anywhere ...
1
vote
How to use jito bundle to buy and sell tokens?
Here is a great video about Jito Bundles
Jito Bundles by Quicknode
If you have any questions more specific, please ask away
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
solana-program × 1719anchor × 503
web3.js × 361
rust × 246
spl-token × 155
solana-cli × 125
anchor-lang × 124
transactions × 84
pda × 75
account × 57
metaplex × 55
nft × 49
solana-wallet-adapter × 49
spl-token-program × 48
raydium × 47
solana-sdk × 44
token × 43
program × 43
solana-test-validator × 43
anchor-test × 42
python × 35
deploy × 35
anchor-spl × 34
anchor-client × 33
cpi × 33