@leverj/chain-deployment v5.0.7
Chain Deployment
- configure the deployed project/package with the minimal configuration looking like here.
- create a
.envfile in the deployed project/package root, overriding config values like here. - create an
AUTH_DIRto contain per-NODE_ENV(i.e. test, ..., livenet) directories - for each
NODE_ENVcreate asecrets.jsonfile in the respective directory, containing config values like here - create a
deployscript similar to this, to be executed via:$> NODE_ENV=<env> yarn deploy - the resulting deployment artifacts will reside under the configured
<deploymentDir>/directory
Generating javascript source for contracts interaction
to support interaction with deployed contract, you can generate a correponding source files like so:
- create a
generate-contract-exportsscript such as this, to be executed via:$> yarn generate-contract-exports - the resulting javascript files will reside under the
<deployed-project-root>/src/contracts/directory
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago