@turnkey/gas-station 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -74
- package/dist/gasStationUtils.d.ts +7 -1
- package/dist/gasStationUtils.d.ts.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ Perfect for building dApps where users don't need ETH for gas, enabling seamless
|
|
|
27
27
|
### 1. Install Dependencies
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
pnpm install @turnkey/sdk-server @turnkey/viem viem
|
|
30
|
+
pnpm install @turnkey/gas-station @turnkey/sdk-server @turnkey/viem viem
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
### 2. Set Up Environment
|
|
@@ -88,7 +88,7 @@ const userAccount = await createAccount({
|
|
|
88
88
|
const paymasterAccount = await createAccount({
|
|
89
89
|
client: turnkeyClient.apiClient(),
|
|
90
90
|
organizationId: process.env.ORGANIZATION_ID!,
|
|
91
|
-
signWith: process.env.
|
|
91
|
+
signWith: process.env.PAYMASTER_ADDRESS as `0x${string}`,
|
|
92
92
|
});
|
|
93
93
|
|
|
94
94
|
// Create viem wallet clients
|
|
@@ -163,7 +163,7 @@ new GasStationClient({
|
|
|
163
163
|
- Sign an EIP-7702 authorization for the gas station contract
|
|
164
164
|
- Returns authorization that can be submitted by paymaster
|
|
165
165
|
|
|
166
|
-
**`createIntent():
|
|
166
|
+
**`createIntent(): IntentBuilder`**
|
|
167
167
|
|
|
168
168
|
- Create a builder for composing transactions
|
|
169
169
|
- Intent must be signed before execution
|
|
@@ -242,24 +242,6 @@ const swapIntent = await userClient
|
|
|
242
242
|
await paymasterClient.execute(swapIntent);
|
|
243
243
|
```
|
|
244
244
|
|
|
245
|
-
### NFT Minting
|
|
246
|
-
|
|
247
|
-
```typescript
|
|
248
|
-
const nonce = await userClient.getNonce();
|
|
249
|
-
const mintIntent = await userClient
|
|
250
|
-
.createIntent()
|
|
251
|
-
.callContract({
|
|
252
|
-
contract: nftContract,
|
|
253
|
-
abi: NFT_ABI,
|
|
254
|
-
functionName: "mint",
|
|
255
|
-
args: [tokenId],
|
|
256
|
-
value: parseEther("0.1"), // Optional ETH to send
|
|
257
|
-
})
|
|
258
|
-
.sign(nonce);
|
|
259
|
-
|
|
260
|
-
await paymasterClient.execute(mintIntent);
|
|
261
|
-
```
|
|
262
|
-
|
|
263
245
|
### User Onboarding
|
|
264
246
|
|
|
265
247
|
```typescript
|
|
@@ -461,7 +443,7 @@ const eoaPolicy = buildIntentSigningPolicy({
|
|
|
461
443
|
eoaUserId: "user-id",
|
|
462
444
|
restrictions: {
|
|
463
445
|
allowedContracts: ["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],
|
|
464
|
-
|
|
446
|
+
disallowEthTransfer: true, // No ETH transfers
|
|
465
447
|
},
|
|
466
448
|
});
|
|
467
449
|
|
|
@@ -644,7 +626,6 @@ The helper functions automatically:
|
|
|
644
626
|
|
|
645
627
|
- Ensure paymaster has ETH for gas
|
|
646
628
|
- Verify delegate contract address is correct
|
|
647
|
-
- Check EOA hasn't already been authorized
|
|
648
629
|
|
|
649
630
|
### Execution Failed
|
|
650
631
|
|
|
@@ -664,62 +645,12 @@ The helper functions automatically:
|
|
|
664
645
|
- Ensure chain ID matches the network
|
|
665
646
|
- Check intent was signed with correct nonce
|
|
666
647
|
|
|
667
|
-
## Advanced: Custom Contract Integration
|
|
668
|
-
|
|
669
|
-
For contracts beyond standard transfers:
|
|
670
|
-
|
|
671
|
-
```typescript
|
|
672
|
-
// Define your contract ABI
|
|
673
|
-
const MY_CONTRACT_ABI = [
|
|
674
|
-
{
|
|
675
|
-
name: "customFunction",
|
|
676
|
-
type: "function",
|
|
677
|
-
inputs: [
|
|
678
|
-
{ name: "param1", type: "uint256" },
|
|
679
|
-
{ name: "param2", type: "address" },
|
|
680
|
-
],
|
|
681
|
-
outputs: [],
|
|
682
|
-
},
|
|
683
|
-
];
|
|
684
|
-
|
|
685
|
-
// Build and execute
|
|
686
|
-
const nonce = await userClient.getNonce();
|
|
687
|
-
const intent = await userClient
|
|
688
|
-
.createIntent()
|
|
689
|
-
.callContract({
|
|
690
|
-
contract: myContractAddress,
|
|
691
|
-
abi: MY_CONTRACT_ABI,
|
|
692
|
-
functionName: "customFunction",
|
|
693
|
-
args: [12345, recipientAddress],
|
|
694
|
-
})
|
|
695
|
-
.sign(nonce);
|
|
696
|
-
|
|
697
|
-
// Execute gaslessly
|
|
698
|
-
await paymasterClient.execute(intent);
|
|
699
|
-
```
|
|
700
|
-
|
|
701
|
-
## Contract Deployment
|
|
702
|
-
|
|
703
|
-
You need to deploy two contracts:
|
|
704
|
-
|
|
705
|
-
1. **Delegate Contract** - Slim contract authorized via EIP-7702
|
|
706
|
-
2. **Execution Contract** - Contains `execute()` function and nonce storage
|
|
707
|
-
|
|
708
|
-
The execution contract should implement:
|
|
709
|
-
|
|
710
|
-
- `execute(address eoaAddress, uint128 nonce, address outputContract, uint256 ethAmount, bytes callData, bytes signature)`
|
|
711
|
-
- `getNonce(address eoaAddress) returns (uint128)`
|
|
712
|
-
|
|
713
|
-
See `abi/gas-station.ts` for the expected interface.
|
|
714
|
-
|
|
715
648
|
## Best Practices
|
|
716
649
|
|
|
717
650
|
1. **Client Separation**: Create separate client instances for users and paymasters
|
|
718
651
|
2. **Authorization**: Only call `authorize()` once per EOA
|
|
719
652
|
3. **Nonce Management**: Always fetch fresh nonce before creating intents
|
|
720
|
-
4. **
|
|
721
|
-
5. **Rate Limiting**: Implement paymaster rate limits to prevent abuse
|
|
722
|
-
6. **Monitoring**: Track gas costs and failed transactions for optimization
|
|
653
|
+
4. **Rate Limiting**: Implement paymaster rate limits to prevent abuse
|
|
723
654
|
|
|
724
655
|
## License
|
|
725
656
|
|
|
@@ -5,6 +5,7 @@ export declare function createPublicClientForChain(chain: Chain, rpcUrl: string)
|
|
|
5
5
|
batch?: {
|
|
6
6
|
multicall?: boolean | {
|
|
7
7
|
batchSize?: number | undefined;
|
|
8
|
+
deployless?: boolean | undefined;
|
|
8
9
|
wait?: number | undefined;
|
|
9
10
|
} | undefined;
|
|
10
11
|
} | undefined;
|
|
@@ -233,7 +234,7 @@ export declare function createPublicClientForChain(chain: Chain, rpcUrl: string)
|
|
|
233
234
|
getEnsAddress: (args: {
|
|
234
235
|
blockNumber?: bigint | undefined;
|
|
235
236
|
blockTag?: import("viem").BlockTag | undefined;
|
|
236
|
-
coinType?:
|
|
237
|
+
coinType?: bigint | undefined;
|
|
237
238
|
gatewayUrls?: string[] | undefined;
|
|
238
239
|
name: string;
|
|
239
240
|
strict?: boolean | undefined;
|
|
@@ -252,6 +253,7 @@ export declare function createPublicClientForChain(chain: Chain, rpcUrl: string)
|
|
|
252
253
|
blockNumber?: bigint | undefined;
|
|
253
254
|
blockTag?: import("viem").BlockTag | undefined;
|
|
254
255
|
address: `0x${string}`;
|
|
256
|
+
coinType?: bigint | undefined;
|
|
255
257
|
gatewayUrls?: string[] | undefined;
|
|
256
258
|
strict?: boolean | undefined;
|
|
257
259
|
universalResolverAddress?: `0x${string}` | undefined;
|
|
@@ -7079,16 +7081,20 @@ export declare function createPublicClientForChain(chain: Chain, rpcUrl: string)
|
|
|
7079
7081
|
}, (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "fees" | "gas" | "nonce" | "blobVersionedHashes") extends infer T_44 ? T_44 extends (request["parameters"] extends readonly import("viem").PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "fees" | "gas" | "nonce" | "blobVersionedHashes") ? T_44 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_44 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K_1]; } : never>;
|
|
7080
7082
|
readContract: <const abi_5 extends import("viem").Abi | readonly unknown[], functionName_1 extends import("viem").ContractFunctionName<abi_5, "view" | "pure">, const args_2 extends import("viem").ContractFunctionArgs<abi_5, "view" | "pure", functionName_1>>(args: import("viem").ReadContractParameters<abi_5, functionName_1, args_2>) => Promise<import("viem").ReadContractReturnType<abi_5, functionName_1, args_2>>;
|
|
7081
7083
|
sendRawTransaction: (args: import("viem").SendRawTransactionParameters) => Promise<`0x${string}`>;
|
|
7084
|
+
sendRawTransactionSync: (args: import("viem").SendRawTransactionSyncParameters) => Promise<import("viem").TransactionReceipt>;
|
|
7082
7085
|
simulate: <const calls extends readonly unknown[]>(args: import("viem").SimulateBlocksParameters<calls>) => Promise<import("viem").SimulateBlocksReturnType<calls>>;
|
|
7083
7086
|
simulateBlocks: <const calls_1 extends readonly unknown[]>(args: import("viem").SimulateBlocksParameters<calls_1>) => Promise<import("viem").SimulateBlocksReturnType<calls_1>>;
|
|
7084
7087
|
simulateCalls: <const calls_2 extends readonly unknown[]>(args: import("viem").SimulateCallsParameters<calls_2>) => Promise<import("viem").SimulateCallsReturnType<calls_2>>;
|
|
7085
7088
|
simulateContract: <const abi_6 extends import("viem").Abi | readonly unknown[], functionName_2 extends import("viem").ContractFunctionName<abi_6, "nonpayable" | "payable">, const args_3 extends import("viem").ContractFunctionArgs<abi_6, "nonpayable" | "payable", functionName_2>, chainOverride_3 extends Chain | undefined, accountOverride_1 extends `0x${string}` | import("viem").Account | undefined = undefined>(args: import("viem").SimulateContractParameters<abi_6, functionName_2, args_3, Chain, chainOverride_3, accountOverride_1>) => Promise<import("viem").SimulateContractReturnType<abi_6, functionName_2, args_3, Chain, import("viem").Account | undefined, chainOverride_3, accountOverride_1>>;
|
|
7089
|
+
verifyHash: (args: import("viem").VerifyHashActionParameters) => Promise<boolean>;
|
|
7086
7090
|
verifyMessage: (args: {
|
|
7087
7091
|
address: `0x${string}`;
|
|
7088
7092
|
blockNumber?: bigint | undefined;
|
|
7089
7093
|
blockTag?: import("viem").BlockTag | undefined;
|
|
7090
7094
|
factory?: `0x${string}` | undefined;
|
|
7091
7095
|
factoryData?: `0x${string}` | undefined;
|
|
7096
|
+
erc6492VerifierAddress?: `0x${string}` | undefined;
|
|
7097
|
+
multicallAddress?: `0x${string}` | undefined;
|
|
7092
7098
|
signature: `0x${string}` | import("viem").Signature | Uint8Array;
|
|
7093
7099
|
universalSignatureVerifierAddress?: `0x${string}` | undefined;
|
|
7094
7100
|
message: import("viem").SignableMessage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gasStationUtils.d.ts","sourceRoot":"","sources":["../src/gasStationUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,GAAG,EAIT,MAAM,MAAM,CAAC;AAGd,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAExD;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"gasStationUtils.d.ts","sourceRoot":"","sources":["../src/gasStationUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,GAAG,EAIT,MAAM,MAAM,CAAC;AAGd,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAExD;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C;IACrB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,eAAe,CAUlB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,EAAE,EAAE,OAAO,EACX,WAAW,EAAE,MAAM,GAClB,eAAe,CAEjB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,KAAK,EACL,QAAQ,EACR,IAAI,GACL,EAAE;IACD,SAAS,EAAE,GAAG,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,GAAG,CAAC;CACX,GAAG,GAAG,CAON"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turnkey/gas-station",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Turnkey Gas Station SDK for EIP-7702 delegated execution",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^24.6.2",
|
|
32
32
|
"typescript": "^5.3.0",
|
|
33
|
-
"@turnkey/sdk-server": "4.10.
|
|
33
|
+
"@turnkey/sdk-server": "4.10.3"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"viem": "^2.24.0",
|
|
37
|
-
"@turnkey/sdk-server": "4.10.
|
|
37
|
+
"@turnkey/sdk-server": "4.10.3"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|