Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@laborx/command-network-archiver-plugin

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@laborx/command-network-archiver-plugin

Pack ethereum network db and unpack it

latest
npmnpm
Version
0.1.7
Version published
Maintainers
4
Created
Source

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

FAQs

Package last updated on 05 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts