/some-sample-contracts

For my own study purposes only

Primary LanguageSolidity

Some sample contracts

Usage

$ yarn install

Compile

Compile the smart contracts with Hardhat:

$ yarn compile

TypeChain

Compile the smart contracts and generate TypeChain bindings:

$ yarn typechain

Lint Solidity

Lint the Solidity code:

$ yarn lint:sol

Lint TypeScript

Lint the TypeScript code:

$ yarn lint:ts

Clean

Delete the smart contract artifacts, the coverage reports and the Hardhat cache:

$ yarn clean

Deploy

Deploy the contracts to Sepolia Network:

$ yarn deploy:sepolia

Verify

Verify the contracts in Sepolia Network:

$ yarn verify:sepolia