This project contains two contracts for lootboxes:
- nft-collection-lootbox
- multi-nft-lootbox
Allows to create a special NFT collection with predefined chances to drop items. NFT items won't be unique in this case
- Behaves and looks identical to nft collection
- Resulting items are nfts. Code of an NFT Item can be changed
- Not unique NFTS
- Can't lootbox from multiple collections
- NFTs are minted by the owner (can be easily changed)
A special contract that allows to create lootboxes with NFTs from multiple collections. Chances are predifined and later redistributed among remaning NFTS
- NFTS can be combined from multiple NFT collections
- Easy interaction by user. User sends predefined amount of money and receiveds unique NFT
- Heavier on gas