ogadwintara / token-presale-airdrop-pool

Token, presale Airdrop and Pool smart contracts example written in Solidity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Token, Presale, Airdrop and Pool - smart contracts and website

Installation:

  1. Edit .secret and put there a wallet mnemonic phrase (24 words) - you need to have some gas on it
  2. Register on polygonscan.com, bscscan.com and create a new API keys
  3. Edit .apikey_* files and add your api keys on the first line of each file (* means block explorer name, e.g.: polygonscan, bscscan ...)
  4. Edit ./scripts/deploy.js and set variables
  5. edit ./web/build.sh and set a different web root where you'd like to deploy your web page
  6. Install dependencies and run deploy script:
yarn install
./deploy.sh

Unit tests:

You can run unit tests using:

npx hardhat clean
npx hardhat compile
npx hardhat test

Used dependencies:

  • Hardhat
  • Solidity
  • Node v16.x (do not use 17.x!)
  • NPM
  • Yarn

License:

This software is open source released under Unlicense

About

Token, presale Airdrop and Pool smart contracts example written in Solidity

License:The Unlicense


Languages

Language:TypeScript 38.0%Language:JavaScript 30.0%Language:Solidity 27.6%Language:Shell 4.5%