- Pull the repository
- Install dependencies
npm install
The script now expects the input JSON filename as the first argument. By default, use:
intents-and-schemas-to-publish.jsonYou can run one of the following commands based on the targeted chain.
npm run deploy:mainnet:intent
npm run deploy:mainnet:schemaor
npm run deploy:paseoor
npm run deploy:localOr run directly:
node index.mjs intents-and-schemas-to-publish.json PASEO
node index.mjs intents-and-schemas-to-publish.json LOCAL
node index.mjs intents-and-schemas-to-publish.json MAINNET INTENT
node index.mjs intents-and-schemas-to-publish.json MAINNET SCHEMAThe following environment variable allows you to change the default Alice sudo account used for deploying:
DEPLOY_SCHEMA_ACCOUNT_URI="//Alice"e.g.
DEPLOY_SCHEMA_ACCOUNT_URI="//Bob" npm run deploy:paseo