@dynamic-labs-wallet/node-evm 1.0.50 → 1.0.52

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.
@@ -0,0 +1,35 @@
1
+ import type { DynamicApiClient } from '@dynamic-labs-wallet/core';
2
+ import { type Hex } from 'viem';
3
+ import type { DynamicEvmWalletClient } from './client.js';
4
+ import type { GetAvailableEvmGaslessRelayerParams, GetEVMSponsoredTransactionStatusParams, Is7702DelegationActiveParams, RelaySponsoredTransactionParams, SerializedAuthorization, Sign7702AuthorizationParams, SignedSponsoredTransaction, SignSponsoredTransactionParams, SponsoredTransactionStatusResult, WaitForSponsoredTransactionParams } from './gasless.types.js';
5
+ /** Primitives the gasless client borrows from the EVM wallet client it belongs to. */
6
+ export type EvmGaslessClientDeps = {
7
+ apiClient: DynamicApiClient;
8
+ createViemPublicClient: DynamicEvmWalletClient['createViemPublicClient'];
9
+ signAuthorization: DynamicEvmWalletClient['signAuthorization'];
10
+ signTypedData: DynamicEvmWalletClient['signTypedData'];
11
+ };
12
+ /**
13
+ * Builds a stateless gasless client for EVM sponsored transactions (Fireblocks-relayer
14
+ * native gasless via EIP-7702 / AuthorizedExecutions). It holds no wallet state — the
15
+ * signing primitives and API client are injected by the owning `DynamicEvmWalletClient`.
16
+ */
17
+ export declare const createEvmGaslessClient: ({ apiClient, createViemPublicClient, signAuthorization, signTypedData, }: EvmGaslessClientDeps) => {
18
+ getAvailableEvmGaslessRelayer: ({ chainId, traceContext, }: GetAvailableEvmGaslessRelayerParams) => Promise<{
19
+ relayerAddress: Hex;
20
+ }>;
21
+ getEVMSponsoredTransactionStatus: ({ requestId, traceContext, }: GetEVMSponsoredTransactionStatusParams) => Promise<SponsoredTransactionStatusResult>;
22
+ is7702DelegationActive: ({ walletAddress, chainId, rpcUrl, }: Is7702DelegationActiveParams) => Promise<boolean>;
23
+ relaySponsoredTransaction: (params: RelaySponsoredTransactionParams) => Promise<{
24
+ requestId: string;
25
+ }>;
26
+ sendSponsoredTransaction: (params: RelaySponsoredTransactionParams) => Promise<{
27
+ transactionHash: Hex;
28
+ }>;
29
+ sign7702Authorization: ({ walletMetadata, chainId, rpcUrl, nonce, password, externalServerKeyShares, }: Sign7702AuthorizationParams) => Promise<SerializedAuthorization>;
30
+ signSponsoredTransaction: ({ walletMetadata, calls, chainId, rpcUrl, authorization, autoDelegate, nonce: providedNonce, validForSeconds, password, externalServerKeyShares, traceContext, }: SignSponsoredTransactionParams) => Promise<SignedSponsoredTransaction>;
31
+ waitForSponsoredTransaction: ({ requestId, pollInterval, timeout, traceContext, }: WaitForSponsoredTransactionParams) => Promise<{
32
+ transactionHash: Hex;
33
+ }>;
34
+ };
35
+ //# sourceMappingURL=gasless.client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gasless.client.d.ts","sourceRoot":"","sources":["../../src/client/gasless.client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAe,KAAK,GAAG,EAAqC,MAAM,MAAM,CAAC;AAChF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAiB1D,OAAO,KAAK,EACV,mCAAmC,EACnC,sCAAsC,EACtC,4BAA4B,EAC5B,+BAA+B,EAC/B,uBAAuB,EACvB,2BAA2B,EAC3B,0BAA0B,EAC1B,8BAA8B,EAC9B,gCAAgC,EAChC,iCAAiC,EAClC,MAAM,oBAAoB,CAAC;AAI5B,sFAAsF;AACtF,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,EAAE,gBAAgB,CAAC;IAC5B,sBAAsB,EAAE,sBAAsB,CAAC,wBAAwB,CAAC,CAAC;IACzE,iBAAiB,EAAE,sBAAsB,CAAC,mBAAmB,CAAC,CAAC;IAC/D,aAAa,EAAE,sBAAsB,CAAC,eAAe,CAAC,CAAC;CACxD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,6EAKhC,oBAAoB;gEAgIlB,mCAAmC,KAAG,OAAO,CAAC;QAAE,cAAc,EAAE,GAAG,CAAA;KAAE,CAAC;qEAyItE,sCAAsC,KAAG,OAAO,CAAC,gCAAgC,CAAC;kEAjNlF,4BAA4B,KAAG,OAAO,CAAC,OAAO,CAAC;wCA+ND,+BAA+B,KAAG,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;uCAyFvG,+BAA+B,KACtC,OAAO,CAAC;QAAE,eAAe,EAAE,GAAG,CAAA;KAAE,CAAC;4GAvSjC,2BAA2B,KAAG,OAAO,CAAC,uBAAuB,CAAC;iMA+H9D,8BAA8B,KAAG,OAAO,CAAC,0BAA0B,CAAC;uFAiIpE,iCAAiC,KAAG,OAAO,CAAC;QAAE,eAAe,EAAE,GAAG,CAAA;KAAE,CAAC;CA0DzE,CAAC"}
@@ -0,0 +1,63 @@
1
+ import type { Hex } from 'viem';
2
+ /** The Fireblocks Universal Gasless Delegate (UGD) contract address used for EIP-7702 delegation. */
3
+ export declare const DELEGATION_CONTRACT_ADDRESS: Hex;
4
+ /** Default sponsored transaction validity duration in seconds (10 minutes). */
5
+ export declare const DEFAULT_VALID_FOR_SECONDS = 600;
6
+ /** EIP-7702 delegation code prefix used to identify delegated accounts. */
7
+ export declare const DELEGATION_CODE_PREFIX = "0xef0100";
8
+ /** ERC-7579 batch call with opData and auth mode identifier. */
9
+ export declare const BATCH_CALL_OPDATA_AUTH_MODE: Hex;
10
+ /** EIP-712 typed data types for UGD AuthorizedExecutions signing. */
11
+ export declare const AUTHORIZED_EXECUTIONS_TYPES: {
12
+ readonly AuthorizedExecutions: readonly [{
13
+ readonly name: "calls";
14
+ readonly type: "Execution[]";
15
+ }, {
16
+ readonly name: "deadline";
17
+ readonly type: "uint256";
18
+ }, {
19
+ readonly name: "mode";
20
+ readonly type: "bytes32";
21
+ }, {
22
+ readonly name: "nonce";
23
+ readonly type: "uint256";
24
+ }, {
25
+ readonly name: "relayer";
26
+ readonly type: "address";
27
+ }];
28
+ readonly Execution: readonly [{
29
+ readonly name: "target";
30
+ readonly type: "address";
31
+ }, {
32
+ readonly name: "value";
33
+ readonly type: "uint256";
34
+ }, {
35
+ readonly name: "data";
36
+ readonly type: "bytes";
37
+ }];
38
+ };
39
+ /** Minimal ABI for the UGD contract's nonce validation function. */
40
+ export declare const UGD_ABI: readonly [{
41
+ readonly inputs: readonly [{
42
+ readonly name: "nonce";
43
+ readonly type: "uint256";
44
+ }];
45
+ readonly name: "isNonceUsed";
46
+ readonly outputs: readonly [{
47
+ readonly name: "";
48
+ readonly type: "bool";
49
+ }];
50
+ readonly stateMutability: "view";
51
+ readonly type: "function";
52
+ }];
53
+ /** Default polling interval for sponsored transaction status checks (milliseconds). */
54
+ export declare const EVM_GASLESS_DEFAULT_POLL_INTERVAL_MS = 2000;
55
+ /** Default timeout for sponsored transaction polling (milliseconds). */
56
+ export declare const EVM_GASLESS_DEFAULT_TIMEOUT_MS = 60000;
57
+ export declare const ERROR_GASLESS_RPC_REQUIRED_FOR_AUTO_DELEGATE: string;
58
+ export declare const ERROR_GASLESS_RELAY_FAILED = "EVM sponsored transaction relay failed";
59
+ export declare const ERROR_GASLESS_TIMEOUT = "EVM sponsored transaction timed out waiting for terminal status";
60
+ export declare const ERROR_GASLESS_MISSING_REQUEST_ID = "Relay response did not include a requestId";
61
+ export declare const ERROR_GASLESS_MISSING_YPARITY = "Signed authorization is missing yParity";
62
+ export declare const ERROR_GASLESS_RPC_REQUIRED = "rpcUrl is required for this operation";
63
+ //# sourceMappingURL=gasless.constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gasless.constants.d.ts","sourceRoot":"","sources":["../../src/client/gasless.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAEhC,qGAAqG;AACrG,eAAO,MAAM,2BAA2B,EAAE,GAAkD,CAAC;AAE7F,+EAA+E;AAC/E,eAAO,MAAM,yBAAyB,MAAM,CAAC;AAE7C,2EAA2E;AAC3E,eAAO,MAAM,sBAAsB,aAAa,CAAC;AAEjD,gEAAgE;AAChE,eAAO,MAAM,2BAA2B,EAAE,GAA0E,CAAC;AAErH,qEAAqE;AACrE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa9B,CAAC;AAEX,oEAAoE;AACpE,eAAO,MAAM,OAAO;;;;;;;;;;;;EAQV,CAAC;AAEX,uFAAuF;AACvF,eAAO,MAAM,oCAAoC,OAAO,CAAC;AAEzD,wEAAwE;AACxE,eAAO,MAAM,8BAA8B,QAAQ,CAAC;AAGpD,eAAO,MAAM,4CAA4C,QAEmB,CAAC;AAE7E,eAAO,MAAM,0BAA0B,2CAA2C,CAAC;AAEnF,eAAO,MAAM,qBAAqB,oEAAoE,CAAC;AAEvG,eAAO,MAAM,gCAAgC,+CAA+C,CAAC;AAE7F,eAAO,MAAM,6BAA6B,4CAA4C,CAAC;AAEvF,eAAO,MAAM,0BAA0B,0CAA0C,CAAC"}
@@ -0,0 +1,153 @@
1
+ import type { ServerKeyShare, TraceContext, WalletMetadata } from '@dynamic-labs-wallet/node';
2
+ import type { Hex } from 'viem';
3
+ /** A single call within a sponsored transaction batch. */
4
+ export type SponsoredTransactionCall = {
5
+ /** Hex-encoded calldata to execute on the target. */
6
+ data: Hex;
7
+ /** Target contract address. */
8
+ target: Hex;
9
+ /** Amount of native token (in wei) to send with the call. */
10
+ value: bigint;
11
+ };
12
+ /** Serialized EIP-7702 authorization for JSON transport. */
13
+ export type SerializedAuthorization = {
14
+ /** Contract address to delegate to. */
15
+ address: Hex;
16
+ /** Chain ID the authorization is valid for. */
17
+ chainId: number;
18
+ /** EOA transaction nonce at signing time. */
19
+ nonce: number;
20
+ /** ECDSA signature r component. */
21
+ r: Hex;
22
+ /** ECDSA signature s component. */
23
+ s: Hex;
24
+ /** ECDSA signature y-parity. */
25
+ yParity: number;
26
+ };
27
+ /**
28
+ * Lifecycle status of a sponsored transaction relay request.
29
+ *
30
+ * - `pending`: accepted by the relayer, not yet broadcast to the chain.
31
+ * - `submitted`: broadcasted to the chain, waiting for confirmation.
32
+ * - `success`: finalized successfully on-chain.
33
+ * - `failure`: terminal failure.
34
+ */
35
+ export type SponsoredTransactionStatus = 'failure' | 'pending' | 'submitted' | 'success';
36
+ /** Result of a `getEVMSponsoredTransactionStatus` lookup. */
37
+ export type SponsoredTransactionStatusResult = {
38
+ /** Error message when the status is a terminal failure. */
39
+ errorMessage?: string;
40
+ /** Current relay state for the request. */
41
+ status: SponsoredTransactionStatus;
42
+ /** On-chain transaction hash once the relay has broadcast / confirmed it. */
43
+ transactionHash?: Hex;
44
+ };
45
+ /** The signed payload ready to be sent to the sponsorship API. */
46
+ export type SignedSponsoredTransaction = {
47
+ /** EIP-7702 authorization for delegation, if needed. */
48
+ authorization?: SerializedAuthorization;
49
+ /** The batch of calls to execute. */
50
+ calls: SponsoredTransactionCall[];
51
+ /** Target chain ID. */
52
+ chainId: number;
53
+ /** Intent expiration as a unix timestamp string. */
54
+ deadline: string;
55
+ /** Bitmap nonce as a string (uint256). */
56
+ nonce: string;
57
+ /** The relayer address signed in the EIP-712 intent. */
58
+ relayer: Hex;
59
+ /** EIP-712 signature over the AuthorizedExecutions typed data. */
60
+ signature: Hex;
61
+ /** The user's wallet address. */
62
+ walletAddress: Hex;
63
+ };
64
+ /** Parameters for `is7702DelegationActive`. */
65
+ export type Is7702DelegationActiveParams = {
66
+ /** Target chain ID. */
67
+ chainId: number;
68
+ /** RPC URL used to read the wallet's on-chain code. */
69
+ rpcUrl: string;
70
+ /** The wallet address to check delegation for. */
71
+ walletAddress: Hex;
72
+ };
73
+ /** Parameters for `sign7702Authorization`. */
74
+ export type Sign7702AuthorizationParams = {
75
+ /** Target chain ID. */
76
+ chainId: number;
77
+ /** Optional externally supplied server key shares. */
78
+ externalServerKeyShares?: ServerKeyShare[];
79
+ /** EOA nonce; fetched from the chain via `rpcUrl` when omitted. */
80
+ nonce?: number;
81
+ /** Optional password protecting the key. */
82
+ password?: string;
83
+ /** RPC URL used to fetch the EOA nonce when `nonce` is omitted. */
84
+ rpcUrl?: string;
85
+ /** Metadata for the wallet signing the authorization. */
86
+ walletMetadata: WalletMetadata;
87
+ };
88
+ /** Parameters for `getAvailableEvmGaslessRelayer`. */
89
+ export type GetAvailableEvmGaslessRelayerParams = {
90
+ /** Target chain ID. */
91
+ chainId: number;
92
+ /** Optional trace context for request correlation. */
93
+ traceContext?: TraceContext;
94
+ };
95
+ /** Parameters for `signSponsoredTransaction`. */
96
+ export type SignSponsoredTransactionParams = {
97
+ /** Pre-signed EIP-7702 authorization; resolved automatically when omitted. */
98
+ authorization?: SerializedAuthorization;
99
+ /** When true, auto-sign a 7702 authorization if the wallet is not yet delegated. */
100
+ autoDelegate?: boolean;
101
+ /** The batch of calls to execute. */
102
+ calls: SponsoredTransactionCall[];
103
+ /** Target chain ID. */
104
+ chainId: number;
105
+ /** Optional externally supplied server key shares. */
106
+ externalServerKeyShares?: ServerKeyShare[];
107
+ /** Explicit bitmap nonce; a random unused one is generated when omitted. */
108
+ nonce?: bigint;
109
+ /** Optional password protecting the key. */
110
+ password?: string;
111
+ /** RPC URL used for delegation checks and nonce validation. */
112
+ rpcUrl?: string;
113
+ /** Optional trace context for request correlation. */
114
+ traceContext?: TraceContext;
115
+ /** Intent validity window in seconds. */
116
+ validForSeconds?: number;
117
+ /** Metadata for the wallet signing the transaction. */
118
+ walletMetadata: WalletMetadata;
119
+ };
120
+ /** Parameters for `getEVMSponsoredTransactionStatus`. */
121
+ export type GetEVMSponsoredTransactionStatusParams = {
122
+ /** The relay request id returned by `relaySponsoredTransaction`. */
123
+ requestId: string;
124
+ /** Optional trace context for request correlation. */
125
+ traceContext?: TraceContext;
126
+ };
127
+ /**
128
+ * Parameters for `relaySponsoredTransaction` / `sendSponsoredTransaction`: either a pre-signed
129
+ * transaction or the inputs to sign one, optionally relayed on behalf of an end user.
130
+ */
131
+ export type RelaySponsoredTransactionParams = {
132
+ /** A previously signed sponsored transaction. */
133
+ signedTransaction: SignedSponsoredTransaction;
134
+ /** Optional trace context for request correlation. */
135
+ traceContext?: TraceContext;
136
+ /** Relay on behalf of this end user; omit to relay as the authenticated service user. */
137
+ userId?: string;
138
+ } | (SignSponsoredTransactionParams & {
139
+ /** Relay on behalf of this end user; omit to relay as the authenticated service user. */
140
+ userId?: string;
141
+ });
142
+ /** Parameters for `waitForSponsoredTransaction`. */
143
+ export type WaitForSponsoredTransactionParams = {
144
+ /** Poll interval in milliseconds. */
145
+ pollInterval?: number;
146
+ /** The relay request id to poll. */
147
+ requestId: string;
148
+ /** Overall timeout in milliseconds before giving up. */
149
+ timeout?: number;
150
+ /** Optional trace context for request correlation. */
151
+ traceContext?: TraceContext;
152
+ };
153
+ //# sourceMappingURL=gasless.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gasless.types.d.ts","sourceRoot":"","sources":["../../src/client/gasless.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC9F,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAEhC,0DAA0D;AAC1D,MAAM,MAAM,wBAAwB,GAAG;IACrC,qDAAqD;IACrD,IAAI,EAAE,GAAG,CAAC;IACV,+BAA+B;IAC/B,MAAM,EAAE,GAAG,CAAC;IACZ,6DAA6D;IAC7D,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,4DAA4D;AAC5D,MAAM,MAAM,uBAAuB,GAAG;IACpC,uCAAuC;IACvC,OAAO,EAAE,GAAG,CAAC;IACb,+CAA+C;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,CAAC,EAAE,GAAG,CAAC;IACP,mCAAmC;IACnC,CAAC,EAAE,GAAG,CAAC;IACP,gCAAgC;IACh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AAC;CACjB,GACD,CAAC,8BAA8B,GAAG;IAChC,yFAAyF;IACzF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC,CAAC;AAEP,oDAAoD;AACpD,MAAM,MAAM,iCAAiC,GAAG;IAC9C,qCAAqC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oCAAoC;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,wDAAwD;IACxD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sDAAsD;IACtD,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,CAAC"}
@@ -2,4 +2,6 @@ export * from './accountAdapter.js';
2
2
  export * from './client.js';
3
3
  export * from './constants.js';
4
4
  export * from '../utils.js';
5
+ export type { SerializedAuthorization, SignedSponsoredTransaction, SponsoredTransactionCall, SponsoredTransactionStatus, SponsoredTransactionStatusResult, } from './gasless.types.js';
6
+ export { AUTHORIZED_EXECUTIONS_TYPES, BATCH_CALL_OPDATA_AUTH_MODE, DEFAULT_VALID_FOR_SECONDS, DELEGATION_CODE_PREFIX, DELEGATION_CONTRACT_ADDRESS, ERROR_GASLESS_MISSING_REQUEST_ID, ERROR_GASLESS_MISSING_YPARITY, ERROR_GASLESS_RELAY_FAILED, ERROR_GASLESS_RPC_REQUIRED, ERROR_GASLESS_RPC_REQUIRED_FOR_AUTO_DELEGATE, ERROR_GASLESS_TIMEOUT, EVM_GASLESS_DEFAULT_POLL_INTERVAL_MS, EVM_GASLESS_DEFAULT_TIMEOUT_MS, UGD_ABI, } from './gasless.constants.js';
5
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,YAAY,EACV,uBAAuB,EACvB,0BAA0B,EAC1B,wBAAwB,EACxB,0BAA0B,EAC1B,gCAAgC,GACjC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,yBAAyB,EACzB,sBAAsB,EACtB,2BAA2B,EAC3B,gCAAgC,EAChC,6BAA6B,EAC7B,0BAA0B,EAC1B,0BAA0B,EAC1B,4CAA4C,EAC5C,qBAAqB,EACrB,oCAAoC,EACpC,8BAA8B,EAC9B,OAAO,GACR,MAAM,wBAAwB,CAAC"}