Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschwarz committed Oct 19, 2023
1 parent a556c89 commit 9cb0b6c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/gelato-web3-function/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ const { taskId, tx } = await automate.createBatchExecTask({
allowanceInterval: 7150, // unit is blocks (7150 blocks is roughly one day on mainnet)
},
});

await web3Function.secrets.set(
{
RELAY_API_KEY: "<YOUR GELATO RELAY API KEY>",
},
taskId
);
```

### With Gelato app

Go to https://beta.app.gelato.network/ and create a task in the desired interval and providing the IPFS CID `QmYcfTe7pMaSEHpVAUvTQp6BjofXc8rAz5mnvgUR9t2bkm`.

More info: https://docs.gelato.network/developer-services/web3-functions/running-web3-functions

0 comments on commit 9cb0b6c

Please sign in to comment.