All Questions

Tagged with
Filter by
Sorted by
Tagged with
6 votes
1 answer
79 views

How can I freeze NFT in user wallet

There are a few instructions in Metaplex which would allow a delegate to freeze an NFT in user wallet, so I though it would be possible to stake user NFTs by freezing them in their wallets, so that I ...
1 vote
1 answer
22 views

Why does CandyMachine use `cmp_pubkeys` function and not an `Eq` trait?

CandyMachine program has this function, which is used extensively in the program code: pub fn cmp_pubkeys(a: &Pubkey, b: &Pubkey) -> bool { sol_memcmp(a.as_ref(), b.as_ref(), ...