1.0.11 • Published 3 years ago
sacredrealm-core v1.0.11
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 Bsc-Testnet
Create a new .env file in the root directory, and put your PRIVATE_KEY and BSCSCAN_API_KEY in it.
If you do not have BSCSCAN_API_KEY, go to https://bscscan.com/myapikey and add one.
PRIVATE_KEY = <Your Private Key>
BSCSCAN_API_KEY = <Your Bscscan Api Key>And then run:
npm run deployGenerate Flattened Contract
npm run flattenRun Scripts on Server
pm2 startCheck Scripts Logs on Server
pm2 logs