From 2add84c31d8e88e204fbf1d6faa416d4b5da133c Mon Sep 17 00:00:00 2001 From: gentrexha Date: Mon, 3 Jul 2023 14:35:21 +0200 Subject: [PATCH] ADded updated readme instructions --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 820c6ba..472fbf3 100644 --- a/README.md +++ b/README.md @@ -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),