depl_poa_x64_arm
v1.4.0
Published
NVAL deployer module for Ethereum PoA network. Support X64 and ARMv7
Downloads
7
Readme
Deployer for Ethereum PoA network on X64 and ARM computers
This deployer can deploy an Ethereum channel running the PoA protocol on computers running X64 and ARMv7 CPU (Raspberry Pi 3B and 4). It handles the creation of accounts and configuring these accounts as sealers in the genesis file of the blockchain channel automatically.
Supported version of Ethereum: v1.10.11
Prerequisites
On the host running this module:
- Having
ansible
installed and ready to use. Installation instruction: https://docs.ansible.com/ansible/latest/getting_started/index.html - Having
nodejs
installed and ready to use - Having
yarn
package manager installed and ready to use - Having
ssh
access to a user namednval
on the computers where blockchain nodes would be deployed - Have
ssh
into each of the computer once
On the computers running blockchain nodes:
- Having
docker
installed - Having a
nval
user which can control thedocker
(i.e.,nval
belongs to thedocker
user group)
Instructions
# Create a folder
mkdir /path/to/directory/
cd /path/to/directory/
# Install package
yarn add depl_poa_x64_arm
# Create blockchain network architecture
# Note down the exp-name that you declare in this step
npx depl_poa_x64_arm -i /path/to/id_rsa create
# Deploy the blockchain network
npx depl_poa_x64_arm -i /path/to/id_rsa deploy exp-name
# Teardown the blockchain network after you are done with it.
npx depl_poa_x64_arm -i /path/to/id_rsa teardown exp-name
Troubleshooting
By default, the tool looks for private key file (id_rsa_nval
) the same folder where you run the npx
command. You can change where it looks for ssh key by providing the --ssh-key-path <string>
option. The provided path must be ABSOLUTE PATH.