To install the Go package:
go mod tidy
You can operate as either a Router or LP. Alternatively, you might choose to run a HALO Node, which only retrieves halo transactions and computes the current state.
The EVM private key refers to an Ethereum account private key. When operating as a Router, it's utilized to sign router transactions that are submitted to Everpay or Arweave. In contrast, when running a HALO Node, it's not required; simply use a test account private key.
- Stake a minimum of 80,000 HALO test tokens.
- Prepare the router configuration file:
cd cmd/router
Edit the example.toml configuration file to suit your needs.
- compile router
go build
- start a router
./router --config example.toml
For documentation, refer to this guide this guide
cd cmd/halo
cp run_example.sh run.sh
Update the run.sh script with your MySQL DSN, EVM private key, and Genesis transaction.
source run.sh
Genesis tx 0x91be83007f1b642d328ab01a7759f38b75f89a61079a998c0fce834fc36f7b91