jarry-xiao / candyland

Proof of concept program for compressing NFTs
GNU Affero General Public License v3.0
111 stars 13 forks source link

[Bubblegum] Creator Verification #125

Closed ngundotra closed 2 years ago

ngundotra commented 2 years ago

Add instruction that allows creators to sign... ideally in a way that isn't incredibly onerous

ngundotra commented 2 years ago

Setup an additional creator for decompress that allows a PDA to set themselves as the creator (in order to set other creators, now limited to 4 in candy machine)

Also setup a decompress instruction in gumball-machine that uses a PDA of (prefix, gumball-machine acct) to sign for the bubblegum decompress which passes signature to token-metadata

Use seeds like here: https://github.com/metaplex-foundation/metaplex-program-library/blob/428fa8e7dc673d798999719a92b9dec0be249405/candy-machine/program/src/processor/mint.rs#L533

ngundotra commented 2 years ago

Closed by #154