Package Logo
xarb-hub
xarb-hub@v0.1.3
Total Downloads
48
Published
6 hours ago
Publisher
User Avatar rladyd818

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.

Documentation

Modules

Maps icon
Maps

map
map_tx_indices

79de600d267fd9a87385f8da0ff896876d3af5a9
map map_tx_indices (
blocksf.ethereum.type.v2.Block
)  -> contract.v1.TxIndices
substreams gui xarb-hub@v0.1.3 map_tx_indices

map
map_events

6f19e22538f343621c68657162221bfa98557e15
substreams gui xarb-hub@v0.1.3 map_events

map
map_events_only

99b2b90fc4cf4c91dc502dd66c6be39887a9d834
substreams gui xarb-hub@v0.1.3 map_events_only

map
ethcommon:all_events

433686393b184c57628660f7dbe6cfed4d72a9e9
map ethcommon:all_events (
)  -> sf.substreams.ethereum.v1.Events

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

substreams gui xarb-hub@v0.1.3 ethcommon:all_events
Protobuf

Protobuf Docs Explorer

sf.ethereum.type.v2
contract.v1
sf.ethereum.substreams.v1
sf.ethereum.transform.v1