1.4.0 • Published 5 months ago

depl_poa_x64_arm v1.4.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

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:

  • Havingansible 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 named nval 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 the docker (i.e., nval belongs to the docker 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.

1.4.0

5 months ago

1.3.0

5 months ago

1.2.0

6 months ago

1.1.0

6 months ago

1.0.0

6 months ago