Pin the npm version for compilling
npm -g -i npm@8.5.5
Create .env
to include deployer && api kess
mv .env.example .env
Setup MNEMONIC && ETHERSCAN_KEY
wherein, MNEMONIC is configured for deployer key (in mnemonic
), ETHERSCAN_KEY configured for bsc-scan api key
- To install required node.js modules
npm ci:clean
- To compile the solidity source code
npm run compile
- To run test
npm run test
- To deploy the smart contract on bsc testnet
npm run bsc-test:deployment
- To deploy the smart contract on bsc mainnet
npm run bsc:deployment
- To open console on testnet
npm run --network bsc-test console
- To open console on mainnet
npm run --network bsc console
- To deploy the single nft contract
npm run bsc:deploy-nft
TBD