Package Logo
substream-runes
substream-runes@v0.1.1
Total Downloads
10
Published
2 days ago
Total Downloads
10
Published
2 days ago

Readme

substream_runes Substreams modules

Usage

You may need buf package, install it depending on your OS Example (Linux):

VERSION=$(curl -s https://api.github.com/repos/bufbuild/buf/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')
wget https://github.com/bufbuild/buf/releases/download/${VERSION}/buf-Linux-x86_64 -O /tmp/buf
sudo mv /tmp/buf /usr/local/bin/buf
sudo chmod +x /usr/local/bin/buf
buf --version

Build rust binary

cargo build

Build rust .wasm

cargo build --target wasm32-unknown-unknown --release

Build substreams

substreams build

Authenticate on substreams

substreams auth

Get streaming

substreams gui

Login to substreams.dev

substreams registry login  

Publish your Substreams to substreams.dev

substreams registry publish

All command you need

substreams build
substreams auth
substreams gui       			  # Get streaming!
substreams registry login         # Login to substreams.dev
substreams registry publish       # Publish your Substreams to substreams.dev

Using Docker

Create .substreams.env file

export SUBSTREAMS_API_TOKEN=
export SUBSTREAMS_ENDPOINTS_CONFIG_BTC=
docker build -t "substreams-runes" .
docker run -p 9000:9000 substreams-runes

Documentation

Modules

Maps icon
Maps

map
get_runestone_payload

b7c0e41745d980b61583bbe769ec7a5c61ba9900
map get_runestone_payload (
blocksf.bitcoin.type.v1.Block
)  -> runestone.v1.Payload
substreams gui substream-runes@v0.1.1 get_runestone_payload
Protobuf

Protobuf Docs Explorer

rune.v1
runestone.v1
terms.v1
etching.v1
edict.v1