From 6049709b1a3d5b86fdd45073a7d52848c830c1cd Mon Sep 17 00:00:00 2001 From: Manuel Montenegro Date: Wed, 21 Feb 2024 12:03:35 +0100 Subject: [PATCH 1/3] Update the subgraph query API to the production one --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index abf8018..e891747 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ pre-commit install export WEB3_INFURA_PROJECT_ID= export APE_ACCOUNTS_BOT_PASSPHRASE= -ape run proof_bot --fx-root-tunnel 0x720754c84f0b1737801bf63c950914E0C1d4aCa2 --graphql-endpoint https://api.studio.thegraph.com/query/24143/polygonchildmumbai/version/latest --proof-generator https://proof-generator.polygon.technology/api/v1/mumbai/exit-payload/ --network :goerli:infura --account BOT +ape run proof_bot --fx-root-tunnel 0x720754c84f0b1737801bf63c950914E0C1d4aCa2 --graphql-endpoint https://subgraph.satsuma-prod.com/735cd3ac7b23/nucypher-ops/PolygonChild/api --proof-generator https://proof-generator.polygon.technology/api/v1/mumbai/exit-payload/ --network :goerli:infura --account BOT ``` @@ -82,7 +82,7 @@ First, create the log file: touch /var/log/cron.log ``` -Then run the bot with docker-compose +Then run the bot with docker-compose (including log server and autoupdate service): ```bash From 96738e9b83f6c9cc8e4fb7de3910e3d7df22651f Mon Sep 17 00:00:00 2001 From: Manuel Montenegro Date: Wed, 21 Feb 2024 20:45:58 +0100 Subject: [PATCH 2/3] Update proof_bot command on README.md Co-authored-by: Victoria --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e891747..b50ba0c 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ pre-commit install export WEB3_INFURA_PROJECT_ID= export APE_ACCOUNTS_BOT_PASSPHRASE= -ape run proof_bot --fx-root-tunnel 0x720754c84f0b1737801bf63c950914E0C1d4aCa2 --graphql-endpoint https://subgraph.satsuma-prod.com/735cd3ac7b23/nucypher-ops/PolygonChild/api --proof-generator https://proof-generator.polygon.technology/api/v1/mumbai/exit-payload/ --network :goerli:infura --account BOT +ape run proof_bot --fx-root-tunnel 0x51825d6e893c51836dC9C0EdF3867c57CD0cACB3--graphql-endpoint https://subgraph.satsuma-prod.com/735cd3ac7b23/nucypher-ops/PolygonChild/api --proof-generator https://proof-generator.polygon.technology/api/v1/matic/exit-payload/ --network ethereum:mainnet:infura --account BOT ``` From 7d9b324a2380b88a426d99c4cce901c6dbb1400f Mon Sep 17 00:00:00 2001 From: Manuel Montenegro Date: Wed, 21 Feb 2024 20:46:22 +0100 Subject: [PATCH 3/3] Update env variables on README.md Co-authored-by: Victoria --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b50ba0c..3496313 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ pre-commit install ```bash export WEB3_INFURA_PROJECT_ID= export APE_ACCOUNTS_BOT_PASSPHRASE= +export ETHERSCAN_API_KEY= ape run proof_bot --fx-root-tunnel 0x51825d6e893c51836dC9C0EdF3867c57CD0cACB3--graphql-endpoint https://subgraph.satsuma-prod.com/735cd3ac7b23/nucypher-ops/PolygonChild/api --proof-generator https://proof-generator.polygon.technology/api/v1/matic/exit-payload/ --network ethereum:mainnet:infura --account BOT ```