@plasm/plasm-truffle-plugin

0.0.5 • Public • Published

Plasm Truffle Plugin

This is meant to be used with the Plasm Truffle box: https://github.com/staketechnologies/plasm-box.git

The plugin is used to get you started with a local standalone Moonbeam node quickly, the following commands are available:

Install

To use plugin, run this command in existing truffle project. Plugins must be included as devDependancies to execute with global command.

npm install --save-dev @plasm/plasm-truffle-plugin

Then setup the plugin in truffle-config.js

module.exports = {
  /* ... rest of truffle-config */

  plugins: [
    "@plasm/plasm-truffle-plugin"
  ]
}

Commands

Install

In this context, installing means downloading the Docker image of the Plasm standalone dev node (requires Docker to be installed).

truffle run plasm install

Start

Start the standalone Plasm dev node.

truffle run plasm start

Stop

Stop the standalone Plasm dev node. This will remove the container, thus purging the chain.

truffle run plasm stop

Pause

Pause the standalone Plasm dev node.

truffle run plasm pause

Unpause

Unpause the standalone Plasm dev node.

truffle run plasm unpause

Status

Shows the status of the standalone Plasm dev node.

truffle run plasm status

Contact Us

We welcome any feedback, so feel free to reach out through our official Discord Channel.

Credits

This repo extends from a fork of moonbeam_truffle_plugin.

/@plasm/plasm-truffle-plugin/

    Package Sidebar

    Install

    npm i @plasm/plasm-truffle-plugin

    Weekly Downloads

    7

    Version

    0.0.5

    License

    Apache-2.0

    Unpacked Size

    19.9 kB

    Total Files

    13

    Last publish

    Collaborators

    • hskang9
    • y-shijo
    • hoonsubin
    • t8m8
    • taskooh
    • public_sate