yarn install
yarn run dev
truffle migrate --network rinkeby
Add your secret mnemonic to a .secret file in the root directory.
Note: After the contract is deployed please update the smart contract address in src/main.ts file
- Choose metamask wallet address (make sure this adress has already minted the tokenID in the contract)
- Enter token ID
- Press "create voucher" button to create the voucher
- Choose metamask wallet address from which you want to claim the NFT drop
- Enter the tokenID (of the same token for which the voucher was created)
- Press "Reddem an NFT" button to claim the NFT
npm run test
Check metamask transaction confirmation inorder to verify the transfer on chain.