Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
32 views

How to reuse the same guard in mpl-candy-machine when minting NFTs

When minting an NFT from candy machine, I want to force users to make multiple payments (so that creators could receive fees from mints). But it seems like reusing the same guards with candy-guard ...
RowanStone's user avatar
8 votes
1 answer
677 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 ...
RowanStone's user avatar
1 vote
1 answer
43 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(), ...
RowanStone's user avatar