Install the dependencies.
cd opensea-erc721
npm i
Add these variables in env file.
PUBLIC_ADDRESS = ""
PRIVATE_KEY = ""
ETHERSCAN_KEY = ""
INFURA_PROJECT_ID = ""
Use this command for deploy your contrant on etherscan
Note:
--network name
is required for deployment on required network.
truffle migrate --network mainnet
Use this command to verify yourcontrant on etherscan
Note:
etherscan key
is required for verification on etherscan.
truffle run verify CONTRACTNAME --network mainnet
MIT