jarry-xiao / candyland

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

[Bubblegum] Add mint requests #156

Closed ngundotra closed 2 years ago

ngundotra commented 2 years ago

Using bubblegum trees is costly, because each program has to allocate its own tree in order to mint to it.

In order to reduce the overhead cost, we can allow any publicKey to request minting capacity on the tree. Once approved, the request is used to verify the mintAuthority on each mint instruction.

In this scenario, we have still preserved the tree's creator (or subsequent delegate) ability to mint without request.

In progress: