Skip to content

CodingshDev/-sector-3-protocol

 
 

Repository files navigation

Sector#3 Protocol

Build

Set environment variables:

cp .env.sample .env

Install dependencies, and compile source code:

npm install
npx hardhat clean
npx hardhat compile

Test

export REPORT_GAS=true
npx hardhat test

Coverage

npx hardhat coverage

Deploy

Start a local node:

npx hardhat node

Deploy a smart contract to the local network:

npx hardhat run --network localhost scripts/deploy-<contract>.ts

Deploy a smart contract to the Goerli test network:

npx hardhat run --network goerli scripts/deploy-<contract>.ts

Verify a contract on Etherscan:

npx hardhat verify --network <network> <contract address> <constructor parameters>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 79.7%
  • Solidity 20.3%