You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minimal docker file for using the Helios light client to provide a trustworthy view of the blockchain.
5
+
6
+
You can run this locally - it will output an empty attestation if it's not in a TEE. To run this on Dstack, you can simply copy paste the docker-compose.yml and specify your ETH_RPC_URL parameter.
7
+
8
+
The provided docker compose uses holesky. Helios currently supports other Eth testnetworks as well as opstack.
9
+
10
+
This relies on an untrusted RPC, so you need to provide your own `ETH_RPC_URL`. The free trial at quicknode.com works fine.
11
+
12
+
Run with:
13
+
```bash
14
+
docker compose build
15
+
docker compose run --rm -e ETH_RPC_URL=${ETH_RPC_URL} tapp
16
+
```
17
+
18
+
Expected output:
19
+
```
20
+
+] Creating 1/1
21
+
✔ Network lightclient_default Created 0.1s
22
+
2024-12-17T21:52:56.084201Z INFO helios::rpc: rpc server started at 127.0.0.1:8545
23
+
2024-12-17T21:52:57.858077Z INFO helios::consensus: sync committee updated
24
+
2024-12-17T21:52:57.941169Z INFO helios::consensus: sync committee updated
25
+
2024-12-17T21:52:58.420835Z INFO helios::consensus: finalized slot slot=3214080 confidence=92.38% age=00:00:16:58
26
+
2024-12-17T21:52:58.420854Z INFO helios::consensus: updated head slot=3214163 confidence=92.38% age=00:00:00:22
27
+
2024-12-17T21:52:58.420859Z INFO helios::consensus: consensus client in sync with checkpoint: 0x9260657ed4167f2bbe57317978ff181b6b96c1065ecf9340bba05ba3578128fe
0 commit comments