Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 84
2 votes

How to give authority of PDA to another program

You certainly can! The associated-token-account program is a great and simple example showing this. A person's associated-token-account is a PDA on the associated-token-account program: Pubkey::fi …
Jon C's user avatar
  • 19.6k
1 vote

Why are some core programs on Solana mutable?

The upgrade authority owns everything on a program, so it's the most sensitive authority. …
Jon C's user avatar
  • 19.6k
2 votes

Walllet is "locked". Can't pay transaction fees to close/update program

So for example, to close a buffer, you can do: solana --keypair <FEE_PAYER_KEYPAIR> program close <BUFFER_ID> --authority <CURRENT_UPGRADE_AUTHORITY_KEYPAIR> …
Jon C's user avatar
  • 19.6k
1 vote

Any way to migrate a legacy "tokenlist" token to use Metaplex Fungible Token Metadata if the...

The Metaplex Token Metadata program requires a signature from the mint authority. …
Jon C's user avatar
  • 19.6k
0 votes

Solana SPL-22 token fee not claimable

Using the spl-token CLI, you can simply run: $ spl-token withdraw-withheld-tokens \ --withdraw-withheld-authority <KEYPAIR_FOR_ATVQAW91oDJCrLQAMvyGzhYzrTrkZidiyW7PcLUGbuB9> 73NvJWT7RbunzNjXyPHLigGTPUkKWequykjVUc2u3ewJ …
Jon C's user avatar
  • 19.6k
2 votes

Token-2022 extension enforcing immutable owner

Reassigning the owner of an ATA is antipattern -- many dapps just assume that a wallet's account for a token is the ATA, without checking that the owner is valid, so you could trick a dapp into using …
Jon C's user avatar
  • 19.6k
0 votes

Is possible to find all SPL Tokens or NFTs Collections where an solana address is the Mint o...

[ // Filter by mint authority RpcFilterType::Memcmp(Memcmp::new_base58_encoded(4, &pubkey_to_search)), // Filter by size 82, which is the size of an SPL token mint RpcFilterType …
Jon C's user avatar
  • 19.6k