mentalabsio / breeding

Generate new NFTs from two
https://breeding-ui.vercel.app
0 stars 0 forks source link

`reward_supply` should correspond to the reward's candy machine's `items_available` field #4

Open lucasig11 opened 2 years ago

lucasig11 commented 2 years ago

Currently the value has no invariant and it determines the supply for the whitelist token.

https://github.com/magicshards/breeding-program/blob/cbac8c39ed7c47a0f40b0dca2eb9f565b7f5fde9/programs/breed-program/src/lib.rs#L185

CandyMachineData documentation

lucasig11 commented 2 years ago

can only be done by the program once this is merged and released

https://github.com/metaplex-foundation/metaplex-program-library/pull/398