Skip to content

MCN-Ventures/mcn-farming-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cover-rewards

Contracts for Cover Protocol bonus tokens rewards

Audits

Development

  • run npm install to install all node dependencies
  • run npx hardhat compile to compile

Run Test With hardhat EVM (as an independent node)

  • Run npx hardhat node to setup a local blockchain emulator in one terminal.
  • npx hardhat test --network localhost run tests in a new terminal. npx hardhat node restart required after full test run. As the blockchain timestamp has changed.

Deploy to Kovan Testnet

  • Comment out requirement in Constructor of the Migrator
  • Run npx hardhat run scripts/deploy.js --network kovan.
  • Run npx hardhat flatten contracts/BonusRewards.sol > flat.sol will flatten all contracts into one
  • BonusRewards npx hardhat verify --network kovan 0xb5BBf98F7e3A83bAa0D088599AE634660309b0CC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published