Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

v1.0.1

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Jan 17:10
· 189 commits to main since this release

LUKSO CLI

⚠️ This page may change. Not everything is ready yet.

Repository struct

  • ./cmd/lukso-cli is currently used to store GO source files for this cli
  • ./test contains all test configs used to test this script with the results stored in ./test/logs and example Linux binary under ./test/bin directory

Glossary

archive node - it's a setup of geth, beacon-chain and eth2stats-client binaries

validator node - it's a setup of geth, beacon-chain, eth2stats-client and validator binaries

newtowrk-lukso-cli is default name of cli binary (As a postfix it contains OS data like: network-lukso-cli-v1.0.0-linux-amd64 - not included in this README commands below!)

Running

Archive node

  1. Run ./network-lukso-cli --node-name <YOUR_NODE_NAME> start arch to start an archive node

Validator node

  1. Create CL-Validator-wallet directory in project root

  2. Insert all pre-generated prysm wallet files into CL-Validator-wallet directory:

./CL-Validator-wallet
├── direct
│   └── accounts
│       └── all-accounts.keystore.json
└── keymanageropts.json
  1. Create password.txt text file in project root and fill with proper prysm wallet password.

  2. Run ./network-lukso-cli --node-name <YOUR_NODE_NAME> start all to start a validator node

External IPv4

  • for geth flag is --el-nat extip:<YOUR_IP_ADDRESS>
  • for prysm flag is --cl-p2p-host <YOUR_IP_ADDRESS>

Example use: ./network-lukso-cli --node-name <YOUR_NODE_NAME> --el-nat extip:<YOUR_IP_ADDRESS> --cl-p2p-host <YOUR_IP_ADDRESS> start all

Stopping node

Run ./network-lukso-cli stop to stop an archive or validator node