Uses Hardhat, as recommended in OpenZeppelin's Deploying and interacting guide.
cp .env.example .envand adaptnpx hardhat run scripts/deploy.js --network <rinkeby|mainnet>
[signer] = await ethers.getSigners()
contract = new ethers.Contract(address, abi, signer)
contract.pause()
contact.unpause()- Set
ETHERSCAN_API_KEYin your.envfile - Run
npx hardhat verify --network <rinkeby|mainnet> <contract address> "<TOKEN_NAME>" "<TOKEN_SYMBOL>" "<TOKEN_INITIAL_SUPPLY>" "<TARGET_OWNER>"