Skip to content

Commit 1f3ccad

Browse files
committed
Edits to Gelato tutorial
1 parent 4a1440d commit 1f3ccad

File tree

1 file changed

+25
-21
lines changed

1 file changed

+25
-21
lines changed

docs/tutorials/integrations/gelato-sw.mdx

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -51,55 +51,59 @@ After completing this guide, you'll be able to:
5151

5252
## Prerequisites of using Gelato Smart Wallet
5353

54-
You need to setup all the followings in the Gelato App to create a Gelato Sponsor API Key.
54+
You need to set up the following in the Gelato App to create a Gelato Sponsor API Key:
5555

5656
### Step 1. Create Your Gelato Account
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

6060
### Step 2. Create a Relay App
6161

62-
Within your Gelato account, create a new Relay App with the Flow EVM network.
62+
Within your Gelato account, create a new _Relay App_ with the Flow EVM network.
6363
For Testnet, you can first allow `Any contract` to call your relay app.
6464

6565
![Create a Relay App](./images/gelato-1.png)
6666

67-
:::note
68-
69-
You can add more smart contract information and its associated chain information later in this App.
70-
When set to a specific contract instead of `Any contract`, the API keys will only allow gasless transactions for calls to the designated methods within the ABI of the contract.
71-
72-
:::
67+
:::warning
7368

74-
### Step 3. Create/Obtain a Sponsor API Key
69+
You'll need to add more information for your smart contracts at a later date.
7570

76-
After creating the relay app, navigate to its dashboard to locate your Sponsor API Key.
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.
7772

78-
![Create a Sponsor API Key](./images/gelato-2.png)
79-
80-
This key links your Gelato setup with 1Balance for gas sponsorship.
73+
:::
8174

82-
### Step 4. Deposit Funds into 1Balance
75+
### Step 3. Deposit Funds into 1Balance
8376

84-
To use Gelato sponsoring transactions, you need to deposit funds into 1Balance according to your target environment:
77+
To use Gelato for sponsored transactions, you need to deposit funds into 1Balance according to your target environment:
8578

8679
- Mainnets: Deposit USDC.
8780
- Testnets: Deposit Sepolia ETH.
8881

89-
Here we use Sepolia ETH as the gas fee for Testnet's gasless transactions.
82+
Click the `1Balance` tab to deposit `.001` Sepolia ETH testnet funds.
9083

9184
![Deposit Funds into 1Balance](./images/gelato-3.png)
9285

93-
Here are some third party Sepolia ETH faucets you can use:
86+
If you need to fund your account, you can use one of the following third-party faucets:
9487

9588
- [Google Cloud Sepolia Faucet]
9689
- [Alchemy Sepolia Faucet]
9790
- [Chainlink Sepolia Faucet]
9891
- [Metamask Sepolia Faucet]
9992

93+
### Step 4. Create/Obtain an API Key
94+
95+
After creating the Relay App, navigate to its dashboard to locate your Sponsor API Key.
96+
97+
![Create a Sponsor API Key](./images/gelato-2.png)
98+
99+
This key links your Gelato setup with 1Balance for gas sponsorship.
100+
101+
Copy the API key to your clipboard.
102+
100103
## Send Gasless Transactions for your users
101104

102105
After you have created a Sponsor API Key and deposited funds into 1Balance, you can use gasless transactions features for your users.
106+
103107
With the Gelato Smart Wallet SDK, developers can easily set up sponsored transactions for their applications in just a few simple steps, enabling seamless onboarding and interaction without requiring users to hold native tokens.
104108

105109
:::note
@@ -113,22 +117,22 @@ You can find the examples in the [Gelato Smart Wallet SDK] repository.
113117
<Tabs>
114118
<TabItem value="pnpm" label="pnpm" default>
115119
```bash
116-
pnpm add @gelatodigital/smartwallet viem
120+
pnpm add @gelatonetwork/smartwallet viem
117121
```
118122
</TabItem>
119123
<TabItem value="bun" label="bun">
120124
```bash
121-
bun add @gelatodigital/smartwallet viem
125+
bun add @gelatonetwork/smartwallet viem
122126
```
123127
</TabItem>
124128
<TabItem value="yarn" label="yarn">
125129
```bash
126-
yarn add @gelatodigital/smartwallet
130+
yarn add @gelatonetwork/smartwallet viem
127131
```
128132
</TabItem>
129133
<TabItem value="npm" label="npm">
130134
```bash
131-
npm install @gelatodigital/smartwallet
135+
npm install @gelatonetwork/smartwallet viem
132136
```
133137
</TabItem>
134138
</Tabs>

0 commit comments

Comments
 (0)