Lagrange-Labs / lsc-client-cli

Other
13 stars 5 forks source link

LSC Client CLI

This CLI app provides functionalities such as key management, operator registration, chain subscription, monitoring configuration and automated docker deployment which are necessary to run the LSC Attestation Node.

Lagrange State Committees

For a full breakdown of the Lagrange State Committee architecture, please refer to the below two documents:

  1. Lagrange Technical Overview Docs
  2. Lagrange State Committee Deep Dive

Installing CLI from source

To begin with, install Go programming language following the steps mentioned in the docs.

git clone https://github.com/Lagrange-Labs/lsc-client-cli.git
export CGO_CFLAGS="-O -D__BLST_PORTABLE__"
export CGO_CFLAGS_ALLOW="-O -D__BLST_PORTABLE__"
cd client-cli
mkdir -p dist
go build -o ./dist cmd/main.go

or

cd client-cli
sudo apt install make gcc
make build

Running a LSC Attestation Node

Please refer to the detailed documentation.

Commands

The below commands will allow a developer to run a node and attest to the state of supported chains.

Post Deployment

If you face any issues while running the LSC Attestation Node, please reach out to the Lagrange Labs team on Discord.