@smoothsend/sdk 2.2.0 → 2.2.1

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,39 @@
1
+ import { SupportedChain, IChainAdapter, ChainConfig, TransferRequest, TransferQuote, SignatureData, SignedTransferData, TransferResult, TokenInfo } from '../types';
2
+ /**
3
+ * EVM Multi-Chain Adapter
4
+ * Handles all EVM-compatible chains (Avalanche, Polygon, Ethereum, Arbitrum, Base)
5
+ * Routes requests to the appropriate chain endpoint on the EVM relayer
6
+ */
7
+ export declare class EVMAdapter implements IChainAdapter {
8
+ readonly chain: SupportedChain;
9
+ readonly config: ChainConfig;
10
+ private httpClient;
11
+ constructor(chain: SupportedChain, config: ChainConfig, relayerUrl: string);
12
+ /**
13
+ * Build API path with chain name for EVM relayer
14
+ * EVM relayer uses /chains/{chainName} prefix for most endpoints
15
+ */
16
+ private getApiPath;
17
+ getQuote(request: TransferRequest): Promise<TransferQuote>;
18
+ prepareTransfer(request: TransferRequest, quote: TransferQuote): Promise<SignatureData>;
19
+ executeTransfer(signedData: SignedTransferData): Promise<TransferResult>;
20
+ /**
21
+ * EVM-specific batch transfer support
22
+ * Takes advantage of the EVM relayer's native batch capabilities
23
+ */
24
+ executeBatchTransfer?(signedTransfers: SignedTransferData[]): Promise<TransferResult[]>;
25
+ getTokenInfo(token: string): Promise<TokenInfo>;
26
+ getNonce(address: string): Promise<string>;
27
+ getTransactionStatus(txHash: string): Promise<any>;
28
+ validateAddress(address: string): boolean;
29
+ validateAmount(amount: string, token: string): Promise<boolean>;
30
+ /**
31
+ * EVM-specific gas estimation
32
+ */
33
+ estimateGas(transfers: any[]): Promise<any>;
34
+ /**
35
+ * EVM-specific permit support check
36
+ */
37
+ supportsPermit(tokenAddress: string): Promise<boolean>;
38
+ }
39
+ //# sourceMappingURL=evm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evm.d.ts","sourceRoot":"","sources":["../../src/adapters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AAY,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAc7D"}
@@ -0,0 +1,7 @@
1
+ import { ChainConfig, SupportedChain } from '../types';
2
+ export declare const CHAIN_CONFIGS: Record<SupportedChain, ChainConfig>;
3
+ export declare function getChainConfig(chain: SupportedChain): ChainConfig;
4
+ export declare function getAllChainConfigs(): Record<SupportedChain, ChainConfig>;
5
+ export declare const TOKEN_DECIMALS: Record<string, number>;
6
+ export declare function getTokenDecimals(token: string): number;
7
+ //# sourceMappingURL=chains.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../src/config/chains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAIvD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,cAAc,EAAE,WAAW,CA2C7D,CAAC;AAEF,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,GAAG,WAAW,CAEjE;AAED,wBAAgB,kBAAkB,IAAI,MAAM,CAAC,cAAc,EAAE,WAAW,CAAC,CAExE;AAID,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAKjD,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEtD"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AptosConfig, AnyRawTransaction, AccountAuthenticator, PendingTransactionResponse, Account } from '@aptos-labs/ts-sdk';
1
+ import { AptosConfig, AnyRawTransaction, AccountAuthenticator, PendingTransactionResponse, Account, InputGenerateTransactionPayloadData, Aptos } from '@aptos-labs/ts-sdk';
2
2
  import { AxiosRequestConfig } from 'axios';
3
3
 
4
4
  /**
@@ -1486,8 +1486,8 @@ declare class SmoothSendSDK {
1486
1486
  */
1487
1487
 
1488
1488
  /**
1489
- * Configuration options for SmoothSendTransactionSubmitter
1490
- */
1489
+ * Configuration options for SmoothSendTransactionSubmitter
1490
+ */
1491
1491
  interface SmoothSendTransactionSubmitterConfig {
1492
1492
  /**
1493
1493
  * Your SmoothSend API key
@@ -1521,6 +1521,33 @@ interface SmoothSendTransactionSubmitterConfig {
1521
1521
  * @default false
1522
1522
  */
1523
1523
  debug?: boolean;
1524
+ /**
1525
+ * Enable session key mode — user signs once, all subsequent transactions
1526
+ * are signed silently by an in-memory session key. Zero wallet popups after setup.
1527
+ *
1528
+ * Uses Aptos Account Abstraction (AIP-103 Permissioned Signers) — enforced on-chain.
1529
+ * Live on mainnet and testnet (as of April 2025).
1530
+ * SmoothSend pays gas for the one-time session setup transaction too.
1531
+ *
1532
+ * @default false
1533
+ *
1534
+ * @example
1535
+ * ```typescript
1536
+ * const smoothSend = new SmoothSendTransactionSubmitter({
1537
+ * apiKey: 'pk_nogas_xxx',
1538
+ * network: 'mainnet',
1539
+ * session: true,
1540
+ * });
1541
+ * ```
1542
+ */
1543
+ session?: boolean;
1544
+ /**
1545
+ * How long the session key stays valid.
1546
+ * Format: number + unit (s, m, h, d)
1547
+ * Use "never" for client-side indefinite session validity.
1548
+ * @default '24h'
1549
+ */
1550
+ sessionDuration?: string;
1524
1551
  }
1525
1552
  /**
1526
1553
  * TransactionSubmitter interface compatible with @aptos-labs/ts-sdk v2.x
@@ -1551,7 +1578,30 @@ declare class SmoothSendTransactionSubmitter implements TransactionSubmitter {
1551
1578
  private readonly timeout;
1552
1579
  private readonly getCaptchaToken?;
1553
1580
  private readonly debug;
1581
+ readonly sessionEnabled: boolean;
1582
+ private readonly sessionDuration;
1583
+ private _session;
1554
1584
  constructor(config: SmoothSendTransactionSubmitterConfig);
1585
+ /**
1586
+ * Whether a valid session is currently active.
1587
+ */
1588
+ hasSession(): boolean;
1589
+ /**
1590
+ * Create a session key for the given master account.
1591
+ * Called once by useSmoothSend when session: true and no session exists.
1592
+ * SmoothSend pays gas for the setup transaction.
1593
+ *
1594
+ * @param masterAccount - The user's wallet account (from wallet adapter)
1595
+ */
1596
+ createSession(masterAccount: Account): Promise<void>;
1597
+ private isPermissionedSignerEnabled;
1598
+ private signSenderAuthenticator;
1599
+ /**
1600
+ * Submit a transaction using the active session key — no wallet popup.
1601
+ * Called by useSmoothSend after session is established.
1602
+ */
1603
+ submitWithSession(functionName: `${string}::${string}::${string}`, functionArguments?: any[], typeArguments?: string[]): Promise<PendingTransactionResponse>;
1604
+ private _parseDuration;
1555
1605
  /**
1556
1606
  * Submit a transaction through SmoothSend's gasless relayer
1557
1607
  *
@@ -1612,6 +1662,10 @@ declare function createSmoothSendSubmitter(apiKey: string, options?: Partial<Omi
1612
1662
  * - Function in allowlist → fee-payer gasless path via SmoothSend
1613
1663
  * - Function not in allowlist → regular wallet submission (user pays gas)
1614
1664
  *
1665
+ * When submitter has session: true, the first transaction triggers a one-time
1666
+ * wallet sign to register a session key on-chain. Every transaction after that
1667
+ * is signed silently — zero wallet popups.
1668
+ *
1615
1669
  * Requires: react >=17, @aptos-labs/wallet-adapter-react >=3, @aptos-labs/ts-sdk >=1
1616
1670
  *
1617
1671
  * @example
@@ -1628,17 +1682,18 @@ interface UseSmoothSendResult {
1628
1682
  /**
1629
1683
  * Smart signAndSubmitTransaction — same signature as the wallet adapter's version.
1630
1684
  * Sponsored functions go gasless via SmoothSend; others fall back to user-pays-gas.
1685
+ * With session: true, zero wallet popups after the first transaction.
1631
1686
  */
1632
1687
  signAndSubmitTransaction: (input: {
1633
1688
  data: any;
1634
1689
  options?: any;
1635
1690
  }) => Promise<any>;
1691
+ /**
1692
+ * Whether a session key is currently active (only relevant when session: true).
1693
+ * Updates reactively when session is created or expires.
1694
+ */
1695
+ hasSession: boolean;
1636
1696
  }
1637
- /**
1638
- * useSmoothSend
1639
- *
1640
- * @param submitter - A SmoothSendTransactionSubmitter instance (created once, e.g. at module scope)
1641
- */
1642
1697
  declare function useSmoothSend(submitter: SmoothSendTransactionSubmitter): UseSmoothSendResult;
1643
1698
 
1644
1699
  interface CreateSessionOptions {
@@ -1654,7 +1709,7 @@ interface CreateSessionOptions {
1654
1709
  /**
1655
1710
  * How long the session should stay valid.
1656
1711
  * Format: number + unit (s = seconds, m = minutes, h = hours, d = days)
1657
- * @example '2h' | '24h' | '7d'
1712
+ * @example '2h' | '24h' | '7d' | 'never'
1658
1713
  */
1659
1714
  expiresIn: string;
1660
1715
  /**
@@ -1676,11 +1731,6 @@ interface SubmitResult {
1676
1731
  hash: string;
1677
1732
  }
1678
1733
  /**
1679
- * @experimental
1680
- * Session keys require ACCOUNT_ABSTRACTION (feature 85) and PERMISSIONED_SIGNER (feature 84)
1681
- * to be enabled on the Aptos network. As of now these features are only live on devnet/local node.
1682
- * This will be fully released when the features are activated on testnet and mainnet.
1683
- *
1684
1734
  * A session that lets your app submit transactions on behalf of a user
1685
1735
  * without any wallet popup after the initial one-time setup.
1686
1736
  *
@@ -2011,6 +2061,78 @@ declare class ScriptComposerClient {
2011
2061
  */
2012
2062
  declare function createScriptComposerClient(config: ScriptComposerConfig): ScriptComposerClient;
2013
2063
 
2064
+ /**
2065
+ * True Gasless Client
2066
+ *
2067
+ * Designed for server-side (backend) environments to securely build, sign,
2068
+ * and submit 100% sponsored gasless transactions using a Secret Key.
2069
+ *
2070
+ * @example
2071
+ * ```typescript
2072
+ * import { TrueGaslessClient } from '@smoothsend/sdk';
2073
+ * import { Account } from '@aptos-labs/ts-sdk';
2074
+ *
2075
+ * const backendWallet = Account.fromPrivateKey({ privateKey: '...' });
2076
+ * const client = new TrueGaslessClient({ apiKey: 'sk_nogas_...', network: 'mainnet' });
2077
+ *
2078
+ * const result = await client.execute({
2079
+ * senderAccount: backendWallet,
2080
+ * payload: {
2081
+ * function: "0x123::my_module::mint_nft",
2082
+ * functionArguments: []
2083
+ * }
2084
+ * });
2085
+ *
2086
+ * console.log("Gasless NFT Minted!", result.txHash);
2087
+ * ```
2088
+ */
2089
+
2090
+ interface TrueGaslessConfig {
2091
+ /** API key for authentication (must be sk_nogas_* for backend) */
2092
+ apiKey: string;
2093
+ /** Network to use: 'testnet' | 'mainnet' */
2094
+ network: 'testnet' | 'mainnet';
2095
+ /** Custom proxy URL (optional) */
2096
+ proxyUrl?: string;
2097
+ /** Request timeout in milliseconds */
2098
+ timeout?: number;
2099
+ /** Enable debug logging */
2100
+ debug?: boolean;
2101
+ }
2102
+ interface ExecuteGaslessParams {
2103
+ /** The backend sender wallet identity */
2104
+ senderAccount: Account;
2105
+ /** Raw transaction payload to execute */
2106
+ payload: InputGenerateTransactionPayloadData;
2107
+ }
2108
+ interface ExecuteGaslessResult {
2109
+ success: boolean;
2110
+ requestId?: string;
2111
+ txHash?: string;
2112
+ gasUsed?: string;
2113
+ vmStatus?: string;
2114
+ sender?: string;
2115
+ }
2116
+ declare class TrueGaslessClient {
2117
+ private httpClient;
2118
+ private config;
2119
+ private aptos;
2120
+ constructor(config: TrueGaslessConfig);
2121
+ private log;
2122
+ /**
2123
+ * Builds, signs (as sender), and relays an arbitrary payload for complete sponsorship.
2124
+ */
2125
+ execute(params: ExecuteGaslessParams): Promise<ExecuteGaslessResult>;
2126
+ /**
2127
+ * Expose the core Aptos instance to allow backend developers to access chain state if needed
2128
+ */
2129
+ getAptosClient(): Aptos;
2130
+ }
2131
+ /**
2132
+ * Helper to initialize TrueGaslessClient
2133
+ */
2134
+ declare function createTrueGaslessClient(config: TrueGaslessConfig): TrueGaslessClient;
2135
+
2014
2136
  /**
2015
2137
  * Aptos Multi-Chain Adapter - v2 Proxy Architecture
2016
2138
  * Handles all Aptos chains (aptos-testnet, aptos-mainnet)
@@ -2119,6 +2241,8 @@ interface HttpClientConfig {
2119
2241
  retries?: number;
2120
2242
  customHeaders?: Record<string, string>;
2121
2243
  includeOrigin?: boolean;
2244
+ /** Override the default proxy base URL (e.g. for self-hosted relayers) */
2245
+ baseUrl?: string;
2122
2246
  }
2123
2247
  /**
2124
2248
  * HTTP Client for proxy worker integration
@@ -2422,7 +2546,7 @@ declare class StellarAdapter implements IChainAdapter {
2422
2546
  * SDK version
2423
2547
  * @public
2424
2548
  */
2425
- declare const VERSION = "2.2.0";
2549
+ declare const VERSION = "2.2.1";
2426
2550
 
2427
- export { APTOS_ERROR_CODES, AptosAdapter, AuthenticationError, CHAIN_ECOSYSTEM_MAP, HttpClient, NetworkError, RateLimitError, STELLAR_ERROR_CODES, ScriptComposerClient, SmoothSendError, SmoothSendSDK, SmoothSendSession, SmoothSendTransactionSubmitter, StellarAdapter, StellarCAddressAdapter, VERSION, ValidationError, createErrorFromResponse, createNetworkError, createScriptComposerClient, createSmoothSendSubmitter, SmoothSendSDK as default, useSmoothSend };
2428
- export type { ApiResponse, AptosErrorCode, AptosTransferData, AptosWallet, AvalancheTransferData, BatchRelayTransferRequest, BatchTransferRequest, BuildTransferParams, BuildTransferResult, CAddressBalance, CAddressBalanceResult, CAddressBuildTransferResult, CAddressCreateResult, CAddressHealthResult, CAddressHistoryResult, CAddressLookupResult, CAddressSubmitResult, CAddressTransaction, ChainConfig, ChainEcosystem, ChainInfo, CreateSessionOptions, DomainSeparatorResponse, EVMTransferData, ErrorResponse, EstimateGasRequest, EventListener, FeeEstimate, FeeEstimateResult, GasEstimateResponse, HealthResponse, IChainAdapter, PermitData, PrepareSignatureRequest, PrepareSignatureResponse, RelayTransferRequest, RelayTransferResponse, ScriptComposerConfig, SessionInfo, SignatureData, SignedTransferData, SmoothSendConfig, SmoothSendTransactionSubmitterConfig, StellarWallet, SubmitResult, SubmitSignedTransactionParams, SubmitTransactionResult, SuccessResponse, SupportedChain, TokenBalance, TokenInfo, TransactionSubmitter, TransferData, TransferEvent, TransferQuote, TransferQuoteRequest, TransferQuoteResponse, TransferRequest, TransferResult, TransferStatusResponse, UsageMetadata, UseSmoothSendResult };
2551
+ export { APTOS_ERROR_CODES, AptosAdapter, AuthenticationError, CHAIN_ECOSYSTEM_MAP, HttpClient, NetworkError, RateLimitError, STELLAR_ERROR_CODES, ScriptComposerClient, SmoothSendError, SmoothSendSDK, SmoothSendSession, SmoothSendTransactionSubmitter, StellarAdapter, StellarCAddressAdapter, TrueGaslessClient, VERSION, ValidationError, createErrorFromResponse, createNetworkError, createScriptComposerClient, createSmoothSendSubmitter, createTrueGaslessClient, SmoothSendSDK as default, useSmoothSend };
2552
+ export type { ApiResponse, AptosErrorCode, AptosTransferData, AptosWallet, AvalancheTransferData, BatchRelayTransferRequest, BatchTransferRequest, BuildTransferParams, BuildTransferResult, CAddressBalance, CAddressBalanceResult, CAddressBuildTransferResult, CAddressCreateResult, CAddressHealthResult, CAddressHistoryResult, CAddressLookupResult, CAddressSubmitResult, CAddressTransaction, ChainConfig, ChainEcosystem, ChainInfo, CreateSessionOptions, DomainSeparatorResponse, EVMTransferData, ErrorResponse, EstimateGasRequest, EventListener, ExecuteGaslessParams, ExecuteGaslessResult, FeeEstimate, FeeEstimateResult, GasEstimateResponse, HealthResponse, IChainAdapter, PermitData, PrepareSignatureRequest, PrepareSignatureResponse, RelayTransferRequest, RelayTransferResponse, ScriptComposerConfig, SessionInfo, SignatureData, SignedTransferData, SmoothSendConfig, SmoothSendTransactionSubmitterConfig, StellarWallet, SubmitResult, SubmitSignedTransactionParams, SubmitTransactionResult, SuccessResponse, SupportedChain, TokenBalance, TokenInfo, TransactionSubmitter, TransferData, TransferEvent, TransferQuote, TransferQuoteRequest, TransferQuoteResponse, TransferRequest, TransferResult, TransferStatusResponse, TrueGaslessConfig, UsageMetadata, UseSmoothSendResult };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAIrD,OAAO,EACL,8BAA8B,EAC9B,yBAAyB,EACzB,KAAK,oCAAoC,EACzC,KAAK,oBAAoB,EACzB,aAAa,EACb,KAAK,mBAAmB,GACzB,MAAM,kBAAkB,CAAC;AAI1B,OAAO,EACL,iBAAiB,EACjB,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK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