Skip to main content

New answers tagged

2 votes

Freeze Authority ? It says my account is frozen

This sounds like your token account has been frozen. Unless you are/have access to the freeze authority, there's nothing you can do
Jimii's user avatar
  • 3,270
0 votes

How to close account?

Even with a lot of people saying that just by zeroing your account it gets closed in my case the accounts stay open. I was only able to close the accounts and retrieve the rent back by using websites ...
arexx colauto's user avatar
0 votes

Pay for PDA by a centralized wallet

I ended up sorting out my problem. First, I read the documentation located here https://solana.com/docs/core/pda (FTFM) LOL. Anyways, this code is working to create a PDA and allow another wallet to ...
Christopher Nolan Buckley's user avatar
0 votes

Pay for PDA by a centralized wallet

Could you change the PDA derivation to [deadcasterAddress, bump] = PublicKey.findProgramAddressSync( [Buffer.from('dead_caster'), newAccount.publicKey.toBuffer()], program....
Jimii's user avatar
  • 3,270
1 vote

"failed: An account required by the instruction is missing" transfer within contract

The error you are encountering means you are trying to you are trying to transfer to an account you haven't specified on your client side. Double-check to make sure that the user_pda and user_account ...
Jimii's user avatar
  • 3,270
3 votes

change stake account withdraw auth where the auth is the account address it self

I believe there is no way to change the account into ownership of the "owner" when the withdraw authority keypair is lost (or does not exist). It's the withdrawer who has got all permissions ...
chalda's user avatar
  • 1,162
4 votes
Accepted

Account creation on Solana

yes The system program is the default owner of the account however the program id used to find that PDA still has signing authority for that PDA
Mitch's user avatar
  • 316
1 vote
Accepted

Avoid unnecessary account generation

I think there are multiple approaches how to manage your code. I can put some that're coming to my mind. Having two accounts and using the Anchor init_if_needed (https://www.anchor-lang.com/docs/...
chalda's user avatar
  • 1,162

Top 50 recent answers are included