@lodestar/light-client 1.30.0-dev.fa898bb319 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/lightclient.min.mjs +21 -0
- package/dist/lightclient.min.mjs.map +1 -0
- package/dist/manifest.json +8 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ The evolution of light clients is emblematic of the broader trajectory of Ethere
|
|
|
9
9
|
## Prerequisites
|
|
10
10
|
|
|
11
11
|
[](https://discord.gg/aMxzVcr)
|
|
12
|
-
[](https://github.com/ethereum/consensus-specs/releases/tag/v1.5.0)
|
|
13
13
|

|
|
14
14
|

|
|
15
15
|

|
|
@@ -18,12 +18,12 @@ The evolution of light clients is emblematic of the broader trajectory of Ethere
|
|
|
18
18
|
|
|
19
19
|
## Requirements for Running a Light-Client
|
|
20
20
|
|
|
21
|
-
Access to a beacon node that supports the light client specification is necessary. The client must support the following routes from the [consensus API spec](https://github.com/ethereum/beacon-APIs/tree/
|
|
21
|
+
Access to a beacon node that supports the light client specification is necessary. The client must support the following routes from the [consensus API spec](https://github.com/ethereum/beacon-APIs/tree/v3.1.0/apis/beacon/light_client):
|
|
22
22
|
|
|
23
|
-
- [`GET /eth/v1/beacon/light_client/updates`](https://ethereum.github.io/beacon-APIs/?urls.primaryName=
|
|
24
|
-
- [`GET /eth/v1/beacon/light_client/optimistic_update`](https://ethereum.github.io/beacon-APIs/?urls.primaryName=
|
|
25
|
-
- [`GET /eth/v1/beacon/light_client/finality_update`](https://ethereum.github.io/beacon-APIs/?urls.primaryName=
|
|
26
|
-
- [`GET /eth/v1/beacon/light_client/bootstrap/{block_root}`](https://ethereum.github.io/beacon-APIs/?urls.primaryName=
|
|
23
|
+
- [`GET /eth/v1/beacon/light_client/updates`](https://ethereum.github.io/beacon-APIs/?urls.primaryName=v3.1.0#/Beacon/getLightClientUpdatesByRange)
|
|
24
|
+
- [`GET /eth/v1/beacon/light_client/optimistic_update`](https://ethereum.github.io/beacon-APIs/?urls.primaryName=v3.1.0#/Beacon/getLightClientOptimisticUpdate)
|
|
25
|
+
- [`GET /eth/v1/beacon/light_client/finality_update`](https://ethereum.github.io/beacon-APIs/?urls.primaryName=v3.1.0#/Beacon/getLightClientFinalityUpdate)
|
|
26
|
+
- [`GET /eth/v1/beacon/light_client/bootstrap/{block_root}`](https://ethereum.github.io/beacon-APIs/?urls.primaryName=v3.1.0#/Beacon/getLightClientBootstrap)
|
|
27
27
|
|
|
28
28
|
System requirements are quite low so its possible to run a light client in the browser as part of a website. There are a few examples of this on github that you can use as reference, our [prover](https://chainsafe.github.io/lodestar/libraries/lightclient-prover/prover) being one of them.
|
|
29
29
|
|