Skip to content

NFT Packs is a tool for NFT giveaways. Bundle ERC 721 NFTs as rewards into packs and airdrop them to an audience.

Notifications You must be signed in to change notification settings

thirdweb-dev/nftpacks-contracts

Repository files navigation

NFT Packs: contracts

NFT Packs is a tool for NFT giveaways. Bundle ERC 721 NFTs as rewards into packs and airdrop them to an audience.

On opening a pack, the opener will receive either one of the reward NFTs or an ERC 1155 for participating in the giveaway.

NFT Packs is powered by $PACK Protocol.

Quick Example

You have 10 ERC 721 NFTs you want to giveaway.

You bundle those 10 NFTs into a total of 1000 packs and airdrop them to an audience.

10% of those packs i.e. 10 packs will yield a reward NFT on opening. The rest will yield an ERC 1155 NFT as a proof of participating in the givaway.

Contracts

Rinkeby

Run Locally

Clone the project

  git clone https://github.com/thirdweb-dev/nftpacks-contracts.git

Go to the project directory

  cd nftpacks-contracts

Install dependencies

  yarn install

Create a .env file with .env.example as reference. Then:

Run hardhat tests

  npx hardhat test

Deploy the project to rinkeby

npx hardhat run scripts/deployer/rinkeby.ts --network rinkeby

Authors

About

NFT Packs is a tool for NFT giveaways. Bundle ERC 721 NFTs as rewards into packs and airdrop them to an audience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published