Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

sector-3/protocol

Repository files navigation

Sector#3 Protocol

Sector#3 smart contracts

Milestones

https://github.com/sector-3/protocol/milestones

Contributions

After you make contributions to this repo, report them in the Sector#3 dApp: Protocol Development πŸ‘·β€β™€οΈ

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

codecov

npx hardhat coverage
open coverage/index.html

Check if coverage threshold has been met:

npx istanbul check-coverage --lines 90

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 Sepolia test network:

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

Verify a contract on Etherscan:

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

Deployments

Governance

Protocol V1

Token

About

Sector#3 smart contracts

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /