Skip to content

Latest commit

 

History

History

light-client-cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

light-client-cli (ethlc)

This crate provides a toy cli application for light client.

Build

$ cargo build --bin ethlc

Getting Started

The following instruction is an example that uses mainnet:

Initialize Light Client store

$ ethlc --network=mainnet --beacon_endpoint=https://lodestar-mainnet.chainsafe.io init

Update Light Client store (one-shot)

$ ethlc --network=mainnet --beacon_endpoint=https://lodestar-mainnet.chainsafe.io update

Update Light Client store (forever until killing the process)

$ ethlc --network=mainnet --beacon_endpoint=https://lodestar-mainnet.chainsafe.io update --target=infinity