Skip to main content

New answers tagged

0 votes

Error When Creating SPL Token Account: Incorrect Program ID for Instruction Body:

I faced the same error and while I was searching for a solution, I found your question. It was the exact same problem I had. Thankfully, I found the solution. I was following a tutorial here When I ...
Martins Ngene's user avatar
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
1 vote

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,435
0 votes

How to phantom wallet warning sign when interacting with the smart contract

The alert that you see is coming from Blowfish. I know it's not perfect, but to get this resolved you should write an email to [email protected] telling them about the project and the fact you want ...
LEO's user avatar
  • 114
1 vote

Rate limit of Solana Airdrop on devnet

Abdullah's answer is excellent, but I wanted to add: If you're airdropping on devnet automatically (eg in a unit test or another script that is ran frequently) I'd suggest airdropIfRequired from the @...
mikemaccana's user avatar
  • 2,091
1 vote

Anchor Test has Transaction simulation failed: Error processing Instruction 0: custom program error: 0x0

I would recommend using SolanaProgramTest to test Solana programs. If you're using devnet, you'll have to redeploy under a different address or change the seeds between each initialization of an ...
frank's user avatar
  • 11
2 votes

Anchor Test has Transaction simulation failed: Error processing Instruction 0: custom program error: 0x0

This is an expected behaviour. At least based on the code you provided. The test says If PDA Account already created, then we expect an error. The error you receive is 0x0 'Allocate: account Address { ...
chalda's user avatar
  • 1,207

Top 50 recent answers are included