diff --git a/images/guides/gelato/dedicated-msg-sender.png b/images/guides/gelato/dedicated-msg-sender.png index e2ec248e..9aea6f46 100644 Binary files a/images/guides/gelato/dedicated-msg-sender.png and b/images/guides/gelato/dedicated-msg-sender.png differ diff --git a/images/guides/gelato/storage-pyth-config.png b/images/guides/gelato/storage-pyth-config.png index a7400004..96c39e24 100644 Binary files a/images/guides/gelato/storage-pyth-config.png and b/images/guides/gelato/storage-pyth-config.png differ diff --git a/images/guides/gelato/task-creation-gist-id.png b/images/guides/gelato/task-creation-gist-id.png index bc1d9ee3..661d0ea5 100644 Binary files a/images/guides/gelato/task-creation-gist-id.png and b/images/guides/gelato/task-creation-gist-id.png differ diff --git a/images/guides/gelato/task-execution.png b/images/guides/gelato/task-execution.png index 69165169..0d3dd978 100644 Binary files a/images/guides/gelato/task-execution.png and b/images/guides/gelato/task-execution.png differ diff --git a/pages/price-feeds/schedule-price-updates/using-gelato.mdx b/pages/price-feeds/schedule-price-updates/using-gelato.mdx index fd359047..0afab93a 100644 --- a/pages/price-feeds/schedule-price-updates/using-gelato.mdx +++ b/pages/price-feeds/schedule-price-updates/using-gelato.mdx @@ -31,7 +31,7 @@ The Gelato task reads a yaml configuration file from a GitHub gist. Create a GitHub gist by logging into GitHub and navigating to [here](https://gist.github.com/). Add a file called `config.yaml`. Copy the [example gist](https://gist.github.com/swimricky/18b2a5ad9c1a605f1cf5c19ac1d2f1d9) and edit the parameters for the environment you're deploying to and configure your price feeds and update thresholds. See -[directory](https://github.com/pyth-network/w3f-pyth-poc-v2/tree/master/web3-functions/pyth-oracle-w3f-priceIds) for +[directory](https://github.com/pyth-network/pyth-gelato-price-pusher) for some example configuration files. These parameters can be updated at any time by editing the gist even if the task has already been deployed. The task will automatically pick up these configuration changes and use them for subsequent executions. @@ -39,11 +39,10 @@ already been deployed. The task will automatically pick up these configuration c Use the link below to auto-populate the task parameters with the Pyth web3 function code: -https://app.gelato.network/new-task?cid=QmTFQHpiThqkVKvuW2KU8cETNBdyXHB9uP34woL6Vc5w6g +https://app.gelato.network/new-task?cid=QmbNPFa3ixUpphUzKJwq3F9bjC9w63FBYQ4iV3s2LpiftN The pyth web3 function code is deployed to IPFS, so you can use it via the cid/link above. -You can find a copy of the web3 function code [here](https://github.com/pyth-network/w3f-pyth-poc-v2/tree/master/web3-functions/pyth-oracle-w3f-priceIds) - +You can find a copy of the web3 function code [here](https://github.com/pyth-network/pyth-gelato-price-pusher/tree/main/web3-functions/pyth-oracle-w3f-priceIds) Choose network, and then in the "Task secrets" section, set `GIST_ID` to the gistId of the gist you created in step 2. ![](../../../images/guides/gelato/task-creation-gist-id.png) @@ -117,6 +116,6 @@ rate-limited by GitHub. To verify that your most recent task execution used the ## Notes If you want to customize the behavior of the web3 function beyond what is supported by updating the config.yaml, you can -clone this [repo](https://github.com/pyth-network/w3f-pyth-poc-v2) and deploy your own version of the web3 function. -You can then use the cid of your deployed web3 function to create a new task. See [README.md](https://github.com/pyth-network/w3f-pyth-poc-v2/tree/master/web3-functions/pyth-oracle-w3f-priceIds/README.md) and +clone this [repo](https://github.com/pyth-network/pyth-gelato-price-pusher) and deploy your own version of the web3 function. +You can then use the cid of your deployed web3 function to create a new task. See [README.md](https://github.com/pyth-network/pyth-gelato-price-pusher/blob/main/README.md) and [Gelato Web3 Function Documentation](https://docs.gelato.network/web3-services/web3-functions) for more details.