commonprefix / commonprefix/kevlar

Add support for light client API specified by the Ethereum specification

Open
#5 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
265
Forks
26
PR merge metrics
No merged PRs in 30d

Description

When we started building Kevlar the Light Client API to fetch Sync Protocol information was not specified. But the Lodestar client already had some custom endpoints for Light Clients which were not a part of the Ethereum specification, hence we decided to use them instead of waiting for the Ethereum specification to get finalised.

@etan-status pointed me to the finalised API specification for Light Clients. We should add support for both Libp2p API and REST API.
**P2P Interface:** https://github.com/ethereum/consensus-specs/blob/dev/specs/altair/light-client/p2p-interface.md
**REST API:** https://github.com/ethereum/beacon-APIs/pull/247

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked Ethereum Libp2p and REST API specifications, then compare them with Kevlar's existing custom Light Client endpoints from Lodestar. Done means supporting both specified interfaces for fetching Sync Protocol information, with behavior aligned to the finalized specifications.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.