"Hello, World!" smart contract for Ethereum.
- CLHelloWorld.sol - the most basic smart contract with a single state variable
- NFT.sol - the most basic NFT from this opensea tutorial
- NFTMeta.sol - basic NFT with JSON meta-data from this opensea tutorial
npm init --yes
yarn add -D hardhat
npx hardhat
(choose empty project and create contracts and scripts folders)yarn add @nomiclabs/hardhat-ethers
for deploy and interact scriptsyarn add -D @nomiclabs/hardhat-etherscan
for etherscan integration
yarn compile
yarn deploy
- update .env with the returned
CONTRACT_ADDRESS
to point to this contract
npx hardhat verify $CONTRACT_ADDRESS ctor_args