@lodestar/light-client 1.24.0-dev.e86e816b1d → 1.24.0-dev.ffdfb2e517
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 +4 -4
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ 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
|
|
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/v2.5.0/apis/beacon/light_client):
|
|
22
22
|
|
|
23
23
|
- [`GET /eth/v1/beacon/light_client/updates`](https://ethereum.github.io/beacon-APIs/?urls.primaryName=v2.5.0#/Beacon/getLightClientUpdatesByRange)
|
|
24
24
|
- [`GET /eth/v1/beacon/light_client/optimistic_update`](https://ethereum.github.io/beacon-APIs/?urls.primaryName=v2.5.0#/Beacon/getLightClientOptimisticUpdate)
|
|
@@ -31,8 +31,8 @@ You can find more information about the light-client protocol in the [specificat
|
|
|
31
31
|
|
|
32
32
|
## Getting started
|
|
33
33
|
|
|
34
|
-
- Follow the [installation guide](https://chainsafe.github.io/lodestar/
|
|
35
|
-
- Quickly try out the whole stack by [starting a local testnet](https://chainsafe.github.io/lodestar/advanced-topics/setting-up-a-testnet).
|
|
34
|
+
- Follow the [installation guide](https://chainsafe.github.io/lodestar/run/getting-started/installation) to install Lodestar.
|
|
35
|
+
- Quickly try out the whole stack by [starting a local testnet](https://chainsafe.github.io/lodestar/contribution/advanced-topics/setting-up-a-testnet).
|
|
36
36
|
|
|
37
37
|
## Light-Client CLI Example
|
|
38
38
|
|
|
@@ -92,7 +92,7 @@ lightclient.emitter.on(LightclientEvent.lightClientOptimisticHeader, async (opti
|
|
|
92
92
|
|
|
93
93
|
## Browser Integration
|
|
94
94
|
|
|
95
|
-
If you want to use Lightclient in browser and facing some issues in building it with bundlers like webpack, vite. We suggest
|
|
95
|
+
If you want to use Lightclient in browser and are facing some issues in building it with bundlers like webpack, vite. We suggest using our distribution build. The support for single distribution build is started from `1.20.0` version.
|
|
96
96
|
|
|
97
97
|
Directly link the dist build with the `<script />` tag with tools like unpkg or other. e.g.
|
|
98
98
|
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/ChainSafe/lodestar/issues"
|
|
13
13
|
},
|
|
14
|
-
"version": "1.24.0-dev.
|
|
14
|
+
"version": "1.24.0-dev.ffdfb2e517",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
"@chainsafe/blst": "^0.2.0",
|
|
78
78
|
"@chainsafe/persistent-merkle-tree": "^0.8.0",
|
|
79
79
|
"@chainsafe/ssz": "^0.18.0",
|
|
80
|
-
"@lodestar/api": "1.24.0-dev.
|
|
81
|
-
"@lodestar/config": "1.24.0-dev.
|
|
82
|
-
"@lodestar/params": "1.24.0-dev.
|
|
83
|
-
"@lodestar/types": "1.24.0-dev.
|
|
84
|
-
"@lodestar/utils": "1.24.0-dev.
|
|
80
|
+
"@lodestar/api": "1.24.0-dev.ffdfb2e517",
|
|
81
|
+
"@lodestar/config": "1.24.0-dev.ffdfb2e517",
|
|
82
|
+
"@lodestar/params": "1.24.0-dev.ffdfb2e517",
|
|
83
|
+
"@lodestar/types": "1.24.0-dev.ffdfb2e517",
|
|
84
|
+
"@lodestar/utils": "1.24.0-dev.ffdfb2e517",
|
|
85
85
|
"mitt": "^3.0.0"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"light-client",
|
|
99
99
|
"blockchain"
|
|
100
100
|
],
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "0f08df805f3d9e7a72850143ddbc61a15a369ec0"
|
|
102
102
|
}
|