https://github.com/cag/truffle-plugin-networks
Truffle plugin for saving/loading networks info from/to artifacts.
https://github.com/cag/truffle-plugin-networks
Last synced: about 1 year ago
JSON representation
Truffle plugin for saving/loading networks info from/to artifacts.
- Host: GitHub
- URL: https://github.com/cag/truffle-plugin-networks
- Owner: cag
- License: lgpl-3.0
- Created: 2020-09-18T18:30:35.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-10-19T17:59:02.000Z (over 5 years ago)
- Last Synced: 2025-03-12T05:02:34.593Z (over 1 year ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# truffle-plugin-networks
Truffle plugin for saving/loading networks info from/to artifacts.
```sh
npm install --save-dev truffle-plugin-networks
```
To save known networks declared in `truffle-config.js` from artifacts into `networks.json`, use
```sh
truffle run save-networks
```
To load networks from `networks.json` and merge that info with the info present in artifacts, use
```sh
truffle run load-networks
```
May be worthwhile to run `truffle networks --clean` if producing build files.