Skip to main content

New answers tagged

0 votes

run across an verify interesting account on browser, how to the holder spend it?

Yes, The account you’re looking at is an off-curve Program Derived Address (PDA). PDAs are special accounts that don't have private keys and are instead generated programmatically using ...
kryp2wiz's user avatar
0 votes

Existed account is not shown on explorer

If the balance of associated account is zero, then it will be closed. So in the explorer, this account will be closed due to balance. When you are going to recreate, please check both mint address and ...
pizzza1bit's user avatar
0 votes

Existed account is not shown on explorer

Just add Minimum Rent balance and you should be able to start using the account. Minimum Rent in SOL: 0.00203928 atm
Metasal's user avatar
  • 438
1 vote

Token swap using Javascript / NODE with Raydium V4

The error "InstructionFallbackNotFound" means we need to properly serialise the instruction data for the Anchor program. Do you have the IDL? If yes, use that to help you. If not - here is ...
Metasal's user avatar
  • 438
0 votes

Wallets transformed into token accounts and drained

This thing is true, it happened with my account. Here is the transaction details. https://solscan.io/tx/5a4KXU6oJngy5kNW1qppjLEvR9Sc5yXmTRiCnXbADRdD9dj1pAFMjwcwSVvoM9j8WDvMGkbYWb4pMwnYxYkok4qA At ...
md rashedul islam's user avatar
1 vote
Accepted

Can I burn SPL Tokens that are sent from a user to a Solana Program?

Here is a simple snippet to achieve this #[program] pub mod anchor_basics_spl { use super::*; pub fn burn_spl_tokens(ctx: Context<BurnSPLToken>, amount: u64) -> Result<()> { ...
Jimii's user avatar
  • 7,672
2 votes
Accepted

Buy using TokenAccount with init errors on second call with "Provided owner is not allowed"

In anchor, when you are creating an account with init burt you are not sure if it already exists (like in the second buy, or for any associated token account) it's better to use init_if_needed. It ...
Kox's user avatar
  • 36

Top 50 recent answers are included