🏗 A CLI to setup and manage Matic validator nodes
npm install -g @maticnetwork/matic-cliPlease 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 localnetCheck commands
matic-cliTo setup local testnet
This will setup Heimdall and Bor.
matic-cli setup localnetTo setup Heimdall
matic-cli setup heimdallTo setup Bor
matic-cli setup borTo generate genesis file
matic-cli setup genesisTo setup multi-node devnet
matic-cli setup devnetMIT