A beta version of the Plasm Truffle Box.
To get started, clone this repository
git clone https://github.com/staketechnologies/plasm_box
Afterwards, install all the dependencies:
npm install
The dependencies installed are the following:
- EthereumJS wallet: a lightweight wallet implementation.
- Minimist: TODO
- Web3 Provider Engine: tool for composing custom Web3 providers.
- Plasm Truffle Plugin: tool to easily create your own standalone Plasm dev node for development (uses Docker).
Plasm Truffle Box is pre-configured with two networks: standalone and TestNet. To deploy in the standalone network please check the Plasm Truffle Pluggin section to install and start your own local node.
truffle migrate --network development
truffle migrate --network testnet
Note: if you have Truffle installed globally, you can replace truffle
for truffle
.
The Plugin is used to get you started with a local standalone Plasm dev node quickly, the following commands are available:
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 the standalone Plasm dev node.
truffle run plasm start
Stop the standalone Plasm dev node. This will remove the container, thus purging the chain.
truffle run plasm stop
Pause the standalone Plasm dev node.
truffle run plasm pause
Unpause the standalone Plasm dev node.
truffle run plasm unpause
Shows the status of the standalone Plasm dev node.
truffle run plasm status
We welcome any feedback, so feel free to reach out through our official Discord Channel.