/Solidity101

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Solidity 101

Installation

npm install

Update .env file

cp .env.example

Compile

npx hardhat compile

Deploy

npx hardhat run scripts/deploy-HelloWorld.ts --network goerli
npx hardhat run scripts/deploy-UnityERC20.ts --network goerli
npx hardhat run scripts/deploy-UnityERC721.ts --network goerli

Verify

npx hardhat verify --contract contracts/HelloWorld.sol:HelloWorld --network goerli <ADDRESS>
npx hardhat verify --contract contracts/UnityERC20.sol:UnityERC20 --network goerli <ADDRESS>
npx hardhat verify --contract contracts/UnityERC721.sol:UnityERC721 --network goerli <ADDRESS>