Install everdev
and tonos-cli
:
Everdev must be installed globally.
npm i -g everdev
everdev tonos-cli install
Troubleshooting: if you get
EACCES permissions errors
error check this article.
Clone the repo and install dependicies:
git clone https://github.com/Multi-Agent-io/dao-ipci-everscale
cd dao-ipci-everscale
npm install
Generate account with following command:
tonos-cli genphrase
Copy locklift.config-example.ts
to locklift.config.ts
and add the generated seed to line 63.
Building contracts:
npx locklift build
To work with local network use Everscale Simple Emulator. To launch and stop it run:
everdev se start
everdev se stop
respectively. To reset the network run
everdev se reset
Test contracts:
npx locklift test --network local
Deploy AssetFactory:
npx locklift run --network local --script scripts/1-deploy-assetFactory.ts
0:05e30bf3eae57adf9f5b6e45d4f55ffbb0dbf6e9b8d7441a67167631ce2675eb
0:22d976b931c4686dc1eba73bf72dfb618bdf869b5bac77c0025af7917a3571db
0:8378231949d0945553926f0fd4798c48bcfb4343bea528b6f6383e6bd1b8e4ba
0:d3a9051e2dfef4ff7effcb4aa42db2a9d8b8415cc2214e53b1a3e0f97195d444
0:e54c6a9817b5c5a24fd3496cbaa0aefa7dc6a59cf8e3f896f5567029626ce459