Skip to content

Commit de32e0f

Browse files
Updated gelato docs (#662)
* feat: Updated Gelato docs Content * refactor : gelato docs * minor fix
1 parent b4ff53c commit de32e0f

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed
-108 KB
Loading
-7.69 KB
Loading
-3.88 KB
Loading
387 KB
Loading

pages/price-feeds/schedule-price-updates/using-gelato.mdx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,18 @@ The Gelato task reads a yaml configuration file from a GitHub gist.
3131
Create a GitHub gist by logging into GitHub and navigating to [here](https://gist.github.com/). Add a file called `config.yaml`.
3232
Copy the [example gist](https://gist.github.com/swimricky/18b2a5ad9c1a605f1cf5c19ac1d2f1d9) and edit the parameters for
3333
the environment you're deploying to and configure your price feeds and update thresholds. See
34-
[directory](https://github.com/pyth-network/w3f-pyth-poc-v2/tree/master/web3-functions/pyth-oracle-w3f-priceIds) for
34+
[directory](https://github.com/pyth-network/pyth-gelato-price-pusher) for
3535
some example configuration files. These parameters can be updated at any time by editing the gist even if the task has
3636
already been deployed. The task will automatically pick up these configuration changes and use them for subsequent executions.
3737

3838
#### 3. Create the task
3939

4040
Use the link below to auto-populate the task parameters with the Pyth web3 function code:
4141

42-
https://app.gelato.network/new-task?cid=QmTFQHpiThqkVKvuW2KU8cETNBdyXHB9uP34woL6Vc5w6g
42+
https://app.gelato.network/new-task?cid=QmbNPFa3ixUpphUzKJwq3F9bjC9w63FBYQ4iV3s2LpiftN
4343

4444
The pyth web3 function code is deployed to IPFS, so you can use it via the cid/link above.
45-
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)
46-
45+
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)
4746
Choose network, and then in the "Task secrets" section, set `GIST_ID` to the gistId of the gist you created in step 2.
4847
![](../../../images/guides/gelato/task-creation-gist-id.png)
4948

@@ -117,6 +116,6 @@ rate-limited by GitHub. To verify that your most recent task execution used the
117116
## Notes
118117

119118
If you want to customize the behavior of the web3 function beyond what is supported by updating the config.yaml, you can
120-
clone this [repo](https://github.com/pyth-network/w3f-pyth-poc-v2) and deploy your own version of the web3 function.
121-
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
119+
clone this [repo](https://github.com/pyth-network/pyth-gelato-price-pusher) and deploy your own version of the web3 function.
120+
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
122121
[Gelato Web3 Function Documentation](https://docs.gelato.network/web3-services/web3-functions) for more details.

0 commit comments

Comments
 (0)