Skip to main content
4 votes

Observing a contract's behavior and withdrawing tokens from it

There's a few steps you'll need to take: Check if it's open-source. You may need to do some searching on their website, docs, and github for this. If it is, then your life has just got a whole lot ...
Joey Meere's user avatar
  • 1,425
3 votes

Why we cannot enable transferfee config or enable metadata after minting on token 2022?

Most mint extensions cannot be added after the mint is initialized because they fundamentally alter how the token operates. If people are already using a token, and all of a sudden the mint creator ...
Jon C's user avatar
  • 15.9k
2 votes

({"err":{"InstructionError":[2,"PrivilegeEscalation"]}})

Try this in withdraw_tokens function:- let bump = &[ctx.bumps.pda_signer]; let binding = ctx.accounts.mint.key(); let signer_seeds = &[&[b"sale", binding.as_ref(), ...
Aditya's user avatar
  • 157
1 vote

SNS - Retrieve all Domains+Subdomains of an User

This is correct in all cases -- domains also have the owner written after 32 bytes. Here's the only data used for SNS accounts: https://github.com/solana-labs/solana-program-library/blob/...
Jon C's user avatar
  • 15.9k

Only top scored, non community-wiki answers of a minimum length are eligible