holaplex / wonka

GNU Affero General Public License v3.0
8 stars 1 forks source link

Add fanout support for NFT membership #21

Open echohtp opened 2 years ago

echohtp commented 2 years ago

Problem

Wallet membership model is too restrictive. Add support for NFT membership model.

Allow creator to choose what model they want

Solution

Add support for MembershipModel.NFT

To achieve this we need a list of NFT mint hashes to which we assign a share to

This list can be user supplied in lieu of args.members as args.nfts

If args.nfts is not supplied we mint NFT's which we ultimately send to the members wallet.

to mint nfts we need