@laborx/command-network-archiver-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

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.

Install

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

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

Usage

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

Readme

Keywords

none

Package Sidebar

Install

npm i @laborx/command-network-archiver-plugin

Weekly Downloads

3

Version

0.1.7

License

AGPL-3.0

Unpacked Size

51.6 kB

Total Files

20

Last publish

Collaborators

  • be1box
  • ozalexo
  • mike.chronobank
  • aliaksei.hiatsevich
  • alesanro