Skip to content

rectinajh/bibToken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Set up environment

  1. Pin the npm version for compilling

Configure contracts

Locate the constants.ts

  1. Setup admin Find getBIBAdminPerNetwork section and fill address under the specific network
  2. Setup BUSD Find getBUSDTokenPerNetwork section and fill address under the specific network
  3. Setup PancakeSwapRouter Find getSwapRoterPerNetwork section and fill address under the specific network
  4. Setup Ecosystem distribution part Find getEosystemVaultPartPerNetwork section and fill address under the specific network
  5. Setup Team distribution part Find getProjectTeamPartPerNetwork section and fill address under the specific network
  6. Setup Private sale distribution part Find getPrivateSellPartPerNetwork section and fill address under the specific network
  7. Setup Public sale distribution part Find getPulicSellPartPerNetwork section and fill address under the specific network
  8. Setup Liquidity distribution part Find getLiquidtyPartPerNetwork section and fill address under the specific network
  9. Setup Marketting incentive distribution part Find getMarkettingPartPerNetwork section and fill address under the specific network
  10. Setup Incentive distribution part Find getIncentivePartPerNetwork section and fill address under the specific network
  11. Setup Coperation distribution part Find getCoperationPartPerNetwork section and fill address under the specific network

Deploy and debug

  1. Clean internal output
npm ci:clean
  1. Compile source code
npm run compile
  1. To run test (Skip over if not needed)
npm run test
  1. Deploy to network
  • Deploy to test network
npm run bsc-test:deployment
  • Deploy to main network
npm run bsc:deployment
  1. Open console
  • for test net
npm run --network bsc-test console
  • for main net
  1. To open console on mainnet
npm run --network bsc console
  1. Add address to whitelist
  • for test-net
npm run bsc-test:run-exclude
  • for main-net
npm run bsc:run-exclude

About

BIB交易所平台币源码

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 47.3%
  • TypeScript 44.3%
  • JavaScript 8.3%
  • Other 0.1%