@smoothsend/sdk 2.2.1 → 2.2.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/dist/index.d.ts CHANGED
@@ -1,4 +1,8 @@
1
1
  import { AptosConfig, AnyRawTransaction, AccountAuthenticator, PendingTransactionResponse, Account, InputGenerateTransactionPayloadData, Aptos } from '@aptos-labs/ts-sdk';
2
+ import { Address, Hex, PublicClient, WalletClient } from 'viem';
3
+ import { UserOperation } from 'viem/account-abstraction';
4
+ import * as react_jsx_runtime from 'react/jsx-runtime';
5
+ import { ReactNode } from 'react';
2
6
  import { AxiosRequestConfig } from 'axios';
3
7
 
4
8
  /**
@@ -1696,6 +1700,303 @@ interface UseSmoothSendResult {
1696
1700
  }
1697
1701
  declare function useSmoothSend(submitter: SmoothSendTransactionSubmitter): UseSmoothSendResult;
1698
1702
 
1703
+ /**
1704
+ * AVAX / ERC-4337 v0.7 types aligned with `chains/avax/bundler` API shapes.
1705
+ */
1706
+ type AvaxSponsorshipMode = 'developer-sponsored' | 'user-pays-erc20';
1707
+ /** Unpacked UserOperation as accepted by the bundler JSON-RPC + paymaster/sign */
1708
+ interface UserOperationAvax {
1709
+ sender: string;
1710
+ nonce: string;
1711
+ factory?: string;
1712
+ factoryData?: string;
1713
+ initCode?: string;
1714
+ callData: string;
1715
+ callGasLimit?: string;
1716
+ verificationGasLimit?: string;
1717
+ preVerificationGas?: string;
1718
+ maxFeePerGas?: string;
1719
+ maxPriorityFeePerGas?: string;
1720
+ paymaster?: string;
1721
+ paymasterVerificationGasLimit?: string;
1722
+ paymasterPostOpGasLimit?: string;
1723
+ paymasterData?: string;
1724
+ accountGasLimits?: string;
1725
+ gasFees?: string;
1726
+ paymasterAndData?: string;
1727
+ /** Empty (`0x`) until the wallet/account signs the hash UserOp */
1728
+ signature: string;
1729
+ }
1730
+ interface GasEstimateAvax {
1731
+ preVerificationGas: string;
1732
+ verificationGasLimit: string;
1733
+ callGasLimit: string;
1734
+ paymasterVerificationGasLimit?: string;
1735
+ paymasterPostOpGasLimit?: string;
1736
+ }
1737
+ interface PaymasterSignRequestAvax {
1738
+ mode: AvaxSponsorshipMode;
1739
+ userOp: UserOperationAvax;
1740
+ token?: string;
1741
+ receiver?: string;
1742
+ precheckBalance?: boolean;
1743
+ prepaymentRequired?: boolean;
1744
+ allowAnyBundler?: boolean;
1745
+ sponsorUUID?: string;
1746
+ }
1747
+ interface PaymasterSignResponseAvax {
1748
+ success: boolean;
1749
+ requestId?: string;
1750
+ network?: string;
1751
+ paymasterAndData: string;
1752
+ paymasterData?: string;
1753
+ signature?: string;
1754
+ exchangeRate?: string;
1755
+ paymasterDataParts?: Record<string, string>;
1756
+ error?: string;
1757
+ }
1758
+ interface UserOperationReceiptAvax {
1759
+ userOpHash: string;
1760
+ sender: string;
1761
+ nonce: string;
1762
+ paymaster: string;
1763
+ success: boolean;
1764
+ actualGasCost: string;
1765
+ actualGasUsed: string;
1766
+ reason?: string;
1767
+ logs: unknown[];
1768
+ receipt: {
1769
+ transactionHash: string;
1770
+ blockNumber: number;
1771
+ blockHash: string;
1772
+ };
1773
+ }
1774
+ /** Partial UserOp before estimate/paymaster (signature optional, usually `0x` until wallet signs). */
1775
+ type SponsoredUserOpDraftAvax = Omit<UserOperationAvax, 'signature'> & {
1776
+ signature?: string;
1777
+ };
1778
+
1779
+ /**
1780
+ * Avalanche ERC-4337 (EntryPoint v0.7) via SmoothSend gateway — same idea as Aptos submitter.
1781
+ *
1782
+ * Minimal dApp flow:
1783
+ * ```ts
1784
+ * const avax = new SmoothSendAvaxSubmitter({ apiKey, network: 'testnet' });
1785
+ * await avax.submitSponsoredUserOperation({ userOp: draft, signUserOp: wallet.sign });
1786
+ * ```
1787
+ */
1788
+
1789
+ /** Options for {@link SmoothSendAvaxSubmitter.submitSponsoredUserOperation} */
1790
+ interface SubmitSponsoredAvaxUserOpOptions {
1791
+ /** Sender must match your smart account; nonce/callData/fees from your app */
1792
+ userOp: SponsoredUserOpDraftAvax;
1793
+ /** Wallet / viem / ethers signs the UserOp hash your stack expects */
1794
+ signUserOp: (userOp: UserOperationAvax) => Promise<string>;
1795
+ mode?: AvaxSponsorshipMode;
1796
+ /** Defaults to first entry point from `eth_supportedEntryPoints` */
1797
+ entryPoint?: string;
1798
+ /** Extra `paymaster/sign` fields (`token`, `receiver`, …) for user-pays-ERC20 */
1799
+ paymaster?: Omit<PaymasterSignRequestAvax, 'mode' | 'userOp'>;
1800
+ /** @default true */
1801
+ waitForReceipt?: boolean;
1802
+ receiptPoll?: {
1803
+ pollMs?: number;
1804
+ timeoutMs?: number;
1805
+ };
1806
+ }
1807
+ interface SmoothSendAvaxSubmitterConfig {
1808
+ apiKey: string;
1809
+ network?: 'testnet' | 'mainnet';
1810
+ gatewayUrl?: string;
1811
+ timeout?: number;
1812
+ /**
1813
+ * Gateway chain routing bucket. Default `avalanche` matches `core/gateway` routing.
1814
+ */
1815
+ chain?: string;
1816
+ /**
1817
+ * Public keys (`pk_nogas_*`) require an `Origin` header matching your project's allowed CORS origins.
1818
+ * Set this for Node/scripts (e.g. `http://localhost:5173`). Browsers send Origin automatically.
1819
+ */
1820
+ corsOrigin?: string;
1821
+ }
1822
+ declare class SmoothSendAvaxSubmitter {
1823
+ private readonly config;
1824
+ private readonly http;
1825
+ private rpcId;
1826
+ constructor(config: SmoothSendAvaxSubmitterConfig);
1827
+ getConfig(): Readonly<SmoothSendAvaxSubmitterConfig>;
1828
+ /** Merge gas estimate fields into a partial UserOp */
1829
+ static applyGasEstimate(userOp: UserOperationAvax, gas: GasEstimateAvax): UserOperationAvax;
1830
+ /** Attach packed paymaster data returned from {@link paymasterSign} */
1831
+ static applyPaymasterAndData(userOp: UserOperationAvax, paymasterAndData: string): UserOperationAvax;
1832
+ getChainId(): Promise<string>;
1833
+ getSupportedEntryPoints(): Promise<string[]>;
1834
+ estimateUserOperationGas(userOp: UserOperationAvax, entryPoint: string): Promise<GasEstimateAvax>;
1835
+ sendUserOperation(userOp: UserOperationAvax, entryPoint: string): Promise<string>;
1836
+ getUserOperationReceipt(userOpHash: string): Promise<UserOperationReceiptAvax | null>;
1837
+ waitForUserOperationReceipt(userOpHash: string, options?: {
1838
+ pollMs?: number;
1839
+ timeoutMs?: number;
1840
+ }): Promise<UserOperationReceiptAvax | null>;
1841
+ paymasterSign(body: PaymasterSignRequestAvax): Promise<PaymasterSignResponseAvax>;
1842
+ getBundlerHealth(): Promise<unknown>;
1843
+ /**
1844
+ * One call: estimate gas → paymaster/sign → merge → your sign → send → (optional) wait for receipt.
1845
+ */
1846
+ submitSponsoredUserOperation(opts: SubmitSponsoredAvaxUserOpOptions): Promise<{
1847
+ userOpHash: string;
1848
+ receipt: UserOperationReceiptAvax | null;
1849
+ }>;
1850
+ private rpc;
1851
+ }
1852
+ /**
1853
+ * @alias {@link SmoothSendAvaxSubmitter}
1854
+ */
1855
+ declare const AvaxSubmitter: typeof SmoothSendAvaxSubmitter;
1856
+ declare function createSmoothSendAvaxSubmitter(config: SmoothSendAvaxSubmitterConfig): SmoothSendAvaxSubmitter;
1857
+
1858
+ /**
1859
+ * Viem helpers for ERC-4337 v0.7 + common smart-account `execute` encoding.
1860
+ * Peer dependency: `viem` (optional install).
1861
+ */
1862
+
1863
+ /** Typical SimpleAccount-style `execute(dest,value,func)`. */
1864
+ declare const avaxExecuteAbi: readonly [{
1865
+ readonly name: "execute";
1866
+ readonly type: "function";
1867
+ readonly stateMutability: "nonpayable";
1868
+ readonly inputs: readonly [{
1869
+ readonly name: "dest";
1870
+ readonly type: "address";
1871
+ }, {
1872
+ readonly name: "value";
1873
+ readonly type: "uint256";
1874
+ }, {
1875
+ readonly name: "func";
1876
+ readonly type: "bytes";
1877
+ }];
1878
+ readonly outputs: readonly [];
1879
+ }];
1880
+ declare function encodeAvaxExecuteCalldata(to: Address, value: bigint, data?: Hex): Hex;
1881
+ /** Convert API UserOp → viem shape for {@link getUserOperationHash}. */
1882
+ declare function userOperationAvaxToViem(u: UserOperationAvax): UserOperation<'0.7'>;
1883
+ declare function hashUserOperationAvax(params: {
1884
+ chainId: number;
1885
+ entryPointAddress: Address;
1886
+ userOperation: UserOperationAvax;
1887
+ }): Hex;
1888
+ /** EntryPoint v0.7 `getNonce(sender, key)` with key `0`. */
1889
+ declare function readAvaxSenderNonce(params: {
1890
+ publicClient: PublicClient;
1891
+ entryPointAddress: Address;
1892
+ sender: Address;
1893
+ key?: bigint;
1894
+ }): Promise<bigint>;
1895
+
1896
+ /**
1897
+ * Standard SimpleAccountFactory (EntryPoint v0.7) helpers for counterfactual address + init calldata.
1898
+ */
1899
+
1900
+ /** Minimal ABI for eth-infinitism–style SimpleAccountFactory. */
1901
+ declare const SIMPLE_ACCOUNT_FACTORY_ABI: readonly [{
1902
+ readonly inputs: readonly [{
1903
+ readonly name: "owner";
1904
+ readonly type: "address";
1905
+ }, {
1906
+ readonly name: "salt";
1907
+ readonly type: "uint256";
1908
+ }];
1909
+ readonly name: "createAccount";
1910
+ readonly outputs: readonly [{
1911
+ readonly name: "account";
1912
+ readonly type: "address";
1913
+ }];
1914
+ readonly stateMutability: "nonpayable";
1915
+ readonly type: "function";
1916
+ }, {
1917
+ readonly inputs: readonly [{
1918
+ readonly name: "owner";
1919
+ readonly type: "address";
1920
+ }, {
1921
+ readonly name: "salt";
1922
+ readonly type: "uint256";
1923
+ }];
1924
+ readonly name: "getAddress";
1925
+ readonly outputs: readonly [{
1926
+ readonly name: "";
1927
+ readonly type: "address";
1928
+ }];
1929
+ readonly stateMutability: "view";
1930
+ readonly type: "function";
1931
+ }];
1932
+ declare function predictSimpleAccountAddress(params: {
1933
+ publicClient: PublicClient;
1934
+ factory: Address;
1935
+ owner: Address;
1936
+ salt?: bigint;
1937
+ }): Promise<Address>;
1938
+ declare function encodeCreateAccountFactoryData(owner: Address, salt: bigint): Hex;
1939
+
1940
+ /**
1941
+ * Public gateway defaults for Avalanche AA (no API key).
1942
+ */
1943
+ /** Canonical ERC-4337 EntryPoint v0.7 on Fuji / Avalanche C-Chain */
1944
+ declare const ENTRY_POINT_V07_ADDRESS: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
1945
+ type AvaxAaPublicDefaults = {
1946
+ success?: boolean;
1947
+ simpleAccountFactoryFuji: `0x${string}` | null;
1948
+ entryPointV07: typeof ENTRY_POINT_V07_ADDRESS;
1949
+ };
1950
+ /**
1951
+ * Fetch SimpleAccount factory hint from SmoothSend gateway (GET; no auth).
1952
+ * Ops configure {@link https://proxy.smoothsend.xyz} `AVAX_FUJI_SIMPLE_ACCOUNT_FACTORY`; until then this returns null.
1953
+ */
1954
+ declare function fetchAvaxAaPublicDefaults(gatewayUrl?: string): Promise<AvaxAaPublicDefaults>;
1955
+
1956
+ type SmoothSendAvaxContextValue = {
1957
+ apiKey: string;
1958
+ network: 'testnet' | 'mainnet';
1959
+ /** Set when the SCW is already known. If you use `accountFactory`, you can omit this. */
1960
+ smartAccountAddress?: Address;
1961
+ /**
1962
+ * SimpleAccountFactory (v0.7). When set, the hook derives the counterfactual sender via
1963
+ * `getAddress(owner, salt)` and, if the account has no code, adds `factory` + `factoryData` so the
1964
+ * first sponsored UserOp deploys the SCW and runs `callData` in the same op.
1965
+ */
1966
+ accountFactory?: Address;
1967
+ accountSalt?: bigint;
1968
+ };
1969
+ declare function SmoothSendAvaxProvider({ apiKey, network, smartAccountAddress, accountFactory, accountSalt, children, }: {
1970
+ apiKey: string;
1971
+ network?: 'testnet' | 'mainnet';
1972
+ smartAccountAddress?: Address;
1973
+ accountFactory?: Address;
1974
+ accountSalt?: bigint;
1975
+ children: ReactNode;
1976
+ }): react_jsx_runtime.JSX.Element;
1977
+ declare function useSmoothSendAvaxContext(): SmoothSendAvaxContextValue | null;
1978
+ type UseSmoothSendAvaxParams = {
1979
+ apiKey?: string;
1980
+ network?: 'testnet' | 'mainnet';
1981
+ smartAccountAddress?: Address;
1982
+ accountFactory?: Address;
1983
+ /** @default 0n */
1984
+ accountSalt?: bigint;
1985
+ publicClient: PublicClient | null | undefined;
1986
+ walletClient: WalletClient | null | undefined;
1987
+ };
1988
+ declare function useSmoothSendAvax(params: UseSmoothSendAvaxParams): {
1989
+ submitter: SmoothSendAvaxSubmitter;
1990
+ submitCall: (args: {
1991
+ to: Address;
1992
+ data?: Hex;
1993
+ value?: bigint;
1994
+ mode?: AvaxSponsorshipMode;
1995
+ paymaster?: Omit<PaymasterSignRequestAvax, 'mode' | 'userOp'>;
1996
+ waitForReceipt?: boolean;
1997
+ }) => ReturnType<SmoothSendAvaxSubmitter['submitSponsoredUserOperation']>;
1998
+ };
1999
+
1699
2000
  interface CreateSessionOptions {
1700
2001
  /**
1701
2002
  * The master account that owns the Aptos address.
@@ -2548,5 +2849,5 @@ declare class StellarAdapter implements IChainAdapter {
2548
2849
  */
2549
2850
  declare const VERSION = "2.2.1";
2550
2851
 
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 };
2852
+ export { APTOS_ERROR_CODES, AptosAdapter, AuthenticationError, AvaxSubmitter, CHAIN_ECOSYSTEM_MAP, ENTRY_POINT_V07_ADDRESS, HttpClient, NetworkError, RateLimitError, SIMPLE_ACCOUNT_FACTORY_ABI, STELLAR_ERROR_CODES, ScriptComposerClient, SmoothSendAvaxProvider, SmoothSendAvaxSubmitter, SmoothSendError, SmoothSendSDK, SmoothSendSession, SmoothSendTransactionSubmitter, StellarAdapter, StellarCAddressAdapter, TrueGaslessClient, VERSION, ValidationError, avaxExecuteAbi, createErrorFromResponse, createNetworkError, createScriptComposerClient, createSmoothSendAvaxSubmitter, createSmoothSendSubmitter, createTrueGaslessClient, SmoothSendSDK as default, encodeAvaxExecuteCalldata, encodeCreateAccountFactoryData, fetchAvaxAaPublicDefaults, hashUserOperationAvax, predictSimpleAccountAddress, readAvaxSenderNonce, useSmoothSend, useSmoothSendAvax, useSmoothSendAvaxContext, userOperationAvaxToViem };
2853
+ export type { ApiResponse, AptosErrorCode, AptosTransferData, AptosWallet, AvalancheTransferData, AvaxAaPublicDefaults, AvaxSponsorshipMode, 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, GasEstimateAvax, GasEstimateResponse, HealthResponse, IChainAdapter, PaymasterSignRequestAvax, PaymasterSignResponseAvax, PermitData, PrepareSignatureRequest, PrepareSignatureResponse, RelayTransferRequest, RelayTransferResponse, ScriptComposerConfig, SessionInfo, SignatureData, SignedTransferData, SmoothSendAvaxContextValue, SmoothSendAvaxSubmitterConfig, SmoothSendConfig, SmoothSendTransactionSubmitterConfig, SponsoredUserOpDraftAvax, StellarWallet, SubmitResult, SubmitSignedTransactionParams, SubmitSponsoredAvaxUserOpOptions, SubmitTransactionResult, SuccessResponse, SupportedChain, TokenBalance, TokenInfo, TransactionSubmitter, TransferData, TransferEvent, TransferQuote, TransferQuoteRequest, TransferQuoteResponse, TransferRequest, TransferResult, TransferStatusResponse, TrueGaslessConfig, UsageMetadata, UseSmoothSendAvaxParams, UseSmoothSendResult, UserOperationAvax, UserOperationReceiptAvax };
@@ -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,YAAY,GAClB,MAAM,WAAW,CAAC;AAInB,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,6BAA6B,EAClC,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,GACvB,MAAM,mBAAmB,CAAC;AAI3B,OAA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