Skip to content

Commit

Permalink
ADded updated readme instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
gentrexha committed Jul 3, 2023
1 parent cac4c57 commit 2add84c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,23 @@ cp .env.sample .env <----- Copy your Dune credentials here!
could result in unusual slippage calculations.
- **Action required**: Create a PR to [Dune Spellbook](https://github.com/duneanalytics/spellbook) with the newest missing tokens data.

Instructions:
New updated Docker instructions:

1. If you have missing tokens and want to update them, fork [dune/spellbook](https://github.com/duneanalytics/spellbook)

2. Run and have your spellbook automatically updated with the latest missing tokens.
```shell
docker run \
-e SPELLBOOK_PATH=$SPELLBOOK_PATH \
-e INFURA_KEY=$INFURA_KEY \
-e DUNE_API_KEY=$DUNE_API_KEY \
-v $SPELLBOOK_PATH:$SPELLBOOK_PATH \
ghcr.io/cowprotocol/data-misc-missing-tokens:main
```

Note that this will require `SPELLBOOK_PATH`, `DUNE_API_KEY` and `INFURA_KEY` variables set.

Step-by-step instructions:

1. Check [V1](https://dune.com/queries/236085) and [V2](https://dune.com/queries/984709) queries for missing tokens.
2. If you have missing tokens and want to update them, fork [dune/spellbook](https://github.com/duneanalytics/spellbook),
Expand Down

0 comments on commit 2add84c

Please sign in to comment.