ethst_v3
v1.0.0
Published
``` npm i ```
Downloads
3
Readme
Install Dependencies
npm i
Build Contracts and Generate Typechain Typeings
npm run build
Run Contract Tests
npm run test
Run Coverage Report for Tests
npm run coverage
Deploy 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 deploy
Generate Flattened Contract
npm run flatten
Run Cronjobs on Server
Needs PRIVATE_KEY in .env
file.
pm2 start
Check Cronjobs Logs on Server
pm2 logs
Store NFT Data on IPFS
Needs NFT_STORAGE_API_KEY and PRIVATE_KEY in .env
file.
If you do not have NFT_STORAGE_API_KEY, go to https://nft.storage/
and add one.
npm run store