Skip to content

Commit 84bd871

Browse files
authored
Merge pull request #1358 from onflow/cf/update-main-7-9-25
Update feature branch with main
2 parents 8f030ae + 892df06 commit 84bd871

File tree

8 files changed

+26
-20
lines changed

8 files changed

+26
-20
lines changed

docs/tutorials/integrations/gelato-sw.mdx

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -57,31 +57,20 @@ You need to set up the following in the Gelato App to create a Gelato Sponsor AP
5757

5858
Sign up on the [Gelato App] to establish an account. This account is the foundation for setting up relay tasks and managing gas sponsorships.
5959

60-
### Step 2. Create a Relay App
61-
62-
Within your Gelato account, create a new _Relay App_ with the Flow EVM network.
63-
For Testnet, you can first allow `Any contract` to call your relay app.
64-
65-
![Create a Relay App](./images/gelato-1.png)
66-
67-
:::warning
68-
69-
You'll need to add more information for your smart contracts at a later date.
70-
71-
When set to a specific contract instead of `Any contract`, the API keys will only allow sponsored transactions for calls to the designated methods within the ABI of that contract.
72-
73-
:::
74-
75-
### Step 3. Deposit Funds into 1Balance
60+
### Step 2. Deposit Funds into 1Balance
7661

7762
To use Gelato for sponsored transactions, you need to deposit funds into 1Balance according to your target environment:
7863

7964
- Mainnets: Deposit USDC.
8065
- Testnets: Deposit Sepolia ETH.
8166

82-
Click the `1Balance` tab to deposit `.001` Sepolia ETH testnet funds.
67+
Click the `1Balance` tab to link your wallet first.
68+
69+
![Link Wallet](./images/gelato-1balance-1.png)
70+
71+
And then deposit some Sepolia ETH(SEP) testnet funds.
8372

84-
![Deposit Funds into 1Balance](./images/gelato-3.png)
73+
![Deposit Funds into 1Balance](./images/gelato-1balance-2.png)
8574

8675
If you need to fund your account, you can use one of the following third-party faucets:
8776

@@ -90,11 +79,28 @@ If you need to fund your account, you can use one of the following third-party f
9079
- [Chainlink Sepolia Faucet]
9180
- [Metamask Sepolia Faucet]
9281

82+
### Step 3. Create a Relay App
83+
84+
Select the `Relay` tab in the Gelato App and switch to the `Testnet` environment.
85+
86+
Now you can create a new _Relay App_ with the Flow EVM network.
87+
For Testnet, you can first allow `Any contract` to call your relay app.
88+
89+
![Create a Relay App](./images/gelato-relay-1.png)
90+
91+
:::warning
92+
93+
You'll need to add more information for your smart contracts at a later date.
94+
95+
When set to a specific contract instead of `Any contract`, the API keys will only allow sponsored transactions for calls to the designated methods within the ABI of that contract.
96+
97+
:::
98+
9399
### Step 4. Create/Obtain an API Key
94100

95101
After creating the Relay App, navigate to its dashboard to locate your Sponsor API Key.
96102

97-
![Create a Sponsor API Key](./images/gelato-2.png)
103+
![Create a Sponsor API Key](./images/gelato-relay-2.png)
98104

99105
This key links your Gelato setup with 1Balance for gas sponsorship.
100106

@@ -283,7 +289,7 @@ Now that you have completed the tutorial, you should be able to:
283289

284290
The combination of Flow's efficient gas pricing and Gelato's sponsored transaction infrastructure opens up new possibilities for building user-friendly dApps. By eliminating the need for users to hold native tokens for gas fees, you can create onboarding experiences that rival traditional Web2 applications while maintaining the security and transparency of blockchain technology.
285291

286-
[Gelato App]: https://app.gelato.network/
292+
[Gelato App]: https://app.gelato.cloud/
287293
[Google Cloud Sepolia Faucet]: https://cloud.google.com/application/web3/faucet/ethereum/sepolia
288294
[Alchemy Sepolia Faucet]: https://www.alchemy.com/faucets/ethereum-sepolia
289295
[Chainlink Sepolia Faucet]: https://faucets.chain.link/sepolia
-49.8 KB
Binary file not shown.
113 KB
Loading
110 KB
Loading
-49.8 KB
Binary file not shown.
-93.7 KB
Binary file not shown.
74.5 KB
Loading
36.2 KB
Loading

0 commit comments

Comments
 (0)