An open API service indexing awesome lists of open source software.

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.

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.