Skip to content

Commit 69fef87

Browse files
Improve guide and tutorials
1 parent 8f8f832 commit 69fef87

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

delegation-toolkit/guides/delegation/disable-delegation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const publicClient = createPublicClient({
9191

9292
export const bundlerClient = createBundlerClient({
9393
client: publicClient,
94-
transport: http('https://api.pimlico.io/v2/11155111/rpc')
94+
transport: http('https://api.pimlico.io/v2/11155111/rpc?apikey=<YOUR-API-KEY>')
9595
});
9696
```
9797

delegation-toolkit/guides/smart-accounts/send-gasless-transaction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ export const smartAccount = await toMetaMaskSmartAccount({
8181

8282
export const bundlerClient = createBundlerClient({
8383
client: publicClient,
84-
transport: http("https://api.pimlico.io/v2/11155111/rpc")
84+
transport: http("https://api.pimlico.io/v2/11155111/rpc?apikey=<YOUR-API-KEY>")
8585
});
8686

8787
export const paymasterClient = createPaymasterClient({
8888
// You can use the paymaster of your choice
89-
transport: http("https://api.pimlico.io/v2/11155111/rpc")
89+
transport: http("https://api.pimlico.io/v2/11155111/rpc?apikey=<YOUR-API-KEY>")
9090
});
9191
```
9292

delegation-toolkit/guides/smart-accounts/send-user-operation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ import { bundlerClient, smartAccount } from "./config.ts" // The config.ts is th
127127

128128
// add-start
129129
+ const pimlicoClient = createPimlicoClient({
130-
+ transport: http("https://api.pimlico.io/v2/11155111/rpc"), // You can get the API Key from the Pimlico dashboard.
130+
+ transport: http("https://api.pimlico.io/v2/11155111/rpc?apikey=<YOUR-API-KEY>"), // You can get the API Key from the Pimlico dashboard.
131131
+ });
132132
+
133133
+ const { fast: fee } = await pimlicoClient.getUserOperationGasPrice();
@@ -159,7 +159,7 @@ import { createPimlicoClient } from "permissionless/clients/pimlico";
159159
import { bundlerClient, smartAccount } from "./config.ts" // The config.ts is the same as in the previous example.
160160
161161
const pimlicoClient = createPimlicoClient({
162-
transport: http("https://api.pimlico.io/v2/11155111/rpc"), // You can get the API Key from the Pimlico dashboard.
162+
transport: http("https://api.pimlico.io/v2/11155111/rpc?apikey=<YOUR-API-KEY>"), // You can get the API Key from the Pimlico dashboard.
163163
});
164164

165165
const { fast: fee } = await pimlicoClient.getUserOperationGasPrice();

gator_versioned_docs/version-0.13.0/guides/smart-accounts/send-gasless-transaction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ export const smartAccount = await toMetaMaskSmartAccount({
8181

8282
export const bundlerClient = createBundlerClient({
8383
client: publicClient,
84-
transport: http("https://api.pimlico.io/v2/11155111/rpc")
84+
transport: http("https://api.pimlico.io/v2/11155111/rpc?apikey=<YOUR-API-KEY>")
8585
});
8686

8787
export const paymasterClient = createPaymasterClient({
8888
// You can use the paymaster of your choice
89-
transport: http("https://api.pimlico.io/v2/11155111/rpc")
89+
transport: http("https://api.pimlico.io/v2/11155111/rpc?apikey=<YOUR-API-KEY>")
9090
});
9191
```
9292

gator_versioned_docs/version-0.13.0/guides/smart-accounts/send-user-operation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ import { bundlerClient, smartAccount } from "./config.ts" // The config.ts is th
127127

128128
// add-start
129129
+ const pimlicoClient = createPimlicoClient({
130-
+ transport: http("https://api.pimlico.io/v2/11155111/rpc"), // You can get the API Key from the Pimlico dashboard.
130+
+ transport: http("https://api.pimlico.io/v2/11155111/rpc?apikey=<YOUR-API-KEY>"), // You can get the API Key from the Pimlico dashboard.
131131
+ });
132132
+
133133
+ const { fast: fee } = await pimlicoClient.getUserOperationGasPrice();
@@ -159,7 +159,7 @@ import { createPimlicoClient } from "permissionless/clients/pimlico";
159159
import { bundlerClient, smartAccount } from "./config.ts" // The config.ts is the same as in the previous example.
160160
161161
const pimlicoClient = createPimlicoClient({
162-
transport: http("https://api.pimlico.io/v2/11155111/rpc"), // You can get the API Key from the Pimlico dashboard.
162+
transport: http("https://api.pimlico.io/v2/11155111/rpc?apikey=<YOUR-API-KEY>"), // You can get the API Key from the Pimlico dashboard.
163163
});
164164

165165
const { fast: fee } = await pimlicoClient.getUserOperationGasPrice();

src/pages/tutorials/use-erc20-paymaster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const smartAccount = await toMetaMaskSmartAccount({
107107
});
108108
```
109109

110-
Fund the account with some Sepolia USDC to pay gas fees.
110+
Fund the smart account with some Sepolia USDC to pay gas fees.
111111

112112
:::note
113113
You can use [Circle's faucet](https://faucet.circle.com/) to get Sepolia USDC.

0 commit comments

Comments
 (0)