Skip to content

staketechnologies/plasm_truffle_plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Plasm truffle plugin for interacting with Dusty node.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%