add beacon chain explorer
This commit is contained in:
53
beacon-explorer/substreams.yaml
Normal file
53
beacon-explorer/substreams.yaml
Normal file
@@ -0,0 +1,53 @@
|
||||
specVersion: v0.1.0
|
||||
package:
|
||||
name: "beacon_explorer"
|
||||
image: ./ethereum.png
|
||||
url: "http://github.com/streamingfast/substreams-explorers/"
|
||||
version: v0.1.0
|
||||
doc: |
|
||||
This packages holds simple modules to allow you to explore the Ethereum Beacon chain data model.
|
||||
|
||||
imports:
|
||||
beacon: https://github.com/pinax-network/firehose-beacon/releases/download/v0.1.1/beacon-v0.1.1.spkg
|
||||
|
||||
network: beacon
|
||||
|
||||
protobuf:
|
||||
files:
|
||||
- block_meta.proto
|
||||
- blobs.proto
|
||||
importPaths:
|
||||
- ./proto
|
||||
|
||||
binaries:
|
||||
default:
|
||||
type: wasm/rust-v1
|
||||
file: ./target/wasm32-unknown-unknown/release/substreams.wasm
|
||||
|
||||
modules:
|
||||
- name: map_block_meta
|
||||
kind: map
|
||||
inputs:
|
||||
- source: sf.beacon.type.v1.Block
|
||||
output:
|
||||
type: proto:beacon.block_meta.v1.BlockMeta
|
||||
doc: |
|
||||
`map_block_meta` allows you to view a basic information about a block
|
||||
|
||||
- name: map_block_full
|
||||
kind: map
|
||||
inputs:
|
||||
- source: sf.beacon.type.v1.Block
|
||||
output:
|
||||
type: proto:sf.beacon.type.v1.Block
|
||||
doc: |
|
||||
`map_block_full` allows you to view a complete block, as received by a Substreams module
|
||||
|
||||
- name: map_blobs
|
||||
kind: map
|
||||
inputs:
|
||||
- source: sf.beacon.type.v1.Block
|
||||
output:
|
||||
type: proto:beacon.blobs.v1.Blobs
|
||||
doc: |
|
||||
`map_blobs` allows you to view blobs inside a block
|
||||
Reference in New Issue
Block a user