jarry-xiao / candyland

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

Upsert #114

Closed austbot closed 2 years ago

austbot commented 2 years ago

Upsert, atomicity, multiple nonce accounts, and fully implemented schema

austbot commented 2 years ago

I need to merge all the recent changes then ill start hacking away at bubble gum to make it really work with nfts as they exist today

jarry-xiao commented 2 years ago

TS Indexer is currently broken. We should merge as soon as that's fixed

jarry-xiao commented 2 years ago

Not in this PR, but a note about Transfer and Burn. I think to make the IDL a little friendlier, it might make sense to create separate TransferWithDelegate and BurnWithDelegate instructions because Anchor doesn't let you autogenerate optional signer fields. This separation allows us to have very explicit use cases for each instruction and we can say that owner MUST sign for Transfer and Burn and delegate MUST sign for the new ixs.