🏗 A CLI to setup and manage Matic validator nodes
npm install -g @maticnetwork/matic-cli
Please make sure you have installed following dependencies:
- Git
- Node/npm v10.17.0 (or higher)
- Go 1.13+
- Rabbitmq (Latest stable version)
- Solc v0.5.11 (https://solidity.readthedocs.io/en/v0.5.3/installing-solidity.html#binary-packages)
- Ganache CLI (https://www.npmjs.com/package/ganache-cli)
Create new directory for the setup:
$ mkdir localnet
$ cd localnet
Check commands
matic-cli
To setup local testnet
This will setup Heimdall and Bor.
matic-cli setup localnet
To setup Heimdall
matic-cli setup heimdall
To setup Bor
matic-cli setup bor
To generate genesis file
matic-cli setup genesis
To setup multi-node devnet
matic-cli setup devnet
MIT