Crowd-Sale Smart Contract which three sale round.
- Presale Round
- Seedsale Round
- Publicsale Round
create .env file in root directory.
API_URL = "https://eth-ropsten.alchemyapi.io/v2/your-api-key"
PRIVATE_KEY = "your-metamask-private-key"
-Get Your API Key
-
Get Your Ropsten Faucet
Clone the project
git clone https://github.com/karangorania/crowd-sale/tree/development
Go to the project directory
cd crowd-sale
Install dependencies
npm install
Compile
npx hardhat compile
Test
npx hardhat test
Deploy
node scripts/deploy.js
Deploy on Ropsten
npx hardhat run scripts/deploy.js --network ropsten
Help
npx hardhat help