Pack ethereum network db and unpack it
Last updated a year ago by alesanro .
AGPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @laborx/command-network-archiver-plugin 
SYNC missed versions from official npm registry.

Ethereum network state archiver/unarchiver

Provides ability to save/load network state into/from archive and preserve/restore it from some point. Could be useful to iterate through releases and updated migrations.


npm install --save-dev @truffle-types/network-archiver

yarn add -D @truffle-types/network-archiver


You can use it directly from installed package or use npx to actually run it without installation.

First of all you need to create config file eth-migrations-config.js. Example of config file could be found in package's examples/eth-migrations-config.js.

Save state

npx --package @truffle-types/network-archiver network-archiver save

Optionally --commit flag could be provided to automatically commit made changes.

Unpack state

npx --package @truffle-types/network-archiver network-archiver unpack

Update migrations dir

npx --package @truffle-types/network-archiver network-archiver cdir --migrationsDir=./next-migrations-dir

Current Tags

  • 0.1.7                                ...           latest (a year ago)

3 Versions

  • 0.1.7                                ...           a year ago
  • 0.1.6                                ...           a year ago
  • 0.1.5                                ...           a year ago
Today 0
This Week 3
This Month 3
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dev Dependencies (4)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |