Skip to content

hongqi1422/launchpad_solidity

Repository files navigation

Developement instructions

  • $ yarn install - Install all dependencies

  • $ echo PK="PRIVATE_KEY" > .env - Add testing private key

  • $ npx hardhat compile - Compile all contracts

  • $ npx hardhat test - Run all tests

  • Migrations are inside scripts/ folder.

  • Tests are inside test/ folder.

node 版本:v18.19.1

部署流程

  1. npx hardhat run --network local scripts/deployment/deploy_boba_token.js
  2. npx hardhat run --network local scripts/deployment/deploy_c2n_token.js
  3. npx hardhat run --network local scripts/deployment/deploy_mock_token.js
  4. npx hardhat run --network local scripts/deployment/deploy_singletons.js
  5. 设置saleConfig
  6. npx hardhat run --network local scripts/deployment/deploy_sales.js

About

solidity实现质押挖矿

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published