All packages
xarb-hub

xarb-hub

rladyd818
v0.1.3/2 downloads/Repository

Package ref

xarb-hub@v0.1.3

Run package

CLI

Run map_events_only from the command line.

substreams run xarb-hub@v0.1.3 map_events_only -e base-sepolia --start-block -1
Authenticate by running substreams auth or directly on thegraph.market (see docs).

README

xarb-substreams-hub

Substreams package for xArb hub-side events on Base Sepolia (84532).

Directory

xarb-substreams-hub/
  substreams.yaml
  config/tracked_contracts.yaml
  src/
  build.rs

Build

cd /Users/kd/substreams/xarb-substreams/xarb-substreams-hub
substreams build

Run (Events Only)

map_events_only is the default output module used by current propagator flow.

cd /Users/kd/substreams/xarb-substreams/xarb-substreams-hub
substreams run substreams.yaml map_events_only

Tracked Address Sync

When contracts are re-deployed, run the monorepo sync script:

cd /Users/kd/substreams/xarb-substreams
./scripts/redeploy_and_sync_contracts.sh

It updates tracked contracts config and deployment references.

Notes

  • If manual edits are made to config/tracked_contracts.yaml, rebuild with substreams build.

Modules

Execution graph

4 modules
Show 1 dependency
map

ethcommon:all_events

`all_events` gives you all the events in a block (from successful transactions), with basic block hash/number/timestamp and transaction hash

Output

sf.substreams.ethereum.v1.Events