From a46de8abdb70dff5d94dbcea7f0186276e610316 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Thu, 30 May 2024 01:23:35 +0800 Subject: [PATCH] Add README, LICENSE --- LICENSE | 15 +++++++++++++++ README.md | 21 +++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 LICENSE create mode 100644 README.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a590e62 --- /dev/null +++ b/LICENSE @@ -0,0 +1,15 @@ +eth-blob-indexer: A service that indexes blobs on the Ethereum Beacon chain +Copyright © 2024 Vulcanize + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . diff --git a/README.md b/README.md new file mode 100644 index 0000000..b8b13f8 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# eth-blob-indexer + +A service that indexes all newly committed blobs on the Ethereum Beacon chain. + +Example: +``` +$ eth-blob-indexer \ + --beacon-addr=http://fixturenet-eth-lighthouse-1:8001 \ + --redis-addr=eth-blob-db:6379 \ + --log-level=debug +May 29 17:11:54.397 INF Starting indexer beacon=http://fixturenet-eth-lighthouse-1:8001 redis=eth-blob-db:6379 +May 29 17:11:54.398 DBG Subscribing to event stream endpoint="http://fixturenet-eth-lighthouse-1:8001/eth/v1/events?topics=blob_sidecar" +May 29 17:11:54.398 DBG Subscribing to event stream endpoint="http://fixturenet-eth-lighthouse-1:8001/eth/v1/events?topics=head" +May 29 17:11:55.058 DBG Received head event slot=153 block=0x838ca2e262da142b7f0b3aa5d0f3472a7e33d52e597aa0ab9cad609f2bb0fb87 +... +May 29 17:16:13.062 DBG Received head event slot=239 block=0x0015e9ce0b104935c05abe49dac1e83721b339aa61954b1128dd178800e3bad7 +May 29 17:16:16.070 DBG Received blob_sidecar event slot=240 block=0x304d37b405fb99913a9e2cb543080d80fb08871ca3c7d581e88b460c3678fa58 vhash=0x01265315cda2c869191467c60f7374dc80be8be32b8117cd780655014db819f6 +May 29 17:16:16.098 DBG Received head event slot=240 block=0x304d37b405fb99913a9e2cb543080d80fb08871ca3c7d581e88b460c3678fa58 +May 29 17:16:16.098 DBG Fetching blobs endpoint=http://fixturenet-eth-lighthouse-1:8001/eth/v1/beacon/blob_sidecars/240 +May 29 17:16:16.107 INF Storing blob vhash=0x01265315cda2c869191467c60f7374dc80be8be32b8117cd780655014db819f6 +```