Skip to content
This repository was archived by the owner on Mar 17, 2023. It is now read-only.

Commit 8a1afbc

Browse files
author
Matthieu Vachon
authored
Update README.md
1 parent 287a447 commit 8a1afbc

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

modules/pancakeswap/README.md

+8-15
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,22 @@
11
PancakeSwap Substreams
22
======================
33

4-
Install [`substreams` and its dependencies here](https://github.com/streamingfast/substreams), compile these modules with:
4+
Install [`substreams` and its dependencies here](https://substreams.streamingfast.io/getting-started/installing-the-cli), compile these modules with:
55

66
```
7-
cd ../pancakeswap
8-
cargo build --target wasm32-unknown-unknown --release
7+
# We assume you are at root of project
8+
cd modules/pancakeswap
9+
cargo build --target=wasm32-unknown-unknown --release
910
```
1011

11-
At the beginning of you manifest `substreams.yaml` file you can add some import statements at the [top](https://substreams.streamingfast.io/developer-guide/creating-your-manifest). If you make some changes to an imported module and you want to
12-
test the changes, you will have to pack the changes in a `.spkg` file. Simply run:
12+
Run with:
1313

14-
```bash
15-
cd ../eth-token
16-
substreams pack ./substreams.yaml
1714
```
18-
19-
> Also don't forget to change the url to point to the local .spkg file location
20-
21-
and try with:
22-
23-
```
24-
substreams run -e bsc-dev.streamingfast.io:443 substreams.yaml store_pairs,map_pairs,db_out,store_volumes,store_totals -s 6810706 -t 6810711
15+
substreams run -e bsc.streamingfast.io:443 substreams.yaml store_pairs,map_pairs,db_out,store_volumes,store_totals -s 6810706 -t 6810711
2516
```
2617

18+
> Right now `bsc.streamingfast.io` endpoint is not running Substreams service for a temporary period, the command below will not work, please visit https://substreams.streamingfast.io/getting-started to look for other Substreams to run to test. If you are in dire needs for BNB Substreams support, drop a message in our [StreamingFast Discord](https://discord.gg/jZwqxJAvRs)
19+
2720
## Visual data flow
2821

2922
This is a flow that is executed for each block. The graph is produced with `substreams graph ./substreams.yaml`.

0 commit comments

Comments
 (0)