Skip to main content

New answers tagged

1 vote

Admin endpoints in a program

You can do it like this for example: const ADMIN_PUBKEY: Pubkey = pubkey!("REPLACE_WITH_YOUR_WALLET_PUBKEY"); And then use it like this: #[account( mut, address = ...
Jonas H.'s user avatar
  • 5,787
0 votes

can not deploy, getting weird error

Building program with docker using anchor build --verifiable solved my issue. https://solana.stackexchange.com/a/14952/8864
Appala Naidu's user avatar
1 vote

Got error "account data too small for instruction" when run Anchor deploy?

You'll need to extend your program size. Hopefully you are using a version greater than .18 solana program extend PROGRAM_ID 20000 -u d -k KEYPAIR_FILE_PATH replace PROGRAM_ID and KEYPAIR_FILE_PATH ...
Jimii's user avatar
  • 3,770
0 votes

What happened to this meme coin?

They freeze your token account and you can't sell your tokes. Just don't buy it, if you see chart like this)
nyslxj's user avatar
  • 27
0 votes

can not deploy, getting weird error

This is an Anchor stack error that I also faced a while back. GH issue I raised https://github.com/anza-xyz/agave/issues/1459 As suggested, you'll need to downgrade your solana-program version to 1.18....
Jimii's user avatar
  • 3,770

Top 50 recent answers are included