Script to distribute POAP ERC-1155 NFTs on Opensea for a list of wallets, executing directly the smart-contract.
- nodejs 12
$ yarn install
- Rename .env-sample to .env
- Rename wallets.csv-sample do wallets.csv
- Create a new mnemonic and wallet and update .env
- Update INFURA_KEY with yous own Infura account credentials
- Update Network with Infura network
- API_KEY is optional opensea api key
- Create a mnemonic and wallet (OWNER_ADDRESS), and update .env. Hint: create a new account on metamask and use those credentials.
- Publish your opensea nft
- Update .env with smart-contract address and token id
- Fill wallets.csv with wallets
- Run: $ node transfer-nft-web3.js
Remember to have coins on your wallet to pay for gas. The OWNER_ADDRESS (wallet) must be the owner of the nft(s).
- Interface web for submitting smart-contract, token id and wallets.csv