1.0.13 • Published 2 years ago
funtopia-core v1.0.13
Install Dependencies
npm iBuild Contracts and Generate Typechain Typeings
npm run buildRun Contract Tests
npm run testRun Coverage Report for Tests
npm run coverageDeploy and Verify to Rinkeby
Create a new .env file in the root directory, and put your PRIVATE_KEY and ETHERSCAN_API_KEY in it.
If you do not have ETHERSCAN_API_KEY, go to https://etherscan.io/myapikey and add one.
PRIVATE_KEY = <Your Private Key>
ETHERSCAN_API_KEY = <Your Etherscan Api Key>And then run:
npm run deployGenerate Flattened Contract
npm run flattenRun Scripts on Server
pm2 startCheck Scripts Logs on Server
pm2 logs