-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(example): add base into the
price-printer
example
- Loading branch information
Showing
3 changed files
with
76 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Price Printer | ||
|
||
This example allows you to list all pools over a certain tvl threshold and explore | ||
quotes from each pool in Ethereum. | ||
quotes from each pool. | ||
|
||
## How to run | ||
|
||
```bash | ||
export RPC_URL=<your-eth-rpc-url> | ||
cargo run --release --example price_printer -- --tvl-threshold 1000 | ||
export RPC_URL=<your-node-rpc-url> | ||
cargo run --release --example price_printer -- --tvl-threshold 1000 --chain <ethereum | base> | ||
``` |
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