1.0.2 • Published 2 years ago

isekai-core v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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 Avalanche-Testnet

Create a new .env file in the root directory, and put your PRIVATE_KEY and SNOWTRACE_API_KEY in it.

If you do not have SNOWTRACE_API_KEY, go to https://snowtrace.io/myapikey and add one.

PRIVATE_KEY = <Your Private Key>
SNOWTRACE_API_KEY = <Your Snowtrace Api Key>

And then run:

npm run deploy

Generate Flattened Contract

npm run flatten

Run Scripts on Server

pm2 start

Check Scripts Logs on Server

pm2 logs