Lodestar libraries
The Lodestar project is divided into Typescript packages that can be used independently of the CLI. These packages span the breadth of the Ethereum Consensus layer, and are perfect for Typescript developers looking to build around Ethereum.
Monorepo libraries
Several useful Ethereum consensus libraries are developed as part of the Lodestar monorepo and may be useful when used individually.
params
- Ethereum consensus constants and fork namestypes
- Ethereum consensus types, Typescript interfaces and SSZ type objectsconfig
- Ethereum consensus run-time network configurationapi
- Ethereum consensus REST API clientflare
- Beacon chain multi-purpose and debugging toollight-client
- Ethereum light clientprover
- A set of tools allowing to verify EL client JSON-RPC calls
Other libraries
BLS Utilities
bls
- Ethereum Consensus BLS sign / verify / aggregatebls-keystore
- store / retrieve a BLS secret key from an EIP-2335 JSON keystorebls-keygen
- utility functions to generate BLS secret keys, following EIP-2333 and EIP-2334bls-hd-key
- low level EIP-2333 and EIP-2334 functionality
Hashing
ssz
- Simple Serialize (SSZ)persistent-merkle-tree
- binary merkle tree implemented as a persistent data structureas-sha256
- Small AssemblyScript implementation of SHA256
Networking
discv5
- Discv5 protocoljs-libp2p-gossipsub
- Gossipsub protocol forjs-libp2p
js-libp2p-noise
- Noise handshake forjs-libp2p