Dash Core Masternode
Masternode setup with Dash Platform services
The purpose of this tutorial is to walk through the steps necessary to set up a masternode with Dash Platform services.
Advanced Topic
Running a masternode on Evonet requires familiarity with Dash Platform services. As with testnet, improper configuration may impact testing so please exercise caution if running a masternode.
Prerequisites
- Access to a Linux VPS (Ubuntu 18.04 LTS recommended) configured with a non-root user (guide)
- Docker (v18.06.0+) and docker-compose (v1.25.0+) installed
- An installation of NodeJS v12+
- A copy of the mn-bootstrap repository
Clone the mn-bootstrap repository
git clone -b master https://github.com/dashevo/mn-bootstrap.git
cd mn-bootstrap
npm install # optional: install CLI dependencies
sudo npm link # optional: link CLI for system-wide execution
Masternode setup
First, obtain 1000 Evonet tDASH and create your protx registration transaction as described here. The Dash Core Full Node tutorial has an example configuration file that can be used to connect to Evonet with Dash Core.
The Dash required for the masternode collateral may be obtained from the Evonet faucet (it may take several requests to get the full amount).
Set config options
Select the evonet config, set the IP address, and the BLS key used in the previous step:
node bin/mn config:default evonet
node bin/mn config:set externalIp <your IP>
node bin/mn config:set core.masternode.operator.privateKey <your BLS private key>
Start/Stop the masternode
node bin/mn start
node bin/mn stop
Full Node with Platform Services
A full node that runs all Platform services can be run by simply selecting the evonet config, setting the config as show below, and starting the node.
bin/mn config:default evonet
bin/mn config:set core.masternode.enable false
bin/mn start
Additional information
More comprehensive details of using the mn-bootstrap tool can be found in the mn-bootstrap README.
Updated about 4 years ago