@account-kit/infra 4.53.3-alpha.1 → 4.53.3-alpha.3
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/esm/chains.d.ts +2 -0
- package/dist/esm/chains.js +46 -0
- package/dist/esm/chains.js.map +1 -1
- package/dist/esm/{client/decorators/alchemyEnhancedApis.d.ts → enhancedApi/alchemyEnhancedApisDecorator.d.ts} +2 -2
- package/dist/esm/{client/decorators/alchemyEnhancedApis.js → enhancedApi/alchemyEnhancedApisDecorator.js} +3 -3
- package/dist/esm/enhancedApi/alchemyEnhancedApisDecorator.js.map +1 -0
- package/dist/esm/enhancedApi/schema.d.ts +3 -0
- package/dist/esm/enhancedApi/schema.js +4 -0
- package/dist/esm/enhancedApi/schema.js.map +1 -0
- package/dist/esm/exports/enhancedApi.d.ts +3 -0
- package/dist/esm/exports/enhancedApi.js +2 -0
- package/dist/esm/exports/enhancedApi.js.map +1 -0
- package/dist/esm/exports/index.d.ts +23 -0
- package/dist/esm/exports/index.js +14 -0
- package/dist/esm/exports/index.js.map +1 -0
- package/dist/esm/schema.d.ts +0 -2
- package/dist/esm/schema.js +0 -2
- package/dist/esm/schema.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/types/chains.d.ts +2 -0
- package/dist/types/chains.d.ts.map +1 -1
- package/dist/types/{client/decorators/alchemyEnhancedApis.d.ts → enhancedApi/alchemyEnhancedApisDecorator.d.ts} +3 -3
- package/dist/types/enhancedApi/alchemyEnhancedApisDecorator.d.ts.map +1 -0
- package/dist/types/enhancedApi/schema.d.ts +4 -0
- package/dist/types/enhancedApi/schema.d.ts.map +1 -0
- package/dist/types/exports/enhancedApi.d.ts +4 -0
- package/dist/types/exports/enhancedApi.d.ts.map +1 -0
- package/dist/types/exports/index.d.ts +24 -0
- package/dist/types/exports/index.d.ts.map +1 -0
- package/dist/types/schema.d.ts +0 -2
- package/dist/types/schema.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +17 -12
- package/src/chains.ts +48 -0
- package/src/{client/decorators/alchemyEnhancedApis.ts → enhancedApi/alchemyEnhancedApisDecorator.ts} +3 -3
- package/src/enhancedApi/schema.ts +4 -0
- package/src/exports/enhancedApi.ts +3 -0
- package/src/exports/index.ts +74 -0
- package/src/schema.ts +0 -3
- package/src/version.ts +1 -1
- package/dist/esm/client/decorators/alchemyEnhancedApis.js.map +0 -1
- package/dist/esm/index.d.ts +0 -25
- package/dist/esm/index.js +0 -15
- package/dist/esm/index.js.map +0 -1
- package/dist/types/client/decorators/alchemyEnhancedApis.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -26
- package/dist/types/index.d.ts.map +0 -1
- package/src/index.ts +0 -74
package/dist/esm/chains.d.ts
CHANGED
package/dist/esm/chains.js
CHANGED
|
@@ -644,4 +644,50 @@ export const teaSepolia = defineChain({
|
|
|
644
644
|
},
|
|
645
645
|
testnet: true,
|
|
646
646
|
});
|
|
647
|
+
export const bobaSepolia = defineChain({
|
|
648
|
+
id: 28882,
|
|
649
|
+
name: "Boba Sepolia",
|
|
650
|
+
nativeCurrency: { name: "eth", symbol: "eth", decimals: 18 },
|
|
651
|
+
rpcUrls: {
|
|
652
|
+
default: {
|
|
653
|
+
http: ["https://boba-sepolia.g.alchemy.com/v2"],
|
|
654
|
+
},
|
|
655
|
+
public: {
|
|
656
|
+
http: ["https://boba-sepolia.g.alchemy.com/v2"],
|
|
657
|
+
},
|
|
658
|
+
alchemy: {
|
|
659
|
+
http: ["https://boba-sepolia.g.alchemy.com/v2"],
|
|
660
|
+
},
|
|
661
|
+
},
|
|
662
|
+
blockExplorers: {
|
|
663
|
+
default: {
|
|
664
|
+
name: "Block Explorer",
|
|
665
|
+
url: "https://sepolia.testnet.bobascan.com/",
|
|
666
|
+
},
|
|
667
|
+
},
|
|
668
|
+
testnet: true,
|
|
669
|
+
});
|
|
670
|
+
export const bobaMainnet = defineChain({
|
|
671
|
+
id: 288,
|
|
672
|
+
name: "Boba Mainnet",
|
|
673
|
+
nativeCurrency: { name: "eth", symbol: "eth", decimals: 18 },
|
|
674
|
+
rpcUrls: {
|
|
675
|
+
default: {
|
|
676
|
+
http: ["https://boba-mainnet.g.alchemy.com/v2"],
|
|
677
|
+
},
|
|
678
|
+
public: {
|
|
679
|
+
http: ["https://boba-mainnet.g.alchemy.com/v2"],
|
|
680
|
+
},
|
|
681
|
+
alchemy: {
|
|
682
|
+
http: ["https://boba-mainnet.g.alchemy.com/v2"],
|
|
683
|
+
},
|
|
684
|
+
},
|
|
685
|
+
blockExplorers: {
|
|
686
|
+
default: {
|
|
687
|
+
name: "Block Explorer",
|
|
688
|
+
url: "https://bobascan.com/",
|
|
689
|
+
},
|
|
690
|
+
},
|
|
691
|
+
testnet: false,
|
|
692
|
+
});
|
|
647
693
|
//# sourceMappingURL=chains.js.map
|
package/dist/esm/chains.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chains.js","sourceRoot":"","sources":["../../src/chains.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EACL,QAAQ,IAAI,GAAG,EACf,cAAc,IAAI,IAAI,EACtB,eAAe,IAAI,IAAI,EACvB,IAAI,IAAI,KAAK,EACb,UAAU,IAAI,MAAM,EACpB,WAAW,IAAI,MAAM,EACrB,OAAO,IAAI,KAAK,EAChB,MAAM,IAAI,GAAG,EACb,OAAO,IAAI,KAAK,EAChB,QAAQ,IAAI,GAAG,EACf,cAAc,IAAI,IAAI,EACtB,eAAe,IAAI,IAAI,EACvB,OAAO,IAAI,GAAG,EACd,WAAW,IAAI,IAAI,EACnB,aAAa,IAAI,IAAI,EACrB,OAAO,IAAI,IAAI,EACf,YAAY,IAAI,IAAI,EACpB,IAAI,IAAI,KAAK,EACb,WAAW,IAAI,MAAM,GACtB,MAAM,aAAa,CAAC;AAO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EAAE,wCAAwC;SAC9C;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,WAAW,GAAU,WAAW,CAAC;IAC5C,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,cAAc;IACpB,cAAc,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC3E,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,uCAAuC,CAAC;SAChD;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,uCAAuC,CAAC;SAChD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,uCAAuC,CAAC;SAChD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,gBAAgB;YACtB,GAAG,EAAE,8BAA8B;SACpC;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAU,WAAW,CAAC;IAC3C,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,aAAa;IACnB,cAAc,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,sCAAsC,CAAC;SAC/C;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,sCAAsC,CAAC;SAC/C;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,sCAAsC,CAAC;SAC/C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,gBAAgB;YACtB,GAAG,EAAE,0BAA0B;SAChC;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAC","sourcesContent":["import type { Chain } from \"viem\";\n\nimport { defineChain } from \"viem\";\nimport {\n arbitrum as vab,\n arbitrumGoerli as vabg,\n arbitrumSepolia as vabs,\n base as vbase,\n baseGoerli as vbaseg,\n baseSepolia as vbases,\n fraxtal as vfrax,\n goerli as vgo,\n mainnet as vmain,\n optimism as vop,\n optimismGoerli as vopg,\n optimismSepolia as vops,\n polygon as vpg,\n polygonAmoy as vpga,\n polygonMumbai as vpgm,\n sepolia as vsep,\n arbitrumNova as vabn,\n zora as vzora,\n zoraSepolia as vzoras,\n} from \"viem/chains\";\n\nexport type AlchemyChainConfig = {\n chain: Chain;\n rpcBaseUrl: string;\n};\n\n/**\n * Defines an Alchemy chain configuration by adding an Alchemy-specific RPC base URL to the chain's RPC URLs.\n *\n * @example\n * ```ts\n * import { defineAlchemyChain } from \"@account-kit/infra\";\n * import { sepolia } from \"viem/chains\";\n *\n * const chain = defineAlchemyChain({\n * chain: sepolia,\n * rpcBaseUrl: \"https://eth-sepolia.g.alchemy.com/v2\"\n * });\n * ```\n *\n * @param {AlchemyChainConfig} params The parameters for defining the Alchemy chain\n * @param {Chain} params.chain The original chain configuration\n * @param {string} params.rpcBaseUrl The Alchemy-specific RPC base URL\n * @returns {Chain} The updated chain configuration with the Alchemy RPC URL added\n */\nexport const defineAlchemyChain = ({\n chain,\n rpcBaseUrl,\n}: {\n chain: Chain;\n rpcBaseUrl: string;\n}): Chain => {\n return {\n ...chain,\n rpcUrls: {\n ...chain.rpcUrls,\n alchemy: {\n http: [rpcBaseUrl],\n },\n },\n };\n};\n\nexport const arbitrum: Chain = {\n ...vab,\n rpcUrls: {\n ...vab.rpcUrls,\n alchemy: {\n http: [\"https://arb-mainnet.g.alchemy.com/v2\"],\n },\n },\n};\n\nexport const arbitrumGoerli: Chain = {\n ...vabg,\n rpcUrls: {\n ...vabg.rpcUrls,\n alchemy: {\n http: [\"https://arb-goerli.g.alchemy.com/v2\"],\n },\n },\n};\n\nexport const arbitrumSepolia: Chain = {\n ...vabs,\n rpcUrls: {\n ...vabs.rpcUrls,\n alchemy: {\n http: [\"https://arb-sepolia.g.alchemy.com/v2\"],\n },\n },\n};\nexport const goerli: Chain = {\n ...vgo,\n rpcUrls: {\n ...vgo.rpcUrls,\n alchemy: {\n http: [\"https://eth-goerli.g.alchemy.com/v2\"],\n },\n },\n};\nexport const mainnet: Chain = {\n ...vmain,\n rpcUrls: {\n ...vmain.rpcUrls,\n alchemy: {\n http: [\"https://eth-mainnet.g.alchemy.com/v2\"],\n },\n },\n};\nexport const optimism: Chain = {\n ...vop,\n rpcUrls: {\n ...vop.rpcUrls,\n alchemy: {\n http: [\"https://opt-mainnet.g.alchemy.com/v2\"],\n },\n },\n};\nexport const optimismGoerli: Chain = {\n ...vopg,\n rpcUrls: {\n ...vopg.rpcUrls,\n alchemy: {\n http: [\"https://opt-goerli.g.alchemy.com/v2\"],\n },\n },\n};\nexport const optimismSepolia: Chain = {\n ...vops,\n rpcUrls: {\n ...vops.rpcUrls,\n alchemy: {\n http: [\"https://opt-sepolia.g.alchemy.com/v2\"],\n },\n },\n};\nexport const sepolia: Chain = {\n ...vsep,\n rpcUrls: {\n ...vsep.rpcUrls,\n alchemy: {\n http: [\"https://eth-sepolia.g.alchemy.com/v2\"],\n },\n },\n};\nexport const base: Chain = {\n ...vbase,\n rpcUrls: {\n ...vbase.rpcUrls,\n alchemy: {\n http: [\"https://base-mainnet.g.alchemy.com/v2\"],\n },\n },\n};\nexport const baseGoerli: Chain = {\n ...vbaseg,\n rpcUrls: {\n ...vbaseg.rpcUrls,\n alchemy: {\n http: [\"https://base-goerli.g.alchemy.com/v2\"],\n },\n },\n};\nexport const baseSepolia: Chain = {\n ...vbases,\n rpcUrls: {\n ...vbases.rpcUrls,\n alchemy: {\n http: [\"https://base-sepolia.g.alchemy.com/v2\"],\n },\n },\n};\n\nexport const polygonMumbai: Chain = {\n ...vpgm,\n rpcUrls: {\n ...vpgm.rpcUrls,\n alchemy: {\n http: [\"https://polygon-mumbai.g.alchemy.com/v2\"],\n },\n },\n};\n\nexport const polygonAmoy: Chain = {\n ...vpga,\n rpcUrls: {\n ...vpga.rpcUrls,\n alchemy: {\n http: [\"https://polygon-amoy.g.alchemy.com/v2\"],\n },\n },\n};\n\nexport const polygon: Chain = {\n ...vpg,\n rpcUrls: {\n ...vpg.rpcUrls,\n alchemy: {\n http: [\"https://polygon-mainnet.g.alchemy.com/v2\"],\n },\n },\n};\n\nexport const fraxtal: Chain = {\n ...vfrax,\n rpcUrls: {\n ...vfrax.rpcUrls,\n },\n};\n\nexport const fraxtalSepolia: Chain = defineChain({\n id: 2523,\n name: \"Fraxtal Sepolia\",\n nativeCurrency: { name: \"Frax Ether\", symbol: \"frxETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://rpc.testnet-sepolia.frax.com\"],\n },\n },\n});\n\nexport const zora: Chain = {\n ...vzora,\n rpcUrls: {\n ...vzora.rpcUrls,\n },\n};\n\nexport const zoraSepolia: Chain = {\n ...vzoras,\n rpcUrls: {\n ...vzoras.rpcUrls,\n },\n};\n\nexport const worldChainSepolia: Chain = defineChain({\n id: 4801,\n name: \"World Chain Sepolia\",\n network: \"World Chain Sepolia\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://worldchain-sepolia.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://worldchain-sepolia.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://worldchain-sepolia.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const worldChain: Chain = defineChain({\n id: 480,\n name: \"World Chain\",\n network: \"World Chain\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://worldchain-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://worldchain-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://worldchain-mainnet.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const shapeSepolia: Chain = defineChain({\n id: 11011,\n name: \"Shape Sepolia\",\n network: \"Shape Sepolia\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://shape-sepolia.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://shape-sepolia.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://shape-sepolia.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const shape: Chain = defineChain({\n id: 360,\n name: \"Shape\",\n network: \"Shape\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://shape-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://shape-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://shape-mainnet.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const unichainMainnet: Chain = defineChain({\n id: 130,\n name: \"Unichain Mainnet\",\n network: \"Unichain Mainnet\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://unichain-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://unichain-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://unichain-mainnet.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const unichainSepolia: Chain = defineChain({\n id: 1301,\n name: \"Unichain Sepolia\",\n network: \"Unichain Sepolia\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://unichain-sepolia.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://unichain-sepolia.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://unichain-sepolia.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const soneiumMinato: Chain = defineChain({\n id: 1946,\n name: \"Soneium Minato\",\n network: \"Soneium Minato\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://soneium-minato.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://soneium-minato.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://soneium-minato.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const soneiumMainnet: Chain = defineChain({\n id: 1868,\n name: \"Soneium Mainnet\",\n network: \"Soneium Mainnet\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://soneium-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://soneium-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://soneium-mainnet.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const opbnbTestnet: Chain = defineChain({\n id: 5611,\n name: \"OPBNB Testnet\",\n network: \"OPBNB Testnet\",\n nativeCurrency: { name: \"BNB\", symbol: \"BNB\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://opbnb-testnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://opbnb-testnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://opbnb-testnet.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const opbnbMainnet: Chain = defineChain({\n id: 204,\n name: \"OPBNB Mainnet\",\n network: \"OPBNB Mainnet\",\n nativeCurrency: { name: \"BNB\", symbol: \"BNB\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://opbnb-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://opbnb-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://opbnb-mainnet.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const beraChainBartio: Chain = defineChain({\n id: 80084,\n name: \"BeraChain Bartio\",\n network: \"BeraChain Bartio\",\n nativeCurrency: { name: \"Bera\", symbol: \"BERA\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://berachain-bartio.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://berachain-bartio.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://berachain-bartio.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const inkMainnet: Chain = defineChain({\n id: 57073,\n name: \"Ink Mainnet\",\n network: \"Ink Mainnet\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://ink-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://ink-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://ink-mainnet.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const inkSepolia: Chain = defineChain({\n id: 763373,\n name: \"Ink Sepolia\",\n network: \"Ink Sepolia\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://ink-sepolia.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://ink-sepolia.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://ink-sepolia.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const arbitrumNova: Chain = {\n ...vabn,\n rpcUrls: {\n ...vabn.rpcUrls,\n },\n};\n\nexport const monadTestnet: Chain = defineChain({\n id: 10143,\n name: \"Monad Testnet\",\n nativeCurrency: { name: \"Monad\", symbol: \"MON\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://monad-testnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://monad-testnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://monad-testnet.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://testnet.monadexplorer.com\",\n },\n },\n testnet: true,\n});\n\nexport const mekong: Chain = defineChain({\n id: 7078815900,\n name: \"Mekong Pectra Devnet\",\n nativeCurrency: { name: \"eth\", symbol: \"eth\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://rpc.mekong.ethpandaops.io\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://explorer.mekong.ethpandaops.io\",\n },\n },\n testnet: true,\n});\n\nexport const openlootSepolia: Chain = defineChain({\n id: 905905,\n name: \"Openloot Sepolia\",\n nativeCurrency: { name: \"Openloot\", symbol: \"OL\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://openloot-sepolia.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://openloot-sepolia.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://openloot-sepolia.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://openloot-sepolia.explorer.alchemy.com\",\n },\n },\n testnet: true,\n});\n\nexport const gensynTestnet: Chain = defineChain({\n id: 685685,\n name: \"Gensyn Testnet\",\n nativeCurrency: { name: \"eth\", symbol: \"eth\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://gensyn-testnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://gensyn-testnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://gensyn-testnet.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://gensyn-testnet.explorer.alchemy.com\",\n },\n },\n testnet: true,\n});\n\nexport const riseTestnet: Chain = defineChain({\n id: 11155931,\n name: \"Rise Testnet\",\n nativeCurrency: { name: \"eth\", symbol: \"eth\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://rise-testnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://rise-testnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://rise-testnet.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://explorer.testnet.riselabs.xyz\",\n },\n },\n testnet: true,\n});\n\nexport const storyMainnet: Chain = defineChain({\n id: 1514,\n name: \"Story Mainnet\",\n nativeCurrency: { name: \"IP\", symbol: \"IP\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://story-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://story-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://story-mainnet.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://www.storyscan.io\",\n },\n },\n testnet: false,\n});\n\nexport const storyAeneid: Chain = defineChain({\n id: 1315,\n name: \"Story Aeneid\",\n nativeCurrency: { name: \"IP\", symbol: \"IP\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://story-aeneid.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://story-aeneid.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://story-aeneid.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://aeneid.storyscan.io\",\n },\n },\n testnet: true,\n});\n\nexport const celoAlfajores: Chain = defineChain({\n id: 44787,\n name: \"Celo Alfajores\",\n nativeCurrency: { name: \"Celo native asset\", symbol: \"CELO\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://celo-alfajores.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://celo-alfajores.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://celo-alfajores.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://celo-alfajores.blockscout.com/\",\n },\n },\n testnet: true,\n});\n\nexport const celoMainnet: Chain = defineChain({\n id: 42220,\n name: \"Celo Mainnet\",\n nativeCurrency: { name: \"Celo native asset\", symbol: \"CELO\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://celo-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://celo-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://celo-mainnet.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://celo.blockscout.com/\",\n },\n },\n testnet: false,\n});\n\nexport const teaSepolia: Chain = defineChain({\n id: 10218,\n name: \"Tea Sepolia\",\n nativeCurrency: { name: \"TEA\", symbol: \"TEA\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://tea-sepolia.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://tea-sepolia.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://tea-sepolia.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://sepolia.tea.xyz/\",\n },\n },\n testnet: true,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"chains.js","sourceRoot":"","sources":["../../src/chains.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EACL,QAAQ,IAAI,GAAG,EACf,cAAc,IAAI,IAAI,EACtB,eAAe,IAAI,IAAI,EACvB,IAAI,IAAI,KAAK,EACb,UAAU,IAAI,MAAM,EACpB,WAAW,IAAI,MAAM,EACrB,OAAO,IAAI,KAAK,EAChB,MAAM,IAAI,GAAG,EACb,OAAO,IAAI,KAAK,EAChB,QAAQ,IAAI,GAAG,EACf,cAAc,IAAI,IAAI,EACtB,eAAe,IAAI,IAAI,EACvB,OAAO,IAAI,GAAG,EACd,WAAW,IAAI,IAAI,EACnB,aAAa,IAAI,IAAI,EACrB,OAAO,IAAI,IAAI,EACf,YAAY,IAAI,IAAI,EACpB,IAAI,IAAI,KAAK,EACb,WAAW,IAAI,MAAM,GACtB,MAAM,aAAa,CAAC;AAOrB;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EACjC,KAAK,EACL,UAAU,GAIX,EAAS,EAAE;IACV,OAAO;QACL,GAAG,KAAK;QACR,OAAO,EAAE;YACP,GAAG,KAAK,CAAC,OAAO;YAChB,OAAO,EAAE;gBACP,IAAI,EAAE,CAAC,UAAU,CAAC;aACnB;SAC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,EAAE;YACP,IAAI,EAAE,CAAC,uCAAuC,CAAC;SAChD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,gBAAgB;YACtB,GAAG,EAAE,uCAAuC;SAC7C;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,WAAW,GAAU,WAAW,CAAC;IAC5C,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,cAAc;IACpB,cAAc,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,uCAAuC,CAAC;SAChD;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,uCAAuC,CAAC;SAChD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,uCAAuC,CAAC;SAChD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,gBAAgB;YACtB,GAAG,EAAE,uBAAuB;SAC7B;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAC","sourcesContent":["import type { Chain } from \"viem\";\n\nimport { defineChain } from \"viem\";\nimport {\n arbitrum as vab,\n arbitrumGoerli as vabg,\n arbitrumSepolia as vabs,\n base as vbase,\n baseGoerli as vbaseg,\n baseSepolia as vbases,\n fraxtal as vfrax,\n goerli as vgo,\n mainnet as vmain,\n optimism as vop,\n optimismGoerli as vopg,\n optimismSepolia as vops,\n polygon as vpg,\n polygonAmoy as vpga,\n polygonMumbai as vpgm,\n sepolia as vsep,\n arbitrumNova as vabn,\n zora as vzora,\n zoraSepolia as vzoras,\n} from \"viem/chains\";\n\nexport type AlchemyChainConfig = {\n chain: Chain;\n rpcBaseUrl: string;\n};\n\n/**\n * Defines an Alchemy chain configuration by adding an Alchemy-specific RPC base URL to the chain's RPC URLs.\n *\n * @example\n * ```ts\n * import { defineAlchemyChain } from \"@account-kit/infra\";\n * import { sepolia } from \"viem/chains\";\n *\n * const chain = defineAlchemyChain({\n * chain: sepolia,\n * rpcBaseUrl: \"https://eth-sepolia.g.alchemy.com/v2\"\n * });\n * ```\n *\n * @param {AlchemyChainConfig} params The parameters for defining the Alchemy chain\n * @param {Chain} params.chain The original chain configuration\n * @param {string} params.rpcBaseUrl The Alchemy-specific RPC base URL\n * @returns {Chain} The updated chain configuration with the Alchemy RPC URL added\n */\nexport const defineAlchemyChain = ({\n chain,\n rpcBaseUrl,\n}: {\n chain: Chain;\n rpcBaseUrl: string;\n}): Chain => {\n return {\n ...chain,\n rpcUrls: {\n ...chain.rpcUrls,\n alchemy: {\n http: [rpcBaseUrl],\n },\n },\n };\n};\n\nexport const arbitrum: Chain = {\n ...vab,\n rpcUrls: {\n ...vab.rpcUrls,\n alchemy: {\n http: [\"https://arb-mainnet.g.alchemy.com/v2\"],\n },\n },\n};\n\nexport const arbitrumGoerli: Chain = {\n ...vabg,\n rpcUrls: {\n ...vabg.rpcUrls,\n alchemy: {\n http: [\"https://arb-goerli.g.alchemy.com/v2\"],\n },\n },\n};\n\nexport const arbitrumSepolia: Chain = {\n ...vabs,\n rpcUrls: {\n ...vabs.rpcUrls,\n alchemy: {\n http: [\"https://arb-sepolia.g.alchemy.com/v2\"],\n },\n },\n};\nexport const goerli: Chain = {\n ...vgo,\n rpcUrls: {\n ...vgo.rpcUrls,\n alchemy: {\n http: [\"https://eth-goerli.g.alchemy.com/v2\"],\n },\n },\n};\nexport const mainnet: Chain = {\n ...vmain,\n rpcUrls: {\n ...vmain.rpcUrls,\n alchemy: {\n http: [\"https://eth-mainnet.g.alchemy.com/v2\"],\n },\n },\n};\nexport const optimism: Chain = {\n ...vop,\n rpcUrls: {\n ...vop.rpcUrls,\n alchemy: {\n http: [\"https://opt-mainnet.g.alchemy.com/v2\"],\n },\n },\n};\nexport const optimismGoerli: Chain = {\n ...vopg,\n rpcUrls: {\n ...vopg.rpcUrls,\n alchemy: {\n http: [\"https://opt-goerli.g.alchemy.com/v2\"],\n },\n },\n};\nexport const optimismSepolia: Chain = {\n ...vops,\n rpcUrls: {\n ...vops.rpcUrls,\n alchemy: {\n http: [\"https://opt-sepolia.g.alchemy.com/v2\"],\n },\n },\n};\nexport const sepolia: Chain = {\n ...vsep,\n rpcUrls: {\n ...vsep.rpcUrls,\n alchemy: {\n http: [\"https://eth-sepolia.g.alchemy.com/v2\"],\n },\n },\n};\nexport const base: Chain = {\n ...vbase,\n rpcUrls: {\n ...vbase.rpcUrls,\n alchemy: {\n http: [\"https://base-mainnet.g.alchemy.com/v2\"],\n },\n },\n};\nexport const baseGoerli: Chain = {\n ...vbaseg,\n rpcUrls: {\n ...vbaseg.rpcUrls,\n alchemy: {\n http: [\"https://base-goerli.g.alchemy.com/v2\"],\n },\n },\n};\nexport const baseSepolia: Chain = {\n ...vbases,\n rpcUrls: {\n ...vbases.rpcUrls,\n alchemy: {\n http: [\"https://base-sepolia.g.alchemy.com/v2\"],\n },\n },\n};\n\nexport const polygonMumbai: Chain = {\n ...vpgm,\n rpcUrls: {\n ...vpgm.rpcUrls,\n alchemy: {\n http: [\"https://polygon-mumbai.g.alchemy.com/v2\"],\n },\n },\n};\n\nexport const polygonAmoy: Chain = {\n ...vpga,\n rpcUrls: {\n ...vpga.rpcUrls,\n alchemy: {\n http: [\"https://polygon-amoy.g.alchemy.com/v2\"],\n },\n },\n};\n\nexport const polygon: Chain = {\n ...vpg,\n rpcUrls: {\n ...vpg.rpcUrls,\n alchemy: {\n http: [\"https://polygon-mainnet.g.alchemy.com/v2\"],\n },\n },\n};\n\nexport const fraxtal: Chain = {\n ...vfrax,\n rpcUrls: {\n ...vfrax.rpcUrls,\n },\n};\n\nexport const fraxtalSepolia: Chain = defineChain({\n id: 2523,\n name: \"Fraxtal Sepolia\",\n nativeCurrency: { name: \"Frax Ether\", symbol: \"frxETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://rpc.testnet-sepolia.frax.com\"],\n },\n },\n});\n\nexport const zora: Chain = {\n ...vzora,\n rpcUrls: {\n ...vzora.rpcUrls,\n },\n};\n\nexport const zoraSepolia: Chain = {\n ...vzoras,\n rpcUrls: {\n ...vzoras.rpcUrls,\n },\n};\n\nexport const worldChainSepolia: Chain = defineChain({\n id: 4801,\n name: \"World Chain Sepolia\",\n network: \"World Chain Sepolia\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://worldchain-sepolia.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://worldchain-sepolia.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://worldchain-sepolia.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const worldChain: Chain = defineChain({\n id: 480,\n name: \"World Chain\",\n network: \"World Chain\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://worldchain-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://worldchain-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://worldchain-mainnet.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const shapeSepolia: Chain = defineChain({\n id: 11011,\n name: \"Shape Sepolia\",\n network: \"Shape Sepolia\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://shape-sepolia.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://shape-sepolia.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://shape-sepolia.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const shape: Chain = defineChain({\n id: 360,\n name: \"Shape\",\n network: \"Shape\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://shape-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://shape-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://shape-mainnet.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const unichainMainnet: Chain = defineChain({\n id: 130,\n name: \"Unichain Mainnet\",\n network: \"Unichain Mainnet\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://unichain-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://unichain-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://unichain-mainnet.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const unichainSepolia: Chain = defineChain({\n id: 1301,\n name: \"Unichain Sepolia\",\n network: \"Unichain Sepolia\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://unichain-sepolia.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://unichain-sepolia.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://unichain-sepolia.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const soneiumMinato: Chain = defineChain({\n id: 1946,\n name: \"Soneium Minato\",\n network: \"Soneium Minato\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://soneium-minato.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://soneium-minato.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://soneium-minato.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const soneiumMainnet: Chain = defineChain({\n id: 1868,\n name: \"Soneium Mainnet\",\n network: \"Soneium Mainnet\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://soneium-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://soneium-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://soneium-mainnet.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const opbnbTestnet: Chain = defineChain({\n id: 5611,\n name: \"OPBNB Testnet\",\n network: \"OPBNB Testnet\",\n nativeCurrency: { name: \"BNB\", symbol: \"BNB\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://opbnb-testnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://opbnb-testnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://opbnb-testnet.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const opbnbMainnet: Chain = defineChain({\n id: 204,\n name: \"OPBNB Mainnet\",\n network: \"OPBNB Mainnet\",\n nativeCurrency: { name: \"BNB\", symbol: \"BNB\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://opbnb-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://opbnb-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://opbnb-mainnet.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const beraChainBartio: Chain = defineChain({\n id: 80084,\n name: \"BeraChain Bartio\",\n network: \"BeraChain Bartio\",\n nativeCurrency: { name: \"Bera\", symbol: \"BERA\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://berachain-bartio.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://berachain-bartio.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://berachain-bartio.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const inkMainnet: Chain = defineChain({\n id: 57073,\n name: \"Ink Mainnet\",\n network: \"Ink Mainnet\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://ink-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://ink-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://ink-mainnet.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const inkSepolia: Chain = defineChain({\n id: 763373,\n name: \"Ink Sepolia\",\n network: \"Ink Sepolia\",\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://ink-sepolia.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://ink-sepolia.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://ink-sepolia.g.alchemy.com/v2\"],\n },\n },\n});\n\nexport const arbitrumNova: Chain = {\n ...vabn,\n rpcUrls: {\n ...vabn.rpcUrls,\n },\n};\n\nexport const monadTestnet: Chain = defineChain({\n id: 10143,\n name: \"Monad Testnet\",\n nativeCurrency: { name: \"Monad\", symbol: \"MON\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://monad-testnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://monad-testnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://monad-testnet.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://testnet.monadexplorer.com\",\n },\n },\n testnet: true,\n});\n\nexport const mekong: Chain = defineChain({\n id: 7078815900,\n name: \"Mekong Pectra Devnet\",\n nativeCurrency: { name: \"eth\", symbol: \"eth\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://rpc.mekong.ethpandaops.io\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://explorer.mekong.ethpandaops.io\",\n },\n },\n testnet: true,\n});\n\nexport const openlootSepolia: Chain = defineChain({\n id: 905905,\n name: \"Openloot Sepolia\",\n nativeCurrency: { name: \"Openloot\", symbol: \"OL\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://openloot-sepolia.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://openloot-sepolia.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://openloot-sepolia.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://openloot-sepolia.explorer.alchemy.com\",\n },\n },\n testnet: true,\n});\n\nexport const gensynTestnet: Chain = defineChain({\n id: 685685,\n name: \"Gensyn Testnet\",\n nativeCurrency: { name: \"eth\", symbol: \"eth\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://gensyn-testnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://gensyn-testnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://gensyn-testnet.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://gensyn-testnet.explorer.alchemy.com\",\n },\n },\n testnet: true,\n});\n\nexport const riseTestnet: Chain = defineChain({\n id: 11155931,\n name: \"Rise Testnet\",\n nativeCurrency: { name: \"eth\", symbol: \"eth\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://rise-testnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://rise-testnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://rise-testnet.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://explorer.testnet.riselabs.xyz\",\n },\n },\n testnet: true,\n});\n\nexport const storyMainnet: Chain = defineChain({\n id: 1514,\n name: \"Story Mainnet\",\n nativeCurrency: { name: \"IP\", symbol: \"IP\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://story-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://story-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://story-mainnet.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://www.storyscan.io\",\n },\n },\n testnet: false,\n});\n\nexport const storyAeneid: Chain = defineChain({\n id: 1315,\n name: \"Story Aeneid\",\n nativeCurrency: { name: \"IP\", symbol: \"IP\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://story-aeneid.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://story-aeneid.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://story-aeneid.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://aeneid.storyscan.io\",\n },\n },\n testnet: true,\n});\n\nexport const celoAlfajores: Chain = defineChain({\n id: 44787,\n name: \"Celo Alfajores\",\n nativeCurrency: { name: \"Celo native asset\", symbol: \"CELO\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://celo-alfajores.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://celo-alfajores.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://celo-alfajores.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://celo-alfajores.blockscout.com/\",\n },\n },\n testnet: true,\n});\n\nexport const celoMainnet: Chain = defineChain({\n id: 42220,\n name: \"Celo Mainnet\",\n nativeCurrency: { name: \"Celo native asset\", symbol: \"CELO\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://celo-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://celo-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://celo-mainnet.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://celo.blockscout.com/\",\n },\n },\n testnet: false,\n});\n\nexport const teaSepolia: Chain = defineChain({\n id: 10218,\n name: \"Tea Sepolia\",\n nativeCurrency: { name: \"TEA\", symbol: \"TEA\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://tea-sepolia.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://tea-sepolia.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://tea-sepolia.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://sepolia.tea.xyz/\",\n },\n },\n testnet: true,\n});\n\nexport const bobaSepolia: Chain = defineChain({\n id: 28882,\n name: \"Boba Sepolia\",\n nativeCurrency: { name: \"eth\", symbol: \"eth\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://boba-sepolia.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://boba-sepolia.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://boba-sepolia.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://sepolia.testnet.bobascan.com/\",\n },\n },\n testnet: true,\n});\n\nexport const bobaMainnet: Chain = defineChain({\n id: 288,\n name: \"Boba Mainnet\",\n nativeCurrency: { name: \"eth\", symbol: \"eth\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://boba-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://boba-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://boba-mainnet.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://bobascan.com/\",\n },\n },\n testnet: false,\n});\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SmartContractAccount } from "@aa-sdk/core";
|
|
2
2
|
import type { Alchemy } from "alchemy-sdk";
|
|
3
3
|
import type { Chain } from "viem";
|
|
4
|
-
import type { AlchemySmartAccountClient } from "../smartAccountClient.js";
|
|
4
|
+
import type { AlchemySmartAccountClient } from "../client/smartAccountClient.js";
|
|
5
5
|
export type AlchemyEnhancedApis = {
|
|
6
6
|
core: Alchemy["core"];
|
|
7
7
|
nft: Alchemy["nft"];
|
|
@@ -17,7 +17,7 @@ export type AlchemyEnhancedApis = {
|
|
|
17
17
|
* @example
|
|
18
18
|
* ```ts
|
|
19
19
|
* import { Alchemy } from "alchemy-sdk";
|
|
20
|
-
* import { alchemyEnhancedApiActions } from "@account-kit/infra";
|
|
20
|
+
* import { alchemyEnhancedApiActions } from "@account-kit/infra/enhanced-apis";
|
|
21
21
|
* import { alchemySCAClient } from "./client";
|
|
22
22
|
*
|
|
23
23
|
* const alchemy = new Alchemy(...);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AlchemySdkClientSchema } from "
|
|
1
|
+
import { AlchemySdkClientSchema } from "./schema.js";
|
|
2
2
|
/**
|
|
3
3
|
* Given an instance of the Alchemy SDK, returns a smart account client decorator which contains actions for interacting Alchemy's enhanced APIs.
|
|
4
4
|
*
|
|
5
5
|
* @example
|
|
6
6
|
* ```ts
|
|
7
7
|
* import { Alchemy } from "alchemy-sdk";
|
|
8
|
-
* import { alchemyEnhancedApiActions } from "@account-kit/infra";
|
|
8
|
+
* import { alchemyEnhancedApiActions } from "@account-kit/infra/enhanced-apis";
|
|
9
9
|
* import { alchemySCAClient } from "./client";
|
|
10
10
|
*
|
|
11
11
|
* const alchemy = new Alchemy(...);
|
|
@@ -34,4 +34,4 @@ export function alchemyEnhancedApiActions(alchemy) {
|
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
//# sourceMappingURL=
|
|
37
|
+
//# sourceMappingURL=alchemyEnhancedApisDecorator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alchemyEnhancedApisDecorator.js","sourceRoot":"","sources":["../../../src/enhancedApi/alchemyEnhancedApisDecorator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAarD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,yBAAyB,CACvC,OAAgB;IAShB,OAAO,CAAC,MAAM,EAAE,EAAE;QAChB,MAAM,UAAU,GAAG,sBAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAEzD,IACE,OAAO,CAAC,MAAM,CAAC,GAAG;YAClB,OAAO,CAAC,MAAM,CAAC,GAAG,KAAK,MAAM,CAAC,SAAS,CAAC,aAAa,EACrD,CAAC;YACD,MAAM,IAAI,KAAK,CACb,yEAAyE,CAC1E,CAAC;QACJ,CAAC;QAED,OAAO;YACL,IAAI,EAAE,UAAU,CAAC,IAAI;YACrB,GAAG,EAAE,UAAU,CAAC,GAAG;YACnB,QAAQ,EAAE,UAAU,CAAC,QAAQ;YAC7B,KAAK,EAAE,UAAU,CAAC,KAAK;YACvB,EAAE,EAAE,UAAU,CAAC,EAAE;YACjB,MAAM,EAAE,UAAU,CAAC,MAAM;YACzB,MAAM,EAAE,UAAU,CAAC,MAAM;SAC1B,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import type { SmartContractAccount } from \"@aa-sdk/core\";\nimport type { Alchemy } from \"alchemy-sdk\";\nimport type { Chain } from \"viem\";\nimport { AlchemySdkClientSchema } from \"./schema.js\";\nimport type { AlchemySmartAccountClient } from \"../client/smartAccountClient.js\";\n\nexport type AlchemyEnhancedApis = {\n core: Alchemy[\"core\"];\n nft: Alchemy[\"nft\"];\n transact: Alchemy[\"transact\"];\n debug: Alchemy[\"debug\"];\n ws: Alchemy[\"ws\"];\n notify: Alchemy[\"notify\"];\n config: Alchemy[\"config\"];\n};\n\n/**\n * Given an instance of the Alchemy SDK, returns a smart account client decorator which contains actions for interacting Alchemy's enhanced APIs.\n *\n * @example\n * ```ts\n * import { Alchemy } from \"alchemy-sdk\";\n * import { alchemyEnhancedApiActions } from \"@account-kit/infra/enhanced-apis\";\n * import { alchemySCAClient } from \"./client\";\n *\n * const alchemy = new Alchemy(...);\n * const enhancedApiDecorator = alchemyEnhancedApiActions(alchemy);\n * const withEnhancedApis = alchemySCAClient.extend(enhancedApiDecorator);\n * ```\n *\n * @param {Alchemy} alchemy The Alchemy instance containing the SDK client\n * @returns {(client: AlchemySmartAccountClient) => AlchemyEnhancedApis} A client decorator for Alchemy Smart Account clients that adds the enhanced API methods\n */\nexport function alchemyEnhancedApiActions(\n alchemy: Alchemy,\n): <\n TChain extends Chain | undefined = Chain | undefined,\n TAccount extends SmartContractAccount | undefined =\n | SmartContractAccount\n | undefined,\n>(\n client: AlchemySmartAccountClient<TChain, TAccount>,\n) => AlchemyEnhancedApis {\n return (client) => {\n const alchemySdk = AlchemySdkClientSchema.parse(alchemy);\n\n if (\n alchemy.config.url &&\n alchemy.config.url !== client.transport.alchemyRpcUrl\n ) {\n throw new Error(\n \"Alchemy SDK client JSON-RPC URL must match AlchemyProvider JSON-RPC URL\",\n );\n }\n\n return {\n core: alchemySdk.core,\n nft: alchemySdk.nft,\n transact: alchemySdk.transact,\n debug: alchemySdk.debug,\n ws: alchemySdk.ws,\n notify: alchemySdk.notify,\n config: alchemySdk.config,\n };\n };\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/enhancedApi/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC","sourcesContent":["import { Alchemy } from \"alchemy-sdk\";\nimport z from \"zod\";\n\nexport const AlchemySdkClientSchema = z.instanceof(Alchemy);\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enhancedApi.js","sourceRoot":"","sources":["../../../src/exports/enhancedApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC","sourcesContent":["export type * from \"../enhancedApi/schema.js\";\nexport type * from \"../enhancedApi/alchemyEnhancedApisDecorator.js\";\nexport { alchemyEnhancedApiActions } from \"../enhancedApi/alchemyEnhancedApisDecorator.js\";\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type * from "../actions/simulateUserOperationChanges.js";
|
|
2
|
+
export { simulateUserOperationChanges } from "../actions/simulateUserOperationChanges.js";
|
|
3
|
+
export type * from "../actions/types.js";
|
|
4
|
+
export type * from "../alchemyTransport.js";
|
|
5
|
+
export { alchemy, isAlchemyTransport } from "../alchemyTransport.js";
|
|
6
|
+
export type * from "../chains.js";
|
|
7
|
+
export { arbitrum, arbitrumGoerli, arbitrumNova, arbitrumSepolia, base, baseGoerli, baseSepolia, defineAlchemyChain, fraxtal, fraxtalSepolia, goerli, mainnet, optimism, optimismGoerli, optimismSepolia, polygon, polygonAmoy, polygonMumbai, sepolia, shape, shapeSepolia, worldChain, worldChainSepolia, zora, zoraSepolia, beraChainBartio, opbnbMainnet, opbnbTestnet, soneiumMinato, soneiumMainnet, unichainMainnet, unichainSepolia, inkMainnet, inkSepolia, mekong, monadTestnet, openlootSepolia, gensynTestnet, riseTestnet, storyMainnet, storyAeneid, celoAlfajores, celoMainnet, teaSepolia, bobaSepolia, bobaMainnet, } from "../chains.js";
|
|
8
|
+
export type * from "../client/decorators/smartAccount.js";
|
|
9
|
+
export { alchemyActions } from "../client/decorators/smartAccount.js";
|
|
10
|
+
export { isAlchemySmartAccountClient } from "../client/isAlchemySmartAccountClient.js";
|
|
11
|
+
export type * from "../client/rpcClient.js";
|
|
12
|
+
export { createAlchemyPublicRpcClient } from "../client/rpcClient.js";
|
|
13
|
+
export type * from "../client/smartAccountClient.js";
|
|
14
|
+
export { createAlchemySmartAccountClient } from "../client/smartAccountClient.js";
|
|
15
|
+
export type * from "../client/types.js";
|
|
16
|
+
export { getDefaultUserOperationFeeOptions } from "../defaults.js";
|
|
17
|
+
export { getAlchemyPaymasterAddress } from "../gas-manager.js";
|
|
18
|
+
export { alchemyFeeEstimator } from "../middleware/feeEstimator.js";
|
|
19
|
+
export type * from "../middleware/gasManager.js";
|
|
20
|
+
export * from "../alchemyTrackerHeaders.js";
|
|
21
|
+
export { alchemyGasManagerMiddleware, alchemyGasAndPaymasterAndDataMiddleware, type PolicyToken, } from "../middleware/gasManager.js";
|
|
22
|
+
export { alchemyUserOperationSimulator } from "../middleware/userOperationSimulator.js";
|
|
23
|
+
export type * from "../schema.js";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { simulateUserOperationChanges } from "../actions/simulateUserOperationChanges.js";
|
|
2
|
+
export { alchemy, isAlchemyTransport } from "../alchemyTransport.js";
|
|
3
|
+
export { arbitrum, arbitrumGoerli, arbitrumNova, arbitrumSepolia, base, baseGoerli, baseSepolia, defineAlchemyChain, fraxtal, fraxtalSepolia, goerli, mainnet, optimism, optimismGoerli, optimismSepolia, polygon, polygonAmoy, polygonMumbai, sepolia, shape, shapeSepolia, worldChain, worldChainSepolia, zora, zoraSepolia, beraChainBartio, opbnbMainnet, opbnbTestnet, soneiumMinato, soneiumMainnet, unichainMainnet, unichainSepolia, inkMainnet, inkSepolia, mekong, monadTestnet, openlootSepolia, gensynTestnet, riseTestnet, storyMainnet, storyAeneid, celoAlfajores, celoMainnet, teaSepolia, bobaSepolia, bobaMainnet, } from "../chains.js";
|
|
4
|
+
export { alchemyActions } from "../client/decorators/smartAccount.js";
|
|
5
|
+
export { isAlchemySmartAccountClient } from "../client/isAlchemySmartAccountClient.js";
|
|
6
|
+
export { createAlchemyPublicRpcClient } from "../client/rpcClient.js";
|
|
7
|
+
export { createAlchemySmartAccountClient } from "../client/smartAccountClient.js";
|
|
8
|
+
export { getDefaultUserOperationFeeOptions } from "../defaults.js";
|
|
9
|
+
export { getAlchemyPaymasterAddress } from "../gas-manager.js";
|
|
10
|
+
export { alchemyFeeEstimator } from "../middleware/feeEstimator.js";
|
|
11
|
+
export * from "../alchemyTrackerHeaders.js";
|
|
12
|
+
export { alchemyGasManagerMiddleware, alchemyGasAndPaymasterAndDataMiddleware, } from "../middleware/gasManager.js";
|
|
13
|
+
export { alchemyUserOperationSimulator } from "../middleware/userOperationSimulator.js";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/exports/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAG1F,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAErE,OAAO,EACL,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,eAAe,EACf,IAAI,EACJ,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,cAAc,EACd,MAAM,EACN,OAAO,EACP,QAAQ,EACR,cAAc,EACd,eAAe,EACf,OAAO,EACP,WAAW,EACX,aAAa,EACb,OAAO,EACP,KAAK,EACL,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,IAAI,EACJ,WAAW,EACX,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,cAAc,EACd,eAAe,EACf,eAAe,EACf,UAAU,EACV,UAAU,EACV,MAAM,EACN,YAAY,EACZ,eAAe,EACf,aAAa,EACb,WAAW,EACX,YAAY,EACZ,WAAW,EACX,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,WAAW,GACZ,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAEvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AAEtE,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAElF,OAAO,EAAE,iCAAiC,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EACL,2BAA2B,EAC3B,uCAAuC,GAExC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC","sourcesContent":["export type * from \"../actions/simulateUserOperationChanges.js\";\nexport { simulateUserOperationChanges } from \"../actions/simulateUserOperationChanges.js\";\nexport type * from \"../actions/types.js\";\nexport type * from \"../alchemyTransport.js\";\nexport { alchemy, isAlchemyTransport } from \"../alchemyTransport.js\";\nexport type * from \"../chains.js\";\nexport {\n arbitrum,\n arbitrumGoerli,\n arbitrumNova,\n arbitrumSepolia,\n base,\n baseGoerli,\n baseSepolia,\n defineAlchemyChain,\n fraxtal,\n fraxtalSepolia,\n goerli,\n mainnet,\n optimism,\n optimismGoerli,\n optimismSepolia,\n polygon,\n polygonAmoy,\n polygonMumbai,\n sepolia,\n shape,\n shapeSepolia,\n worldChain,\n worldChainSepolia,\n zora,\n zoraSepolia,\n beraChainBartio,\n opbnbMainnet,\n opbnbTestnet,\n soneiumMinato,\n soneiumMainnet,\n unichainMainnet,\n unichainSepolia,\n inkMainnet,\n inkSepolia,\n mekong,\n monadTestnet,\n openlootSepolia,\n gensynTestnet,\n riseTestnet,\n storyMainnet,\n storyAeneid,\n celoAlfajores,\n celoMainnet,\n teaSepolia,\n bobaSepolia,\n bobaMainnet,\n} from \"../chains.js\";\nexport type * from \"../client/decorators/smartAccount.js\";\nexport { alchemyActions } from \"../client/decorators/smartAccount.js\";\nexport { isAlchemySmartAccountClient } from \"../client/isAlchemySmartAccountClient.js\";\nexport type * from \"../client/rpcClient.js\";\nexport { createAlchemyPublicRpcClient } from \"../client/rpcClient.js\";\nexport type * from \"../client/smartAccountClient.js\";\nexport { createAlchemySmartAccountClient } from \"../client/smartAccountClient.js\";\nexport type * from \"../client/types.js\";\nexport { getDefaultUserOperationFeeOptions } from \"../defaults.js\";\nexport { getAlchemyPaymasterAddress } from \"../gas-manager.js\";\nexport { alchemyFeeEstimator } from \"../middleware/feeEstimator.js\";\nexport type * from \"../middleware/gasManager.js\";\nexport * from \"../alchemyTrackerHeaders.js\";\nexport {\n alchemyGasManagerMiddleware,\n alchemyGasAndPaymasterAndDataMiddleware,\n type PolicyToken,\n} from \"../middleware/gasManager.js\";\nexport { alchemyUserOperationSimulator } from \"../middleware/userOperationSimulator.js\";\nexport type * from \"../schema.js\";\n"]}
|
package/dist/esm/schema.d.ts
CHANGED
package/dist/esm/schema.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { ChainSchema } from "@aa-sdk/core";
|
|
2
|
-
import { Alchemy } from "alchemy-sdk";
|
|
3
2
|
import z from "zod";
|
|
4
3
|
export const AlchemyChainSchema = z.custom((chain) => {
|
|
5
4
|
const chain_ = ChainSchema.parse(chain);
|
|
6
5
|
return chain_.rpcUrls.alchemy != null;
|
|
7
6
|
}, "chain must include an alchemy rpc url. See `defineAlchemyChain` or import a chain from `@account-kit/infra`.");
|
|
8
|
-
export const AlchemySdkClientSchema = z.instanceof(Alchemy);
|
|
9
7
|
//# sourceMappingURL=schema.js.map
|
package/dist/esm/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAQ,CAAC,KAAK,EAAE,EAAE;IAC1D,MAAM,MAAM,GAAG,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAExC,OAAO,MAAM,CAAC,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC;AACxC,CAAC,EAAE,8GAA8G,CAAC,CAAC","sourcesContent":["import { ChainSchema } from \"@aa-sdk/core\";\nimport type { Chain } from \"viem\";\nimport z from \"zod\";\n\nexport const AlchemyChainSchema = z.custom<Chain>((chain) => {\n const chain_ = ChainSchema.parse(chain);\n\n return chain_.rpcUrls.alchemy != null;\n}, \"chain must include an alchemy rpc url. See `defineAlchemyChain` or import a chain from `@account-kit/infra`.\");\n"]}
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "4.53.3-alpha.
|
|
1
|
+
export declare const VERSION = "4.53.3-alpha.3";
|
package/dist/esm/version.js
CHANGED
package/dist/esm/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,yBAAyB;AACzB,MAAM,CAAC,MAAM,OAAO,GAAG,gBAAgB,CAAC","sourcesContent":["// This file is autogenerated by inject-version.ts. Any changes will be\n// overwritten on commit!\nexport const VERSION = \"4.53.3-alpha.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,yBAAyB;AACzB,MAAM,CAAC,MAAM,OAAO,GAAG,gBAAgB,CAAC","sourcesContent":["// This file is autogenerated by inject-version.ts. Any changes will be\n// overwritten on commit!\nexport const VERSION = \"4.53.3-alpha.3\";\n"]}
|
package/dist/types/chains.d.ts
CHANGED
|
@@ -69,4 +69,6 @@ export declare const storyAeneid: Chain;
|
|
|
69
69
|
export declare const celoAlfajores: Chain;
|
|
70
70
|
export declare const celoMainnet: Chain;
|
|
71
71
|
export declare const teaSepolia: Chain;
|
|
72
|
+
export declare const bobaSepolia: Chain;
|
|
73
|
+
export declare const bobaMainnet: Chain;
|
|
72
74
|
//# sourceMappingURL=chains.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../src/chains.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAyBlC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,KAAK,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,kBAA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;AAEH,eAAO,MAAM,UAAU,EAAE,KAgBvB,CAAC;AAEH,eAAO,MAAM,UAAU,EAAE,KAgBvB,CAAC;AAEH,eAAO,MAAM,YAAY,EAAE,KAK1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAsBzB,CAAC;AAEH,eAAO,MAAM,MAAM,EAAE,KAgBnB,CAAC;AAEH,eAAO,MAAM,eAAe,EAAE,KAsB5B,CAAC;AAEH,eAAO,MAAM,aAAa,EAAE,KAsB1B,CAAC;AAEH,eAAO,MAAM,WAAW,EAAE,KAsBxB,CAAC;AAEH,eAAO,MAAM,YAAY,EAAE,KAsBzB,CAAC;AAEH,eAAO,MAAM,WAAW,EAAE,KAsBxB,CAAC;AAEH,eAAO,MAAM,aAAa,EAAE,KAsB1B,CAAC;AAEH,eAAO,MAAM,WAAW,EAAE,KAsBxB,CAAC;AAEH,eAAO,MAAM,UAAU,EAAE,KAsBvB,CAAC;AAEH,eAAO,MAAM,WAAW,EAAE,KAsBxB,CAAC;AAEH,eAAO,MAAM,WAAW,EAAE,KAsBxB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SmartContractAccount } from "@aa-sdk/core";
|
|
2
2
|
import type { Alchemy } from "alchemy-sdk";
|
|
3
3
|
import type { Chain } from "viem";
|
|
4
|
-
import type { AlchemySmartAccountClient } from "../smartAccountClient.js";
|
|
4
|
+
import type { AlchemySmartAccountClient } from "../client/smartAccountClient.js";
|
|
5
5
|
export type AlchemyEnhancedApis = {
|
|
6
6
|
core: Alchemy["core"];
|
|
7
7
|
nft: Alchemy["nft"];
|
|
@@ -17,7 +17,7 @@ export type AlchemyEnhancedApis = {
|
|
|
17
17
|
* @example
|
|
18
18
|
* ```ts
|
|
19
19
|
* import { Alchemy } from "alchemy-sdk";
|
|
20
|
-
* import { alchemyEnhancedApiActions } from "@account-kit/infra";
|
|
20
|
+
* import { alchemyEnhancedApiActions } from "@account-kit/infra/enhanced-apis";
|
|
21
21
|
* import { alchemySCAClient } from "./client";
|
|
22
22
|
*
|
|
23
23
|
* const alchemy = new Alchemy(...);
|
|
@@ -29,4 +29,4 @@ export type AlchemyEnhancedApis = {
|
|
|
29
29
|
* @returns {(client: AlchemySmartAccountClient) => AlchemyEnhancedApis} A client decorator for Alchemy Smart Account clients that adds the enhanced API methods
|
|
30
30
|
*/
|
|
31
31
|
export declare function alchemyEnhancedApiActions(alchemy: Alchemy): <TChain extends Chain | undefined = Chain | undefined, TAccount extends SmartContractAccount | undefined = SmartContractAccount | undefined>(client: AlchemySmartAccountClient<TChain, TAccount>) => AlchemyEnhancedApis;
|
|
32
|
-
//# sourceMappingURL=
|
|
32
|
+
//# sourceMappingURL=alchemyEnhancedApisDecorator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alchemyEnhancedApisDecorator.d.ts","sourceRoot":"","sources":["../../../src/enhancedApi/alchemyEnhancedApisDecorator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAEjF,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACtB,GAAG,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IAC9B,KAAK,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACxB,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC1B,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,OAAO,GACf,CACD,MAAM,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EACpD,QAAQ,SAAS,oBAAoB,GAAG,SAAS,GAC7C,oBAAoB,GACpB,SAAS,EAEb,MAAM,EAAE,yBAAyB,CAAC,MAAM,EAAE,QAAQ,CAAC,KAChD,mBAAmB,CAuBvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/enhancedApi/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,sBAAsB,2CAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enhancedApi.d.ts","sourceRoot":"","sources":["../../../src/exports/enhancedApi.ts"],"names":[],"mappings":"AAAA,mBAAmB,0BAA0B,CAAC;AAC9C,mBAAmB,gDAAgD,CAAC;AACpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type * from "../actions/simulateUserOperationChanges.js";
|
|
2
|
+
export { simulateUserOperationChanges } from "../actions/simulateUserOperationChanges.js";
|
|
3
|
+
export type * from "../actions/types.js";
|
|
4
|
+
export type * from "../alchemyTransport.js";
|
|
5
|
+
export { alchemy, isAlchemyTransport } from "../alchemyTransport.js";
|
|
6
|
+
export type * from "../chains.js";
|
|
7
|
+
export { arbitrum, arbitrumGoerli, arbitrumNova, arbitrumSepolia, base, baseGoerli, baseSepolia, defineAlchemyChain, fraxtal, fraxtalSepolia, goerli, mainnet, optimism, optimismGoerli, optimismSepolia, polygon, polygonAmoy, polygonMumbai, sepolia, shape, shapeSepolia, worldChain, worldChainSepolia, zora, zoraSepolia, beraChainBartio, opbnbMainnet, opbnbTestnet, soneiumMinato, soneiumMainnet, unichainMainnet, unichainSepolia, inkMainnet, inkSepolia, mekong, monadTestnet, openlootSepolia, gensynTestnet, riseTestnet, storyMainnet, storyAeneid, celoAlfajores, celoMainnet, teaSepolia, bobaSepolia, bobaMainnet, } from "../chains.js";
|
|
8
|
+
export type * from "../client/decorators/smartAccount.js";
|
|
9
|
+
export { alchemyActions } from "../client/decorators/smartAccount.js";
|
|
10
|
+
export { isAlchemySmartAccountClient } from "../client/isAlchemySmartAccountClient.js";
|
|
11
|
+
export type * from "../client/rpcClient.js";
|
|
12
|
+
export { createAlchemyPublicRpcClient } from "../client/rpcClient.js";
|
|
13
|
+
export type * from "../client/smartAccountClient.js";
|
|
14
|
+
export { createAlchemySmartAccountClient } from "../client/smartAccountClient.js";
|
|
15
|
+
export type * from "../client/types.js";
|
|
16
|
+
export { getDefaultUserOperationFeeOptions } from "../defaults.js";
|
|
17
|
+
export { getAlchemyPaymasterAddress } from "../gas-manager.js";
|
|
18
|
+
export { alchemyFeeEstimator } from "../middleware/feeEstimator.js";
|
|
19
|
+
export type * from "../middleware/gasManager.js";
|
|
20
|
+
export * from "../alchemyTrackerHeaders.js";
|
|
21
|
+
export { alchemyGasManagerMiddleware, alchemyGasAndPaymasterAndDataMiddleware, type PolicyToken, } from "../middleware/gasManager.js";
|
|
22
|
+
export { alchemyUserOperationSimulator } from "../middleware/userOperationSimulator.js";
|
|
23
|
+
export type * from "../schema.js";
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/exports/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,4CAA4C,CAAC;AAChE,OAAO,EAAE,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAC1F,mBAAmB,qBAAqB,CAAC;AACzC,mBAAmB,wBAAwB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,w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O,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACxF,mBAAmB,cAAc,CAAC"}
|
package/dist/types/schema.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { Alchemy } from "alchemy-sdk";
|
|
2
1
|
import type { Chain } from "viem";
|
|
3
2
|
import z from "zod";
|
|
4
3
|
export declare const AlchemyChainSchema: z.ZodType<Chain, z.ZodTypeDef, Chain>;
|
|
5
|
-
export declare const AlchemySdkClientSchema: z.ZodType<Alchemy, z.ZodTypeDef, Alchemy>;
|
|
6
4
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/schema.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,kBAAkB,uCAImF,CAAC"}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.53.3-alpha.
|
|
1
|
+
export declare const VERSION = "4.53.3-alpha.3";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@account-kit/infra",
|
|
3
|
-
"version": "4.53.3-alpha.
|
|
3
|
+
"version": "4.53.3-alpha.3",
|
|
4
4
|
"description": "adapters for @aa-sdk/core for interacting with alchemy services",
|
|
5
5
|
"author": "Alchemy",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"private": false,
|
|
8
8
|
"type": "module",
|
|
9
|
-
"main": "./dist/esm/index.js",
|
|
10
|
-
"module": "./dist/esm/index.js",
|
|
11
|
-
"types": "./dist/types/index.d.ts",
|
|
12
|
-
"typings": "./dist/types/index.d.ts",
|
|
9
|
+
"main": "./dist/esm/exports/index.js",
|
|
10
|
+
"module": "./dist/esm/exports/index.js",
|
|
11
|
+
"types": "./dist/types/exports/index.d.ts",
|
|
12
|
+
"typings": "./dist/types/exports/index.d.ts",
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"files": [
|
|
15
15
|
"dist",
|
|
@@ -23,9 +23,14 @@
|
|
|
23
23
|
],
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
26
|
-
"types": "./dist/types/index.d.ts",
|
|
27
|
-
"import": "./dist/esm/index.js",
|
|
28
|
-
"default": "./dist/esm/index.js"
|
|
26
|
+
"types": "./dist/types/exports/index.d.ts",
|
|
27
|
+
"import": "./dist/esm/exports/index.js",
|
|
28
|
+
"default": "./dist/esm/exports/index.js"
|
|
29
|
+
},
|
|
30
|
+
"./enhanced-apis": {
|
|
31
|
+
"types": "./dist/types/exports/enhancedApi.d.ts",
|
|
32
|
+
"import": "./dist/esm/exports/enhancedApi.js",
|
|
33
|
+
"default": "./dist/esm/exports/enhancedApi.js"
|
|
29
34
|
},
|
|
30
35
|
"./package.json": "./package.json"
|
|
31
36
|
},
|
|
@@ -34,7 +39,7 @@
|
|
|
34
39
|
"build": "yarn clean && yarn build:esm && yarn build:types",
|
|
35
40
|
"build:esm": "tsc --project tsconfig.build.json --outDir ./dist/esm",
|
|
36
41
|
"build:types": "tsc --project tsconfig.build.json --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
|
|
37
|
-
"fern:gen": "node ../../doc-gen/dist/esm/cli.js generate --in ./src/index.ts --out ../../docs/pages/reference/account-kit/infra",
|
|
42
|
+
"fern:gen": "node ../../doc-gen/dist/esm/cli.js generate --in ./src/exports/index.ts --in ./src/exports/enhancedApi.ts --out ../../docs/pages/reference/account-kit/infra",
|
|
38
43
|
"clean": "rm -rf ./dist",
|
|
39
44
|
"test": "vitest",
|
|
40
45
|
"test:run": "vitest run"
|
|
@@ -43,8 +48,8 @@
|
|
|
43
48
|
"typescript-template": "*"
|
|
44
49
|
},
|
|
45
50
|
"dependencies": {
|
|
46
|
-
"@aa-sdk/core": "^4.53.3-alpha.
|
|
47
|
-
"@account-kit/logging": "^4.53.3-alpha.
|
|
51
|
+
"@aa-sdk/core": "^4.53.3-alpha.3",
|
|
52
|
+
"@account-kit/logging": "^4.53.3-alpha.3",
|
|
48
53
|
"eventemitter3": "^5.0.1",
|
|
49
54
|
"zod": "^3.22.4"
|
|
50
55
|
},
|
|
@@ -63,7 +68,7 @@
|
|
|
63
68
|
"url": "https://github.com/alchemyplatform/aa-sdk/issues"
|
|
64
69
|
},
|
|
65
70
|
"homepage": "https://github.com/alchemyplatform/aa-sdk#readme",
|
|
66
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "343faf9b44e2ef81f4ba9a7e3bce19431cade5ef",
|
|
67
72
|
"optionalDependencies": {
|
|
68
73
|
"alchemy-sdk": "^3.0.0"
|
|
69
74
|
}
|
package/src/chains.ts
CHANGED
|
@@ -712,3 +712,51 @@ export const teaSepolia: Chain = defineChain({
|
|
|
712
712
|
},
|
|
713
713
|
testnet: true,
|
|
714
714
|
});
|
|
715
|
+
|
|
716
|
+
export const bobaSepolia: Chain = defineChain({
|
|
717
|
+
id: 28882,
|
|
718
|
+
name: "Boba Sepolia",
|
|
719
|
+
nativeCurrency: { name: "eth", symbol: "eth", decimals: 18 },
|
|
720
|
+
rpcUrls: {
|
|
721
|
+
default: {
|
|
722
|
+
http: ["https://boba-sepolia.g.alchemy.com/v2"],
|
|
723
|
+
},
|
|
724
|
+
public: {
|
|
725
|
+
http: ["https://boba-sepolia.g.alchemy.com/v2"],
|
|
726
|
+
},
|
|
727
|
+
alchemy: {
|
|
728
|
+
http: ["https://boba-sepolia.g.alchemy.com/v2"],
|
|
729
|
+
},
|
|
730
|
+
},
|
|
731
|
+
blockExplorers: {
|
|
732
|
+
default: {
|
|
733
|
+
name: "Block Explorer",
|
|
734
|
+
url: "https://sepolia.testnet.bobascan.com/",
|
|
735
|
+
},
|
|
736
|
+
},
|
|
737
|
+
testnet: true,
|
|
738
|
+
});
|
|
739
|
+
|
|
740
|
+
export const bobaMainnet: Chain = defineChain({
|
|
741
|
+
id: 288,
|
|
742
|
+
name: "Boba Mainnet",
|
|
743
|
+
nativeCurrency: { name: "eth", symbol: "eth", decimals: 18 },
|
|
744
|
+
rpcUrls: {
|
|
745
|
+
default: {
|
|
746
|
+
http: ["https://boba-mainnet.g.alchemy.com/v2"],
|
|
747
|
+
},
|
|
748
|
+
public: {
|
|
749
|
+
http: ["https://boba-mainnet.g.alchemy.com/v2"],
|
|
750
|
+
},
|
|
751
|
+
alchemy: {
|
|
752
|
+
http: ["https://boba-mainnet.g.alchemy.com/v2"],
|
|
753
|
+
},
|
|
754
|
+
},
|
|
755
|
+
blockExplorers: {
|
|
756
|
+
default: {
|
|
757
|
+
name: "Block Explorer",
|
|
758
|
+
url: "https://bobascan.com/",
|
|
759
|
+
},
|
|
760
|
+
},
|
|
761
|
+
testnet: false,
|
|
762
|
+
});
|
package/src/{client/decorators/alchemyEnhancedApis.ts → enhancedApi/alchemyEnhancedApisDecorator.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { SmartContractAccount } from "@aa-sdk/core";
|
|
2
2
|
import type { Alchemy } from "alchemy-sdk";
|
|
3
3
|
import type { Chain } from "viem";
|
|
4
|
-
import { AlchemySdkClientSchema } from "
|
|
5
|
-
import type { AlchemySmartAccountClient } from "../smartAccountClient.js";
|
|
4
|
+
import { AlchemySdkClientSchema } from "./schema.js";
|
|
5
|
+
import type { AlchemySmartAccountClient } from "../client/smartAccountClient.js";
|
|
6
6
|
|
|
7
7
|
export type AlchemyEnhancedApis = {
|
|
8
8
|
core: Alchemy["core"];
|
|
@@ -20,7 +20,7 @@ export type AlchemyEnhancedApis = {
|
|
|
20
20
|
* @example
|
|
21
21
|
* ```ts
|
|
22
22
|
* import { Alchemy } from "alchemy-sdk";
|
|
23
|
-
* import { alchemyEnhancedApiActions } from "@account-kit/infra";
|
|
23
|
+
* import { alchemyEnhancedApiActions } from "@account-kit/infra/enhanced-apis";
|
|
24
24
|
* import { alchemySCAClient } from "./client";
|
|
25
25
|
*
|
|
26
26
|
* const alchemy = new Alchemy(...);
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export type * from "../actions/simulateUserOperationChanges.js";
|
|
2
|
+
export { simulateUserOperationChanges } from "../actions/simulateUserOperationChanges.js";
|
|
3
|
+
export type * from "../actions/types.js";
|
|
4
|
+
export type * from "../alchemyTransport.js";
|
|
5
|
+
export { alchemy, isAlchemyTransport } from "../alchemyTransport.js";
|
|
6
|
+
export type * from "../chains.js";
|
|
7
|
+
export {
|
|
8
|
+
arbitrum,
|
|
9
|
+
arbitrumGoerli,
|
|
10
|
+
arbitrumNova,
|
|
11
|
+
arbitrumSepolia,
|
|
12
|
+
base,
|
|
13
|
+
baseGoerli,
|
|
14
|
+
baseSepolia,
|
|
15
|
+
defineAlchemyChain,
|
|
16
|
+
fraxtal,
|
|
17
|
+
fraxtalSepolia,
|
|
18
|
+
goerli,
|
|
19
|
+
mainnet,
|
|
20
|
+
optimism,
|
|
21
|
+
optimismGoerli,
|
|
22
|
+
optimismSepolia,
|
|
23
|
+
polygon,
|
|
24
|
+
polygonAmoy,
|
|
25
|
+
polygonMumbai,
|
|
26
|
+
sepolia,
|
|
27
|
+
shape,
|
|
28
|
+
shapeSepolia,
|
|
29
|
+
worldChain,
|
|
30
|
+
worldChainSepolia,
|
|
31
|
+
zora,
|
|
32
|
+
zoraSepolia,
|
|
33
|
+
beraChainBartio,
|
|
34
|
+
opbnbMainnet,
|
|
35
|
+
opbnbTestnet,
|
|
36
|
+
soneiumMinato,
|
|
37
|
+
soneiumMainnet,
|
|
38
|
+
unichainMainnet,
|
|
39
|
+
unichainSepolia,
|
|
40
|
+
inkMainnet,
|
|
41
|
+
inkSepolia,
|
|
42
|
+
mekong,
|
|
43
|
+
monadTestnet,
|
|
44
|
+
openlootSepolia,
|
|
45
|
+
gensynTestnet,
|
|
46
|
+
riseTestnet,
|
|
47
|
+
storyMainnet,
|
|
48
|
+
storyAeneid,
|
|
49
|
+
celoAlfajores,
|
|
50
|
+
celoMainnet,
|
|
51
|
+
teaSepolia,
|
|
52
|
+
bobaSepolia,
|
|
53
|
+
bobaMainnet,
|
|
54
|
+
} from "../chains.js";
|
|
55
|
+
export type * from "../client/decorators/smartAccount.js";
|
|
56
|
+
export { alchemyActions } from "../client/decorators/smartAccount.js";
|
|
57
|
+
export { isAlchemySmartAccountClient } from "../client/isAlchemySmartAccountClient.js";
|
|
58
|
+
export type * from "../client/rpcClient.js";
|
|
59
|
+
export { createAlchemyPublicRpcClient } from "../client/rpcClient.js";
|
|
60
|
+
export type * from "../client/smartAccountClient.js";
|
|
61
|
+
export { createAlchemySmartAccountClient } from "../client/smartAccountClient.js";
|
|
62
|
+
export type * from "../client/types.js";
|
|
63
|
+
export { getDefaultUserOperationFeeOptions } from "../defaults.js";
|
|
64
|
+
export { getAlchemyPaymasterAddress } from "../gas-manager.js";
|
|
65
|
+
export { alchemyFeeEstimator } from "../middleware/feeEstimator.js";
|
|
66
|
+
export type * from "../middleware/gasManager.js";
|
|
67
|
+
export * from "../alchemyTrackerHeaders.js";
|
|
68
|
+
export {
|
|
69
|
+
alchemyGasManagerMiddleware,
|
|
70
|
+
alchemyGasAndPaymasterAndDataMiddleware,
|
|
71
|
+
type PolicyToken,
|
|
72
|
+
} from "../middleware/gasManager.js";
|
|
73
|
+
export { alchemyUserOperationSimulator } from "../middleware/userOperationSimulator.js";
|
|
74
|
+
export type * from "../schema.js";
|
package/src/schema.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ChainSchema } from "@aa-sdk/core";
|
|
2
|
-
import { Alchemy } from "alchemy-sdk";
|
|
3
2
|
import type { Chain } from "viem";
|
|
4
3
|
import z from "zod";
|
|
5
4
|
|
|
@@ -8,5 +7,3 @@ export const AlchemyChainSchema = z.custom<Chain>((chain) => {
|
|
|
8
7
|
|
|
9
8
|
return chain_.rpcUrls.alchemy != null;
|
|
10
9
|
}, "chain must include an alchemy rpc url. See `defineAlchemyChain` or import a chain from `@account-kit/infra`.");
|
|
11
|
-
|
|
12
|
-
export const AlchemySdkClientSchema = z.instanceof(Alchemy);
|
package/src/version.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alchemyEnhancedApis.js","sourceRoot":"","sources":["../../../../src/client/decorators/alchemyEnhancedApis.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAazD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,yBAAyB,CACvC,OAAgB;IAShB,OAAO,CAAC,MAAM,EAAE,EAAE;QAChB,MAAM,UAAU,GAAG,sBAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAEzD,IACE,OAAO,CAAC,MAAM,CAAC,GAAG;YAClB,OAAO,CAAC,MAAM,CAAC,GAAG,KAAK,MAAM,CAAC,SAAS,CAAC,aAAa,EACrD,CAAC;YACD,MAAM,IAAI,KAAK,CACb,yEAAyE,CAC1E,CAAC;QACJ,CAAC;QAED,OAAO;YACL,IAAI,EAAE,UAAU,CAAC,IAAI;YACrB,GAAG,EAAE,UAAU,CAAC,GAAG;YACnB,QAAQ,EAAE,UAAU,CAAC,QAAQ;YAC7B,KAAK,EAAE,UAAU,CAAC,KAAK;YACvB,EAAE,EAAE,UAAU,CAAC,EAAE;YACjB,MAAM,EAAE,UAAU,CAAC,MAAM;YACzB,MAAM,EAAE,UAAU,CAAC,MAAM;SAC1B,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import type { SmartContractAccount } from \"@aa-sdk/core\";\nimport type { Alchemy } from \"alchemy-sdk\";\nimport type { Chain } from \"viem\";\nimport { AlchemySdkClientSchema } from \"../../schema.js\";\nimport type { AlchemySmartAccountClient } from \"../smartAccountClient.js\";\n\nexport type AlchemyEnhancedApis = {\n core: Alchemy[\"core\"];\n nft: Alchemy[\"nft\"];\n transact: Alchemy[\"transact\"];\n debug: Alchemy[\"debug\"];\n ws: Alchemy[\"ws\"];\n notify: Alchemy[\"notify\"];\n config: Alchemy[\"config\"];\n};\n\n/**\n * Given an instance of the Alchemy SDK, returns a smart account client decorator which contains actions for interacting Alchemy's enhanced APIs.\n *\n * @example\n * ```ts\n * import { Alchemy } from \"alchemy-sdk\";\n * import { alchemyEnhancedApiActions } from \"@account-kit/infra\";\n * import { alchemySCAClient } from \"./client\";\n *\n * const alchemy = new Alchemy(...);\n * const enhancedApiDecorator = alchemyEnhancedApiActions(alchemy);\n * const withEnhancedApis = alchemySCAClient.extend(enhancedApiDecorator);\n * ```\n *\n * @param {Alchemy} alchemy The Alchemy instance containing the SDK client\n * @returns {(client: AlchemySmartAccountClient) => AlchemyEnhancedApis} A client decorator for Alchemy Smart Account clients that adds the enhanced API methods\n */\nexport function alchemyEnhancedApiActions(\n alchemy: Alchemy,\n): <\n TChain extends Chain | undefined = Chain | undefined,\n TAccount extends SmartContractAccount | undefined =\n | SmartContractAccount\n | undefined,\n>(\n client: AlchemySmartAccountClient<TChain, TAccount>,\n) => AlchemyEnhancedApis {\n return (client) => {\n const alchemySdk = AlchemySdkClientSchema.parse(alchemy);\n\n if (\n alchemy.config.url &&\n alchemy.config.url !== client.transport.alchemyRpcUrl\n ) {\n throw new Error(\n \"Alchemy SDK client JSON-RPC URL must match AlchemyProvider JSON-RPC URL\",\n );\n }\n\n return {\n core: alchemySdk.core,\n nft: alchemySdk.nft,\n transact: alchemySdk.transact,\n debug: alchemySdk.debug,\n ws: alchemySdk.ws,\n notify: alchemySdk.notify,\n config: alchemySdk.config,\n };\n };\n}\n"]}
|
package/dist/esm/index.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export type * from "./actions/simulateUserOperationChanges.js";
|
|
2
|
-
export { simulateUserOperationChanges } from "./actions/simulateUserOperationChanges.js";
|
|
3
|
-
export type * from "./actions/types.js";
|
|
4
|
-
export type * from "./alchemyTransport.js";
|
|
5
|
-
export { alchemy, isAlchemyTransport } from "./alchemyTransport.js";
|
|
6
|
-
export type * from "./chains.js";
|
|
7
|
-
export { arbitrum, arbitrumGoerli, arbitrumNova, arbitrumSepolia, base, baseGoerli, baseSepolia, defineAlchemyChain, fraxtal, fraxtalSepolia, goerli, mainnet, optimism, optimismGoerli, optimismSepolia, polygon, polygonAmoy, polygonMumbai, sepolia, shape, shapeSepolia, worldChain, worldChainSepolia, zora, zoraSepolia, beraChainBartio, opbnbMainnet, opbnbTestnet, soneiumMinato, soneiumMainnet, unichainMainnet, unichainSepolia, inkMainnet, inkSepolia, mekong, monadTestnet, openlootSepolia, gensynTestnet, riseTestnet, storyMainnet, storyAeneid, celoAlfajores, celoMainnet, teaSepolia, } from "./chains.js";
|
|
8
|
-
export type * from "./client/decorators/alchemyEnhancedApis.js";
|
|
9
|
-
export { alchemyEnhancedApiActions } from "./client/decorators/alchemyEnhancedApis.js";
|
|
10
|
-
export type * from "./client/decorators/smartAccount.js";
|
|
11
|
-
export { alchemyActions } from "./client/decorators/smartAccount.js";
|
|
12
|
-
export { isAlchemySmartAccountClient } from "./client/isAlchemySmartAccountClient.js";
|
|
13
|
-
export type * from "./client/rpcClient.js";
|
|
14
|
-
export { createAlchemyPublicRpcClient } from "./client/rpcClient.js";
|
|
15
|
-
export type * from "./client/smartAccountClient.js";
|
|
16
|
-
export { createAlchemySmartAccountClient } from "./client/smartAccountClient.js";
|
|
17
|
-
export type * from "./client/types.js";
|
|
18
|
-
export { getDefaultUserOperationFeeOptions } from "./defaults.js";
|
|
19
|
-
export { getAlchemyPaymasterAddress } from "./gas-manager.js";
|
|
20
|
-
export { alchemyFeeEstimator } from "./middleware/feeEstimator.js";
|
|
21
|
-
export type * from "./middleware/gasManager.js";
|
|
22
|
-
export * from "./alchemyTrackerHeaders.js";
|
|
23
|
-
export { alchemyGasManagerMiddleware, alchemyGasAndPaymasterAndDataMiddleware, type PolicyToken, } from "./middleware/gasManager.js";
|
|
24
|
-
export { alchemyUserOperationSimulator } from "./middleware/userOperationSimulator.js";
|
|
25
|
-
export type * from "./schema.js";
|
package/dist/esm/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export { simulateUserOperationChanges } from "./actions/simulateUserOperationChanges.js";
|
|
2
|
-
export { alchemy, isAlchemyTransport } from "./alchemyTransport.js";
|
|
3
|
-
export { arbitrum, arbitrumGoerli, arbitrumNova, arbitrumSepolia, base, baseGoerli, baseSepolia, defineAlchemyChain, fraxtal, fraxtalSepolia, goerli, mainnet, optimism, optimismGoerli, optimismSepolia, polygon, polygonAmoy, polygonMumbai, sepolia, shape, shapeSepolia, worldChain, worldChainSepolia, zora, zoraSepolia, beraChainBartio, opbnbMainnet, opbnbTestnet, soneiumMinato, soneiumMainnet, unichainMainnet, unichainSepolia, inkMainnet, inkSepolia, mekong, monadTestnet, openlootSepolia, gensynTestnet, riseTestnet, storyMainnet, storyAeneid, celoAlfajores, celoMainnet, teaSepolia, } from "./chains.js";
|
|
4
|
-
export { alchemyEnhancedApiActions } from "./client/decorators/alchemyEnhancedApis.js";
|
|
5
|
-
export { alchemyActions } from "./client/decorators/smartAccount.js";
|
|
6
|
-
export { isAlchemySmartAccountClient } from "./client/isAlchemySmartAccountClient.js";
|
|
7
|
-
export { createAlchemyPublicRpcClient } from "./client/rpcClient.js";
|
|
8
|
-
export { createAlchemySmartAccountClient } from "./client/smartAccountClient.js";
|
|
9
|
-
export { getDefaultUserOperationFeeOptions } from "./defaults.js";
|
|
10
|
-
export { getAlchemyPaymasterAddress } from "./gas-manager.js";
|
|
11
|
-
export { alchemyFeeEstimator } from "./middleware/feeEstimator.js";
|
|
12
|
-
export * from "./alchemyTrackerHeaders.js";
|
|
13
|
-
export { alchemyGasManagerMiddleware, alchemyGasAndPaymasterAndDataMiddleware, } from "./middleware/gasManager.js";
|
|
14
|
-
export { alchemyUserOperationSimulator } from "./middleware/userOperationSimulator.js";
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AAGzF,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEpE,OAAO,EACL,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,eAAe,EACf,IAAI,EACJ,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,cAAc,EACd,MAAM,EACN,OAAO,EACP,QAAQ,EACR,cAAc,EACd,eAAe,EACf,OAAO,EACP,WAAW,EACX,aAAa,EACb,OAAO,EACP,KAAK,EACL,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,IAAI,EACJ,WAAW,EACX,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,cAAc,EACd,eAAe,EACf,eAAe,EACf,UAAU,EACV,UAAU,EACV,MAAM,EACN,YAAY,EACZ,eAAe,EACf,aAAa,EACb,WAAW,EACX,YAAY,EACZ,WAAW,EACX,aAAa,EACb,WAAW,EACX,UAAU,GACX,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AAEvF,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AAEtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AAErE,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AAEjF,OAAO,EAAE,iCAAiC,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EACL,2BAA2B,EAC3B,uCAAuC,GAExC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC","sourcesContent":["export type * from \"./actions/simulateUserOperationChanges.js\";\nexport { simulateUserOperationChanges } from \"./actions/simulateUserOperationChanges.js\";\nexport type * from \"./actions/types.js\";\nexport type * from \"./alchemyTransport.js\";\nexport { alchemy, isAlchemyTransport } from \"./alchemyTransport.js\";\nexport type * from \"./chains.js\";\nexport {\n arbitrum,\n arbitrumGoerli,\n arbitrumNova,\n arbitrumSepolia,\n base,\n baseGoerli,\n baseSepolia,\n defineAlchemyChain,\n fraxtal,\n fraxtalSepolia,\n goerli,\n mainnet,\n optimism,\n optimismGoerli,\n optimismSepolia,\n polygon,\n polygonAmoy,\n polygonMumbai,\n sepolia,\n shape,\n shapeSepolia,\n worldChain,\n worldChainSepolia,\n zora,\n zoraSepolia,\n beraChainBartio,\n opbnbMainnet,\n opbnbTestnet,\n soneiumMinato,\n soneiumMainnet,\n unichainMainnet,\n unichainSepolia,\n inkMainnet,\n inkSepolia,\n mekong,\n monadTestnet,\n openlootSepolia,\n gensynTestnet,\n riseTestnet,\n storyMainnet,\n storyAeneid,\n celoAlfajores,\n celoMainnet,\n teaSepolia,\n} from \"./chains.js\";\nexport type * from \"./client/decorators/alchemyEnhancedApis.js\";\nexport { alchemyEnhancedApiActions } from \"./client/decorators/alchemyEnhancedApis.js\";\nexport type * from \"./client/decorators/smartAccount.js\";\nexport { alchemyActions } from \"./client/decorators/smartAccount.js\";\nexport { isAlchemySmartAccountClient } from \"./client/isAlchemySmartAccountClient.js\";\nexport type * from \"./client/rpcClient.js\";\nexport { createAlchemyPublicRpcClient } from \"./client/rpcClient.js\";\nexport type * from \"./client/smartAccountClient.js\";\nexport { createAlchemySmartAccountClient } from \"./client/smartAccountClient.js\";\nexport type * from \"./client/types.js\";\nexport { getDefaultUserOperationFeeOptions } from \"./defaults.js\";\nexport { getAlchemyPaymasterAddress } from \"./gas-manager.js\";\nexport { alchemyFeeEstimator } from \"./middleware/feeEstimator.js\";\nexport type * from \"./middleware/gasManager.js\";\nexport * from \"./alchemyTrackerHeaders.js\";\nexport {\n alchemyGasManagerMiddleware,\n alchemyGasAndPaymasterAndDataMiddleware,\n type PolicyToken,\n} from \"./middleware/gasManager.js\";\nexport { alchemyUserOperationSimulator } from \"./middleware/userOperationSimulator.js\";\nexport type * from \"./schema.js\";\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alchemyEnhancedApis.d.ts","sourceRoot":"","sources":["../../../../src/client/decorators/alchemyEnhancedApis.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAE1E,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACtB,GAAG,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IAC9B,KAAK,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACxB,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC1B,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,OAAO,GACf,CACD,MAAM,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EACpD,QAAQ,SAAS,oBAAoB,GAAG,SAAS,GAC7C,oBAAoB,GACpB,SAAS,EAEb,MAAM,EAAE,yBAAyB,CAAC,MAAM,EAAE,QAAQ,CAAC,KAChD,mBAAmB,CAuBvB"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export type * from "./actions/simulateUserOperationChanges.js";
|
|
2
|
-
export { simulateUserOperationChanges } from "./actions/simulateUserOperationChanges.js";
|
|
3
|
-
export type * from "./actions/types.js";
|
|
4
|
-
export type * from "./alchemyTransport.js";
|
|
5
|
-
export { alchemy, isAlchemyTransport } from "./alchemyTransport.js";
|
|
6
|
-
export type * from "./chains.js";
|
|
7
|
-
export { arbitrum, arbitrumGoerli, arbitrumNova, arbitrumSepolia, base, baseGoerli, baseSepolia, defineAlchemyChain, fraxtal, fraxtalSepolia, goerli, mainnet, optimism, optimismGoerli, optimismSepolia, polygon, polygonAmoy, polygonMumbai, sepolia, shape, shapeSepolia, worldChain, worldChainSepolia, zora, zoraSepolia, beraChainBartio, opbnbMainnet, opbnbTestnet, soneiumMinato, soneiumMainnet, unichainMainnet, unichainSepolia, inkMainnet, inkSepolia, mekong, monadTestnet, openlootSepolia, gensynTestnet, riseTestnet, storyMainnet, storyAeneid, celoAlfajores, celoMainnet, teaSepolia, } from "./chains.js";
|
|
8
|
-
export type * from "./client/decorators/alchemyEnhancedApis.js";
|
|
9
|
-
export { alchemyEnhancedApiActions } from "./client/decorators/alchemyEnhancedApis.js";
|
|
10
|
-
export type * from "./client/decorators/smartAccount.js";
|
|
11
|
-
export { alchemyActions } from "./client/decorators/smartAccount.js";
|
|
12
|
-
export { isAlchemySmartAccountClient } from "./client/isAlchemySmartAccountClient.js";
|
|
13
|
-
export type * from "./client/rpcClient.js";
|
|
14
|
-
export { createAlchemyPublicRpcClient } from "./client/rpcClient.js";
|
|
15
|
-
export type * from "./client/smartAccountClient.js";
|
|
16
|
-
export { createAlchemySmartAccountClient } from "./client/smartAccountClient.js";
|
|
17
|
-
export type * from "./client/types.js";
|
|
18
|
-
export { getDefaultUserOperationFeeOptions } from "./defaults.js";
|
|
19
|
-
export { getAlchemyPaymasterAddress } from "./gas-manager.js";
|
|
20
|
-
export { alchemyFeeEstimator } from "./middleware/feeEstimator.js";
|
|
21
|
-
export type * from "./middleware/gasManager.js";
|
|
22
|
-
export * from "./alchemyTrackerHeaders.js";
|
|
23
|
-
export { alchemyGasManagerMiddleware, alchemyGasAndPaymasterAndDataMiddleware, type PolicyToken, } from "./middleware/gasManager.js";
|
|
24
|
-
export { alchemyUserOperationSimulator } from "./middleware/userOperationSimulator.js";
|
|
25
|
-
export type * from "./schema.js";
|
|
26
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,2CAA2C,CAAC;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,mBAAmB,oBAAoB,CAAC;AACxC,mBAAmB,uBAAuB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACpE,mBAAmB,aAAa,CAAC;AACjC,OAAO,EACL,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,eAAe,EACf,IAAI,EACJ,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,cAAc,EACd,MAAM,EACN,OAAO,EACP,QAAQ,EACR,cAAc,EACd,eAAe,EACf,OAAO,EACP,WAAW,EACX,aAAa,EACb,OAAO,EACP,KAAK,EACL,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,IAAI,EACJ,WAAW,EACX,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,cAAc,EACd,eAAe,EACf,eAAe,EACf,UAAU,EACV,UAAU,EACV,MAAM,EACN,YAAY,EACZ,eAAe,EACf,aAAa,EACb,WAAW,EACX,YAAY,EACZ,WAAW,EACX,aAAa,EACb,WAAW,EACX,UAAU,GACX,MAAM,aAAa,CAAC;AACrB,mBAAmB,4CAA4C,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,mBAAmB,qCAAqC,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,mBAAmB,uBAAuB,CAAC;AAC3C,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AACrE,mBAAmB,gCAAgC,CAAC;AACpD,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AACjF,mBAAmB,mBAAmB,CAAC;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,mBAAmB,4BAA4B,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EACL,2BAA2B,EAC3B,uCAAuC,EACvC,KAAK,WAAW,GACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,mBAAmB,aAAa,CAAC"}
|
package/src/index.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
export type * from "./actions/simulateUserOperationChanges.js";
|
|
2
|
-
export { simulateUserOperationChanges } from "./actions/simulateUserOperationChanges.js";
|
|
3
|
-
export type * from "./actions/types.js";
|
|
4
|
-
export type * from "./alchemyTransport.js";
|
|
5
|
-
export { alchemy, isAlchemyTransport } from "./alchemyTransport.js";
|
|
6
|
-
export type * from "./chains.js";
|
|
7
|
-
export {
|
|
8
|
-
arbitrum,
|
|
9
|
-
arbitrumGoerli,
|
|
10
|
-
arbitrumNova,
|
|
11
|
-
arbitrumSepolia,
|
|
12
|
-
base,
|
|
13
|
-
baseGoerli,
|
|
14
|
-
baseSepolia,
|
|
15
|
-
defineAlchemyChain,
|
|
16
|
-
fraxtal,
|
|
17
|
-
fraxtalSepolia,
|
|
18
|
-
goerli,
|
|
19
|
-
mainnet,
|
|
20
|
-
optimism,
|
|
21
|
-
optimismGoerli,
|
|
22
|
-
optimismSepolia,
|
|
23
|
-
polygon,
|
|
24
|
-
polygonAmoy,
|
|
25
|
-
polygonMumbai,
|
|
26
|
-
sepolia,
|
|
27
|
-
shape,
|
|
28
|
-
shapeSepolia,
|
|
29
|
-
worldChain,
|
|
30
|
-
worldChainSepolia,
|
|
31
|
-
zora,
|
|
32
|
-
zoraSepolia,
|
|
33
|
-
beraChainBartio,
|
|
34
|
-
opbnbMainnet,
|
|
35
|
-
opbnbTestnet,
|
|
36
|
-
soneiumMinato,
|
|
37
|
-
soneiumMainnet,
|
|
38
|
-
unichainMainnet,
|
|
39
|
-
unichainSepolia,
|
|
40
|
-
inkMainnet,
|
|
41
|
-
inkSepolia,
|
|
42
|
-
mekong,
|
|
43
|
-
monadTestnet,
|
|
44
|
-
openlootSepolia,
|
|
45
|
-
gensynTestnet,
|
|
46
|
-
riseTestnet,
|
|
47
|
-
storyMainnet,
|
|
48
|
-
storyAeneid,
|
|
49
|
-
celoAlfajores,
|
|
50
|
-
celoMainnet,
|
|
51
|
-
teaSepolia,
|
|
52
|
-
} from "./chains.js";
|
|
53
|
-
export type * from "./client/decorators/alchemyEnhancedApis.js";
|
|
54
|
-
export { alchemyEnhancedApiActions } from "./client/decorators/alchemyEnhancedApis.js";
|
|
55
|
-
export type * from "./client/decorators/smartAccount.js";
|
|
56
|
-
export { alchemyActions } from "./client/decorators/smartAccount.js";
|
|
57
|
-
export { isAlchemySmartAccountClient } from "./client/isAlchemySmartAccountClient.js";
|
|
58
|
-
export type * from "./client/rpcClient.js";
|
|
59
|
-
export { createAlchemyPublicRpcClient } from "./client/rpcClient.js";
|
|
60
|
-
export type * from "./client/smartAccountClient.js";
|
|
61
|
-
export { createAlchemySmartAccountClient } from "./client/smartAccountClient.js";
|
|
62
|
-
export type * from "./client/types.js";
|
|
63
|
-
export { getDefaultUserOperationFeeOptions } from "./defaults.js";
|
|
64
|
-
export { getAlchemyPaymasterAddress } from "./gas-manager.js";
|
|
65
|
-
export { alchemyFeeEstimator } from "./middleware/feeEstimator.js";
|
|
66
|
-
export type * from "./middleware/gasManager.js";
|
|
67
|
-
export * from "./alchemyTrackerHeaders.js";
|
|
68
|
-
export {
|
|
69
|
-
alchemyGasManagerMiddleware,
|
|
70
|
-
alchemyGasAndPaymasterAndDataMiddleware,
|
|
71
|
-
type PolicyToken,
|
|
72
|
-
} from "./middleware/gasManager.js";
|
|
73
|
-
export { alchemyUserOperationSimulator } from "./middleware/userOperationSimulator.js";
|
|
74
|
-
export type * from "./schema.js";
|