- Before deploying the contracts make sure your database is updated by running the migrate command:
$ npm run migrate
- Then execute the command below, replacing
[PRIVATE_KEY]
with your test wallet private key, to deploy the contracts and save them in the database:
$ node ./scripts/deploy-multichain -n amoy-local -k [PRIVATE_KEY] -e .env -d