DeveloperBreeze

Solidity Programming Tutorials, Guides & Best Practices

Explore 7+ expertly crafted solidity tutorials, components, and code examples. Stay productive and build faster with proven implementation strategies and design patterns from DeveloperBreeze.

Writing an ERC-20 Token Contract with OpenZeppelin

Tutorial August 22, 2024
solidity

     require("@nomiclabs/hardhat-waffle");
     require("@nomiclabs/hardhat-etherscan");

     module.exports = {
         solidity: "0.8.0",
         networks: {
             ropsten: {
                 url: "https://ropsten.infura.io/v3/YOUR_INFURA_PROJECT_ID",
                 accounts: [`0x${YOUR_PRIVATE_KEY}`]
             }
         },
         etherscan: {
             apiKey: "YOUR_ETHERSCAN_API_KEY"
         }
     };
   npx hardhat verify --network ropsten YOUR_DEPLOYED_CONTRACT_ADDRESS "MyToken" "MTK" "1000000000000000000000000"