Skip to main content

New answers tagged

0 votes

Not seeing transfer fee / tax in solscan devnet

You can try out token creator tool for spl-22 standard(mainnet/devnet both supported) on https://app.hypersol.xyz . Those provides token creation as well as metadata management/ authority management ...
ashish0411's user avatar
0 votes

Why my transaction fail?

the InvalidAccountData means that you are passing in an account that is different from what was expected. In your case, 11111111111111111111111111111111 is the SystemProgram, while the ...
Jimii's user avatar
  • 3,120
1 vote
Accepted

Why the pump.fun sell transaction doesn't have a system transfer instruction to transfer sol from the bonding curve back to the user?

The withdrawal must be happening from a program-owned account. As such this isn't a traditional transfer IX that's being called but the authority of an account manipulating its lamport balance. Check ...
Jimii's user avatar
  • 3,120
3 votes
Accepted

Anchor CPI invalid program argument

If the program owns the PDA account a simple way to make the transfer is pda.sub_lamports(100)?; ctx.accounts.receiver.add_lamports(params100)?;
Jimii's user avatar
  • 3,120
0 votes

Solana coin locked in my phantom wallet. I cannot send to another address

Go to de bridge and connect the pantom wallet first. and put a different address in a different network chain. you can easily transfer the equivalent tokens to the other wallet address.
Crypto MahiBoy's user avatar
3 votes
Accepted

Transfer specific token to and from a known account

This looks okay, What I would add is checking whether the holding account to_ata is initialized, If it's not you could use anchor associated_token constraints #[derive(Accounts)] pub struct ...
Jimii's user avatar
  • 3,120

Top 50 recent answers are included