Skip to content

Commit

Permalink
blend.gems substream
Browse files Browse the repository at this point in the history
  • Loading branch information
YaroShkvorets committed Aug 1, 2023
1 parent 05a4419 commit 1232487
Show file tree
Hide file tree
Showing 12 changed files with 912 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ members = [
"pomelo",
"erc721",
"pomelo.bounties",
"gems.blend",
]

[workspace.dependencies]
Expand Down
18 changes: 18 additions & 0 deletions gems.blend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "gems_blend"
version = "0.1.0"
edition = "2021"

[lib]
crate-type = ["cdylib"]

[dependencies]
prost = { workspace = true }
prost-types = { workspace = true }
substreams = { workspace = true }
substreams-antelope = { path = "/Users/shkvo/github/Pinax/substreams-antelope" }
serde_json = "1.0.91"
serde = { version = "1.0", features = ["derive"] }

[build-dependencies]
substreams-antelope = { path = "/Users/shkvo/github/Pinax/substreams-antelope" }
34 changes: 34 additions & 0 deletions gems.blend/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
.PHONY: all
all:
make build
make pack
make graph
make info

.PHONY: build
build:
cargo build --target wasm32-unknown-unknown --release

.PHONY: protogen
protogen:
substreams protogen --exclude-paths sf/substreams,google

.PHONY: pack
pack:
substreams pack

.PHONY: graph
graph:
substreams graph

.PHONY: info
info:
substreams info

.PHONY: run
run:
substreams run -e eos.firehose.eosnation.io:9001 map_actions -s 322315024 -t +10

.PHONY: gui
gui:
substreams gui -e eos.firehose.eosnation.io:9001 map_actions -s 322315024 -t +10000
Loading

0 comments on commit 1232487

Please sign in to comment.