@plasm/plasm-truffle-plugin v0.0.5
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-pluginThen 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 installStart
Start the standalone Plasm dev node.
truffle run plasm startStop
Stop the standalone Plasm dev node. This will remove the container, thus purging the chain.
truffle run plasm stopPause
Pause the standalone Plasm dev node.
truffle run plasm pauseUnpause
Unpause the standalone Plasm dev node.
truffle run plasm unpauseStatus
Shows the status of the standalone Plasm dev node.
truffle run plasm statusContact 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.