You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/integrations/gelato-sw.mdx
+26-20Lines changed: 26 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,31 +57,20 @@ You need to set up the following in the Gelato App to create a Gelato Sponsor AP
57
57
58
58
Sign up on the [Gelato App] to establish an account. This account is the foundation for setting up relay tasks and managing gas sponsorships.
59
59
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
-

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
76
61
77
62
To use Gelato for sponsored transactions, you need to deposit funds into 1Balance according to your target environment:
78
63
79
64
- Mainnets: Deposit USDC.
80
65
- Testnets: Deposit Sepolia ETH.
81
66
82
-
Click the `1Balance` tab to deposit `.001` Sepolia ETH testnet funds.
67
+
Click the `1Balance` tab to link your wallet first.
68
+
69
+

70
+
71
+
And then deposit some Sepolia ETH(SEP) testnet funds.
83
72
84
-

73
+

85
74
86
75
If you need to fund your account, you can use one of the following third-party faucets:
87
76
@@ -90,11 +79,28 @@ If you need to fund your account, you can use one of the following third-party f
90
79
-[Chainlink Sepolia Faucet]
91
80
-[Metamask Sepolia Faucet]
92
81
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
+

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
+
93
99
### Step 4. Create/Obtain an API Key
94
100
95
101
After creating the Relay App, navigate to its dashboard to locate your Sponsor API Key.
96
102
97
-

103
+

98
104
99
105
This key links your Gelato setup with 1Balance for gas sponsorship.
100
106
@@ -283,7 +289,7 @@ Now that you have completed the tutorial, you should be able to:
283
289
284
290
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.
0 commit comments