ETH-SONs Configuration & Installation
SONs manual installation process is similar to witness node installation. However, the SONs will perform the assets transfer between Peerplays blockchain and other blockchains, we need to connect to another chain to be of any use. This document features the steps to configure and install Ethereum-SON.
Let's use Ethereum! 😃 🪙
The following steps outline the Manual Installation of a ETH-SON.
Build Peerplays node
Primary Requirements
Installation steps
Peerplays ETH-SON configuration
Start the SON
Before we begin, to set up a SON node requires about 110 PPY. This is to pay for an upgraded account (5 PPY) and to fund two vesting balances (50 PPY each). The remaining funds are to pay for various transaction fees while setting up the node. Please see Obtaining Your First Tokens for more info.
Note that these fees will likely change over time as recommended by the Committee of Advisors.
1. Build Peerplays node
The detailed steps to build the Peerplays node is explained in the below readme file. Click the link to follow the steps.
It covers the initial steps in bringing up the node which includes latest Ubuntu installation and its software dependencies, building Peerplays, building docker images, starting & upgrading a Peerplays node, wallet setup, and finally witness node creation.
2. ETH-SON Operator's Primary requirements
A Peerplays account to act as the SON operator.
An Ethereum account to join the ETH SON multisig on the ETH chain. The account can be created using Metamask, wallet, etc.,
An accessible Ethereum API node to communicate with the Ethereum network.
3. Installation steps
The SON node installation steps are explained in the below section. Click the link based on your preferences,
4. Peerplays ETH-SON configuration
The generated config.ini
file will be located at /home/ubuntu/witness_node_data_dir/config.ini
. We'll begin by editing this config file.
The config file is large and only the required section is focused here. This section contains all the SON related configuration. Ensure the following config settings are in the config.ini
file under the peerplays_sidechain plugin options.
Make sure to add peerplays_sidechain
plugin along with existing plugins in config.ini
file. Find the plugins
option in the initial section of the config.ini
file and add the peerplays_sidechain
plugin to the list as shown below
In order to enable Ethereum sidechain, replace 0 by 1 in the below command.
By default, the value is "0" in the config.ini file.
5. Start the SON
After setting up the config.ini
file for SON operation, we'll start the node back up.
SON node is UP and it's time to play around !
6. What's Next?
6.1. Auto-starting your node
Up until this point we have been running the node in the foreground which is fragile and inconvenient. So let's start the node as a service when the system boots up instead.
Auto-Starting a Node6.2. Creating a backup node
After that, it would be smart to create a backup server to enable you to make software updates, troubleshoot issues with the node, and otherwise take your node offline without causing service outages.
Backup Servers6.3. Fire up another node 🔥
Now you have a SON, but have you thought about becoming a Witness? It will be a piece of cake for you since you've already set up a SON.
Witnesses6.4. Enable SSL to encrypt your node traffic
If you have a node that is accessible from the internet (for example, an API or Seed node) it would be wise to enable SSL connections to your node.
Reverse Proxy for Enabling SSL7. Glossary
SON: Sidechain Operator Node - An independent server operator which facilitates the transfer of off-chain assets (like Bitcoin or Ethereum tokens) between the Peerplays chain and the asset's native chain.
Witness: An independent server operator which validates network transactions.
Witness Node: Nodes with a closed RPC port. They don't allow external connections. Instead these nodes focus on processing transactions into blocks.
Ethereum: Ethereum is a decentralized blockchain with smart contract functionality. Ether is the native cryptocurrency of the platform.
Last updated