-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8261600
commit fd1f18e
Showing
14 changed files
with
908 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[package] | ||
name = "sx_stats" | ||
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/substreams-antelope" } | ||
substreams-antelope = "0.3" | ||
serde_json = "1.0.91" | ||
serde = { version = "1.0", features = ["derive"] } | ||
substreams-database-change = { workspace = true } | ||
|
||
[build-dependencies] | ||
substreams-antelope = "0.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.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.substreams.pinax.network:443 map_logs -s 350410392 -t +300 | ||
|
||
.PHONY: gui | ||
gui: | ||
substreams gui -e eos.substreams.pinax.network:443 map_logs -s 350410392 -t +300 | ||
|
||
.PHONY: sql | ||
sql: | ||
substreams gui -e eos.substreams.pinax.network:443 db_out -s 350410392 -t +300 | ||
|
Oops, something went wrong.