@leverj/chain-deployment v5.0.7
Chain Deployment
- configure the deployed project/package with the minimal configuration looking like here.
- create a
.env
file in the deployed project/package root, overriding config values like here. - create an
AUTH_DIR
to contain per-NODE_ENV
(i.e. test, ..., livenet) directories - for each
NODE_ENV
create asecrets.json
file in the respective directory, containing config values like here - create a
deploy
script 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-exports
script 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
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
12 months 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
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