@account-kit/infra 4.77.1 → 4.79.0
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 +6 -1
- package/dist/esm/chains.js +104 -17
- package/dist/esm/chains.js.map +1 -1
- package/dist/esm/exports/index.d.ts +1 -1
- package/dist/esm/exports/index.js +1 -1
- package/dist/esm/exports/index.js.map +1 -1
- package/dist/esm/gas-manager.js +1 -3
- package/dist/esm/gas-manager.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 +6 -1
- package/dist/types/chains.d.ts.map +1 -1
- package/dist/types/exports/index.d.ts +1 -1
- package/dist/types/exports/index.d.ts.map +1 -1
- package/dist/types/gas-manager.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
- package/src/chains.ts +110 -16
- package/src/exports/index.ts +5 -1
- package/src/gas-manager.ts +0 -3
- package/src/version.ts +1 -1
package/dist/esm/chains.d.ts
CHANGED
|
@@ -38,6 +38,8 @@ export declare const sepolia: Chain;
|
|
|
38
38
|
export declare const base: Chain;
|
|
39
39
|
export declare const baseGoerli: Chain;
|
|
40
40
|
export declare const baseSepolia: Chain;
|
|
41
|
+
export declare const bsc: Chain;
|
|
42
|
+
export declare const bscTestnet: Chain;
|
|
41
43
|
export declare const polygonMumbai: Chain;
|
|
42
44
|
export declare const polygonAmoy: Chain;
|
|
43
45
|
export declare const polygon: Chain;
|
|
@@ -66,8 +68,11 @@ export declare const gensynTestnet: Chain;
|
|
|
66
68
|
export declare const riseTestnet: Chain;
|
|
67
69
|
export declare const storyMainnet: Chain;
|
|
68
70
|
export declare const storyAeneid: Chain;
|
|
69
|
-
export declare const celoAlfajores: Chain;
|
|
70
71
|
export declare const celoMainnet: Chain;
|
|
72
|
+
export declare const celoSepolia: Chain;
|
|
71
73
|
export declare const teaSepolia: Chain;
|
|
72
74
|
export declare const bobaSepolia: Chain;
|
|
73
75
|
export declare const bobaMainnet: Chain;
|
|
76
|
+
export declare const edgeMainnet: Chain;
|
|
77
|
+
export declare const worldl3devnet: Chain;
|
|
78
|
+
export declare const stableMainnet: Chain;
|
package/dist/esm/chains.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineChain } from "viem";
|
|
2
|
-
import { arbitrum as vab, arbitrumGoerli as vabg, arbitrumSepolia as vabs, base as vbase, baseGoerli as vbaseg, baseSepolia as vbases, fraxtal as vfrax, goerli as vgo, mainnet as vmain, optimism as vop, optimismGoerli as vopg, optimismSepolia as vops, polygon as vpg, polygonAmoy as vpga, polygonMumbai as vpgm, sepolia as vsep, arbitrumNova as vabn, zora as vzora, zoraSepolia as vzoras, } from "viem/chains";
|
|
2
|
+
import { arbitrum as vab, arbitrumGoerli as vabg, arbitrumSepolia as vabs, base as vbase, baseGoerli as vbaseg, baseSepolia as vbases, bsc as vbsc, bscTestnet as vbsct, fraxtal as vfrax, goerli as vgo, mainnet as vmain, optimism as vop, optimismGoerli as vopg, optimismSepolia as vops, polygon as vpg, polygonAmoy as vpga, polygonMumbai as vpgm, sepolia as vsep, arbitrumNova as vabn, zora as vzora, zoraSepolia as vzoras, } from "viem/chains";
|
|
3
3
|
/**
|
|
4
4
|
* Defines an Alchemy chain configuration by adding an Alchemy-specific RPC base URL to the chain's RPC URLs.
|
|
5
5
|
*
|
|
@@ -138,6 +138,24 @@ export const baseSepolia = {
|
|
|
138
138
|
},
|
|
139
139
|
},
|
|
140
140
|
};
|
|
141
|
+
export const bsc = {
|
|
142
|
+
...vbsc,
|
|
143
|
+
rpcUrls: {
|
|
144
|
+
...vbsc.rpcUrls,
|
|
145
|
+
alchemy: {
|
|
146
|
+
http: ["https://bnb-mainnet.g.alchemy.com/v2"],
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
};
|
|
150
|
+
export const bscTestnet = {
|
|
151
|
+
...vbsct,
|
|
152
|
+
rpcUrls: {
|
|
153
|
+
...vbsct.rpcUrls,
|
|
154
|
+
alchemy: {
|
|
155
|
+
http: ["https://bnb-testnet.g.alchemy.com/v2"],
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
};
|
|
141
159
|
export const polygonMumbai = {
|
|
142
160
|
...vpgm,
|
|
143
161
|
rpcUrls: {
|
|
@@ -575,51 +593,51 @@ export const storyAeneid = defineChain({
|
|
|
575
593
|
},
|
|
576
594
|
testnet: true,
|
|
577
595
|
});
|
|
578
|
-
export const
|
|
579
|
-
id:
|
|
580
|
-
name: "Celo
|
|
596
|
+
export const celoMainnet = defineChain({
|
|
597
|
+
id: 42220,
|
|
598
|
+
name: "Celo Mainnet",
|
|
581
599
|
nativeCurrency: { name: "Celo native asset", symbol: "CELO", decimals: 18 },
|
|
582
600
|
rpcUrls: {
|
|
583
601
|
default: {
|
|
584
|
-
http: ["https://celo-
|
|
602
|
+
http: ["https://celo-mainnet.g.alchemy.com/v2"],
|
|
585
603
|
},
|
|
586
604
|
public: {
|
|
587
|
-
http: ["https://celo-
|
|
605
|
+
http: ["https://celo-mainnet.g.alchemy.com/v2"],
|
|
588
606
|
},
|
|
589
607
|
alchemy: {
|
|
590
|
-
http: ["https://celo-
|
|
608
|
+
http: ["https://celo-mainnet.g.alchemy.com/v2"],
|
|
591
609
|
},
|
|
592
610
|
},
|
|
593
611
|
blockExplorers: {
|
|
594
612
|
default: {
|
|
595
613
|
name: "Block Explorer",
|
|
596
|
-
url: "https://celo
|
|
614
|
+
url: "https://celo.blockscout.com/",
|
|
597
615
|
},
|
|
598
616
|
},
|
|
599
|
-
testnet:
|
|
617
|
+
testnet: false,
|
|
600
618
|
});
|
|
601
|
-
export const
|
|
602
|
-
id:
|
|
603
|
-
name: "Celo
|
|
619
|
+
export const celoSepolia = defineChain({
|
|
620
|
+
id: 11142220,
|
|
621
|
+
name: "Celo Sepolia",
|
|
604
622
|
nativeCurrency: { name: "Celo native asset", symbol: "CELO", decimals: 18 },
|
|
605
623
|
rpcUrls: {
|
|
606
624
|
default: {
|
|
607
|
-
http: ["https://celo-
|
|
625
|
+
http: ["https://celo-sepolia.g.alchemy.com/v2"],
|
|
608
626
|
},
|
|
609
627
|
public: {
|
|
610
|
-
http: ["https://celo-
|
|
628
|
+
http: ["https://celo-sepolia.g.alchemy.com/v2"],
|
|
611
629
|
},
|
|
612
630
|
alchemy: {
|
|
613
|
-
http: ["https://celo-
|
|
631
|
+
http: ["https://celo-sepolia.g.alchemy.com/v2"],
|
|
614
632
|
},
|
|
615
633
|
},
|
|
616
634
|
blockExplorers: {
|
|
617
635
|
default: {
|
|
618
636
|
name: "Block Explorer",
|
|
619
|
-
url: "https://celo.blockscout.com/",
|
|
637
|
+
url: "https://celo-sepolia.blockscout.com/",
|
|
620
638
|
},
|
|
621
639
|
},
|
|
622
|
-
testnet:
|
|
640
|
+
testnet: true,
|
|
623
641
|
});
|
|
624
642
|
export const teaSepolia = defineChain({
|
|
625
643
|
id: 10218,
|
|
@@ -690,4 +708,73 @@ export const bobaMainnet = defineChain({
|
|
|
690
708
|
},
|
|
691
709
|
testnet: false,
|
|
692
710
|
});
|
|
711
|
+
export const edgeMainnet = defineChain({
|
|
712
|
+
id: 3343,
|
|
713
|
+
name: "Edge Mainnet",
|
|
714
|
+
nativeCurrency: { name: "eth", symbol: "eth", decimals: 18 },
|
|
715
|
+
rpcUrls: {
|
|
716
|
+
default: {
|
|
717
|
+
http: ["https://edge-mainnet.g.alchemy.com/v2"],
|
|
718
|
+
},
|
|
719
|
+
public: {
|
|
720
|
+
http: ["https://edge-mainnet.g.alchemy.com/v2"],
|
|
721
|
+
},
|
|
722
|
+
alchemy: {
|
|
723
|
+
http: ["https://edge-mainnet.g.alchemy.com/v2"],
|
|
724
|
+
},
|
|
725
|
+
},
|
|
726
|
+
blockExplorers: {
|
|
727
|
+
default: {
|
|
728
|
+
name: "Block Explorer",
|
|
729
|
+
url: "https://edge-mainnet.blockscout.com/",
|
|
730
|
+
},
|
|
731
|
+
},
|
|
732
|
+
testnet: false,
|
|
733
|
+
});
|
|
734
|
+
export const worldl3devnet = defineChain({
|
|
735
|
+
id: 48011,
|
|
736
|
+
name: "WorldL3 Devnet",
|
|
737
|
+
nativeCurrency: { name: "eth", symbol: "eth", decimals: 18 },
|
|
738
|
+
rpcUrls: {
|
|
739
|
+
default: {
|
|
740
|
+
http: ["https://worldl3-devnet.g.alchemy.com/v2"],
|
|
741
|
+
},
|
|
742
|
+
public: {
|
|
743
|
+
http: ["https://worldl3-devnet.g.alchemy.com/v2"],
|
|
744
|
+
},
|
|
745
|
+
alchemy: {
|
|
746
|
+
http: ["https://worldl3-devnet.g.alchemy.com/v2"],
|
|
747
|
+
},
|
|
748
|
+
},
|
|
749
|
+
blockExplorers: {
|
|
750
|
+
default: {
|
|
751
|
+
name: "Block Explorer",
|
|
752
|
+
url: "https://worldl3-devnet.blockscout.com/",
|
|
753
|
+
},
|
|
754
|
+
},
|
|
755
|
+
testnet: true,
|
|
756
|
+
});
|
|
757
|
+
export const stableMainnet = defineChain({
|
|
758
|
+
id: 988,
|
|
759
|
+
name: "Stable Mainnet",
|
|
760
|
+
nativeCurrency: { name: "gUSDT", symbol: "gUSDT", decimals: 18 },
|
|
761
|
+
rpcUrls: {
|
|
762
|
+
default: {
|
|
763
|
+
http: ["https://stable-mainnet.g.alchemy.com/v2"],
|
|
764
|
+
},
|
|
765
|
+
public: {
|
|
766
|
+
http: ["https://stable-mainnet.g.alchemy.com/v2"],
|
|
767
|
+
},
|
|
768
|
+
alchemy: {
|
|
769
|
+
http: ["https://stable-mainnet.g.alchemy.com/v2"],
|
|
770
|
+
},
|
|
771
|
+
},
|
|
772
|
+
blockExplorers: {
|
|
773
|
+
default: {
|
|
774
|
+
name: "Block Explorer",
|
|
775
|
+
url: "https://stablescan.xyz/",
|
|
776
|
+
},
|
|
777
|
+
},
|
|
778
|
+
testnet: false,
|
|
779
|
+
});
|
|
693
780
|
//# 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;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;SACF;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,GAAG,GAAG;IACN,OAAO,EAAE;QACP,GAAG,GAAG,CAAC,OAAO;QACd,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,sCAAsC,CAAC;SAC/C;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAU;IACnC,GAAG,IAAI;IACP,OAAO,EAAE;QACP,GAAG,IAAI,CAAC,OAAO;QACf,OAAO,EAAE;YACP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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
|
+
{"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,GAAG,IAAI,IAAI,EACX,UAAU,IAAI,KAAK,EACnB,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;SACF;KACF,CAA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AyC,CAAC;SAClD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,yCAAyC,CAAC;SAClD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,gBAAgB;YACtB,GAAG,EAAE,yBAAyB;SAC/B;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 bsc as vbsc,\n bscTestnet as vbsct,\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 bsc: Chain = {\n ...vbsc,\n rpcUrls: {\n ...vbsc.rpcUrls,\n alchemy: {\n http: [\"https://bnb-mainnet.g.alchemy.com/v2\"],\n },\n },\n};\n\nexport const bscTestnet: Chain = {\n ...vbsct,\n rpcUrls: {\n ...vbsct.rpcUrls,\n alchemy: {\n http: [\"https://bnb-testnet.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 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 celoSepolia: Chain = defineChain({\n id: 11142220,\n name: \"Celo Sepolia\",\n nativeCurrency: { name: \"Celo native asset\", symbol: \"CELO\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://celo-sepolia.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://celo-sepolia.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://celo-sepolia.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://celo-sepolia.blockscout.com/\",\n },\n },\n testnet: true,\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\nexport const edgeMainnet: Chain = defineChain({\n id: 3343,\n name: \"Edge Mainnet\",\n nativeCurrency: { name: \"eth\", symbol: \"eth\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://edge-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://edge-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://edge-mainnet.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://edge-mainnet.blockscout.com/\",\n },\n },\n testnet: false,\n});\n\nexport const worldl3devnet: Chain = defineChain({\n id: 48011,\n name: \"WorldL3 Devnet\",\n nativeCurrency: { name: \"eth\", symbol: \"eth\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://worldl3-devnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://worldl3-devnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://worldl3-devnet.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://worldl3-devnet.blockscout.com/\",\n },\n },\n testnet: true,\n});\n\nexport const stableMainnet: Chain = defineChain({\n id: 988,\n name: \"Stable Mainnet\",\n nativeCurrency: { name: \"gUSDT\", symbol: \"gUSDT\", decimals: 18 },\n rpcUrls: {\n default: {\n http: [\"https://stable-mainnet.g.alchemy.com/v2\"],\n },\n public: {\n http: [\"https://stable-mainnet.g.alchemy.com/v2\"],\n },\n alchemy: {\n http: [\"https://stable-mainnet.g.alchemy.com/v2\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Block Explorer\",\n url: \"https://stablescan.xyz/\",\n },\n },\n testnet: false,\n});\n"]}
|
|
@@ -4,7 +4,7 @@ export type * from "../actions/types.js";
|
|
|
4
4
|
export type * from "../alchemyTransport.js";
|
|
5
5
|
export { alchemy, isAlchemyTransport } from "../alchemyTransport.js";
|
|
6
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,
|
|
7
|
+
export { arbitrum, arbitrumGoerli, arbitrumNova, arbitrumSepolia, base, baseGoerli, baseSepolia, bsc, bscTestnet, 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, celoMainnet, celoSepolia, teaSepolia, bobaSepolia, bobaMainnet, edgeMainnet, stableMainnet, } from "../chains.js";
|
|
8
8
|
export type * from "../client/decorators/smartAccount.js";
|
|
9
9
|
export { alchemyActions } from "../client/decorators/smartAccount.js";
|
|
10
10
|
export { isAlchemySmartAccountClient } from "../client/isAlchemySmartAccountClient.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { simulateUserOperationChanges } from "../actions/simulateUserOperationChanges.js";
|
|
2
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,
|
|
3
|
+
export { arbitrum, arbitrumGoerli, arbitrumNova, arbitrumSepolia, base, baseGoerli, baseSepolia, bsc, bscTestnet, 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, celoMainnet, celoSepolia, teaSepolia, bobaSepolia, bobaMainnet, edgeMainnet, stableMainnet, } from "../chains.js";
|
|
4
4
|
export { alchemyActions } from "../client/decorators/smartAccount.js";
|
|
5
5
|
export { isAlchemySmartAccountClient } from "../client/isAlchemySmartAccountClient.js";
|
|
6
6
|
export { createAlchemyPublicRpcClient } from "../client/rpcClient.js";
|
|
@@ -1 +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,
|
|
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,GAAG,EACH,UAAU,EACV,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,WAAW,EACX,WAAW,EACX,UAAU,EACV,WAAW,EACX,WAAW,EACX,WAAW,EACX,aAAa,GACd,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 bsc,\n bscTestnet,\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 celoMainnet,\n celoSepolia,\n teaSepolia,\n bobaSepolia,\n bobaMainnet,\n edgeMainnet,\n stableMainnet,\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/gas-manager.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { encodeFunctionData } from "viem";
|
|
2
|
-
import { arbitrum, arbitrumSepolia, base, baseSepolia, fraxtal, fraxtalSepolia, mainnet, optimism, optimismSepolia, polygon, polygonAmoy, unichainSepolia, worldChainSepolia, sepolia, zora, zoraSepolia, shapeSepolia, optimismGoerli, arbitrumGoerli, arbitrumNova, baseGoerli, beraChainBartio,
|
|
2
|
+
import { arbitrum, arbitrumSepolia, base, baseSepolia, fraxtal, fraxtalSepolia, mainnet, optimism, optimismSepolia, polygon, polygonAmoy, unichainSepolia, worldChainSepolia, sepolia, zora, zoraSepolia, shapeSepolia, optimismGoerli, arbitrumGoerli, arbitrumNova, baseGoerli, beraChainBartio, celoMainnet, gensynTestnet, goerli, inkMainnet, inkSepolia, monadTestnet, opbnbMainnet, opbnbTestnet, openlootSepolia, polygonMumbai, riseTestnet, shape, soneiumMainnet, soneiumMinato, storyAeneid, storyMainnet, teaSepolia, unichainMainnet, worldChain, } from "./chains.js";
|
|
3
3
|
export const AlchemyPaymasterAddressV06Unify = "0x0000000000ce04e2359130e7d0204A5249958921";
|
|
4
4
|
export const AlchemyPaymasterAddressV07Unify = "0x00000000000667F27D4DB42334ec11a25db7EBb4";
|
|
5
5
|
export const AlchemyPaymasterAddressV4 = "0xEaf0Cde110a5d503f2dD69B3a49E031e29b3F9D2";
|
|
@@ -54,7 +54,6 @@ export const getAlchemyPaymasterAddress = (chain, version) => {
|
|
|
54
54
|
case inkMainnet.id:
|
|
55
55
|
case arbitrumNova.id:
|
|
56
56
|
case storyMainnet.id:
|
|
57
|
-
case celoAlfajores.id:
|
|
58
57
|
case celoMainnet.id:
|
|
59
58
|
return AlchemyPaymasterAddressV4;
|
|
60
59
|
case polygonAmoy.id:
|
|
@@ -80,7 +79,6 @@ export const getAlchemyPaymasterAddress = (chain, version) => {
|
|
|
80
79
|
case "0.7.0":
|
|
81
80
|
switch (chain.id) {
|
|
82
81
|
case arbitrumNova.id:
|
|
83
|
-
case celoAlfajores.id:
|
|
84
82
|
case celoMainnet.id:
|
|
85
83
|
case gensynTestnet.id:
|
|
86
84
|
case inkMainnet.id:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gas-manager.js","sourceRoot":"","sources":["../../src/gas-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAsC,MAAM,MAAM,CAAC;AAC9E,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,WAAW,EACX,OAAO,EACP,cAAc,EACd,O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AE;KAC/C;IACD,MAAM,EAAE;QACN,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE;QAClC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;QACpC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE;QAClC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE;QAClC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE;KACtC;CACO,CAAC;AAEX,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,iDAAiD;IACjD,mEAAmE;IACnE,oFAAoF;IACpF,2EAA2E;CACnE,CAAC;AAEX,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,6DAA6D;CACrD,CAAC;AAEX,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,gBAAyB,EACzB,SAAiB,EACjB,EAAE;IACF,OAAO,kBAAkB,CAAC;QACxB,GAAG,EAAE,SAAS;QACd,YAAY,EAAE,SAAS;QACvB,IAAI,EAAE,CAAC,gBAAgB,EAAE,SAAS,CAAC;KACpC,CAAC,CAAC;AACL,CAAC,CAAC","sourcesContent":["import { encodeFunctionData, type Address, type Chain, type Hex } from \"viem\";\nimport {\n arbitrum,\n arbitrumSepolia,\n base,\n baseSepolia,\n fraxtal,\n fraxtalSepolia,\n mainnet,\n optimism,\n optimismSepolia,\n polygon,\n polygonAmoy,\n unichainSepolia,\n worldChainSepolia,\n sepolia,\n zora,\n zoraSepolia,\n shapeSepolia,\n optimismGoerli,\n arbitrumGoerli,\n arbitrumNova,\n baseGoerli,\n beraChainBartio,\n celoAlfajores,\n celoMainnet,\n gensynTestnet,\n goerli,\n inkMainnet,\n inkSepolia,\n monadTestnet,\n opbnbMainnet,\n opbnbTestnet,\n openlootSepolia,\n polygonMumbai,\n riseTestnet,\n shape,\n soneiumMainnet,\n soneiumMinato,\n storyAeneid,\n storyMainnet,\n teaSepolia,\n unichainMainnet,\n worldChain,\n} from \"./chains.js\";\nimport type { EntryPointVersion } from \"@aa-sdk/core\";\nexport const AlchemyPaymasterAddressV06Unify =\n \"0x0000000000ce04e2359130e7d0204A5249958921\";\nexport const AlchemyPaymasterAddressV07Unify =\n \"0x00000000000667F27D4DB42334ec11a25db7EBb4\";\n\nexport const AlchemyPaymasterAddressV4 =\n \"0xEaf0Cde110a5d503f2dD69B3a49E031e29b3F9D2\";\nexport const AlchemyPaymasterAddressV3 =\n \"0x4f84a207A80c39E9e8BaE717c1F25bA7AD1fB08F\";\nexport const AlchemyPaymasterAddressV2 =\n \"0x4Fd9098af9ddcB41DA48A1d78F91F1398965addc\";\nexport const ArbSepoliaPaymasterAddress =\n \"0x0804Afe6EEFb73ce7F93CD0d5e7079a5a8068592\";\nexport const AlchemyPaymasterAddressV1 =\n \"0xc03aac639bb21233e0139381970328db8bceeb67\";\n\nexport const AlchemyPaymasterAddressV07V2 =\n \"0x2cc0c7981D846b9F2a16276556f6e8cb52BfB633\";\nexport const AlchemyPaymasterAddressV07V1 =\n \"0xEF725Aa22d43Ea69FB22bE2EBe6ECa205a6BCf5B\";\n\n/**\n * Retrieves the Alchemy paymaster address for the given chain. Returns different addresses based on the chain ID.\n *\n * @example\n * ```ts\n * import { sepolia, getAlchemyPaymasterAddress } from \"@account-kit/infra\";\n *\n * const paymasterAddress = getAlchemyPaymasterAddress(sepolia, \"0.6.0\");\n * ```\n *\n * @param {Chain} chain The chain for which the paymaster address is required\n * @param {EntryPointVersion} version The version of the entry point\n * @returns {Address} The Alchemy paymaster address corresponding to the specified chain\n */\nexport const getAlchemyPaymasterAddress = (\n chain: Chain,\n version: EntryPointVersion,\n): Address => {\n switch (version) {\n case \"0.6.0\":\n switch (chain.id) {\n case fraxtalSepolia.id:\n case worldChainSepolia.id:\n case shapeSepolia.id:\n case unichainSepolia.id:\n case opbnbTestnet.id:\n case inkSepolia.id:\n case monadTestnet.id:\n case openlootSepolia.id:\n case gensynTestnet.id:\n case riseTestnet.id:\n case storyAeneid.id:\n case teaSepolia.id:\n case arbitrumGoerli.id:\n case goerli.id:\n case optimismGoerli.id:\n case baseGoerli.id:\n case polygonMumbai.id:\n case worldChain.id:\n case shape.id:\n case unichainMainnet.id:\n case soneiumMinato.id:\n case soneiumMainnet.id:\n case opbnbMainnet.id:\n case beraChainBartio.id:\n case inkMainnet.id:\n case arbitrumNova.id:\n case storyMainnet.id:\n case celoAlfajores.id:\n case celoMainnet.id:\n return AlchemyPaymasterAddressV4;\n case polygonAmoy.id:\n case optimismSepolia.id:\n case baseSepolia.id:\n case zora.id:\n case zoraSepolia.id:\n case fraxtal.id:\n return AlchemyPaymasterAddressV3;\n case mainnet.id:\n case arbitrum.id:\n case optimism.id:\n case polygon.id:\n case base.id:\n return AlchemyPaymasterAddressV2;\n case arbitrumSepolia.id:\n return ArbSepoliaPaymasterAddress;\n case sepolia.id:\n return AlchemyPaymasterAddressV1;\n default:\n return AlchemyPaymasterAddressV06Unify;\n }\n case \"0.7.0\":\n switch (chain.id) {\n case arbitrumNova.id:\n case celoAlfajores.id:\n case celoMainnet.id:\n case gensynTestnet.id:\n case inkMainnet.id:\n case inkSepolia.id:\n case monadTestnet.id:\n case opbnbMainnet.id:\n case opbnbTestnet.id:\n case openlootSepolia.id:\n case riseTestnet.id:\n case shape.id:\n case shapeSepolia.id:\n case soneiumMainnet.id:\n case soneiumMinato.id:\n case storyAeneid.id:\n case storyMainnet.id:\n case teaSepolia.id:\n case unichainMainnet.id:\n case unichainSepolia.id:\n case worldChain.id:\n case worldChainSepolia.id:\n return AlchemyPaymasterAddressV07V1;\n case arbitrum.id:\n case arbitrumGoerli.id:\n case arbitrumSepolia.id:\n case base.id:\n case baseGoerli.id:\n case baseSepolia.id:\n case beraChainBartio.id:\n case fraxtal.id:\n case fraxtalSepolia.id:\n case goerli.id:\n case mainnet.id:\n case optimism.id:\n case optimismGoerli.id:\n case optimismSepolia.id:\n case polygon.id:\n case polygonAmoy.id:\n case polygonMumbai.id:\n case sepolia.id:\n case zora.id:\n case zoraSepolia.id:\n return AlchemyPaymasterAddressV07V2;\n default:\n return AlchemyPaymasterAddressV07Unify;\n }\n default:\n throw new Error(`Unsupported EntryPointVersion: ${version}`);\n }\n};\n\nexport const PermitTypes = {\n EIP712Domain: [\n { name: \"name\", type: \"string\" },\n { name: \"version\", type: \"string\" },\n { name: \"chainId\", type: \"uint256\" },\n { name: \"verifyingContract\", type: \"address\" },\n ],\n Permit: [\n { name: \"owner\", type: \"address\" },\n { name: \"spender\", type: \"address\" },\n { name: \"value\", type: \"uint256\" },\n { name: \"nonce\", type: \"uint256\" },\n { name: \"deadline\", type: \"uint256\" },\n ],\n} as const;\n\nexport const ERC20Abis = [\n \"function decimals() public view returns (uint8)\",\n \"function balanceOf(address owner) external view returns (uint256)\",\n \"function allowance(address owner, address spender) external view returns (uint256)\",\n \"function approve(address spender, uint256 amount) external returns (bool)\",\n] as const;\n\nexport const EIP7597Abis = [\n \"function nonces(address owner) external view returns (uint)\",\n] as const;\n\nexport const approveTokenCallData = (\n paymasterAddress: Address,\n allowance: BigInt,\n) => {\n return encodeFunctionData({\n abi: ERC20Abis,\n functionName: \"approve\",\n args: [paymasterAddress, allowance],\n });\n};\n\nexport type PermitMessage = {\n owner: Hex;\n spender: Hex;\n value: bigint;\n nonce: bigint;\n deadline: bigint;\n};\n\nexport type PermitDomain = {\n name: string;\n version: string;\n chainId: bigint;\n verifyingContract: Hex;\n};\n"]}
|
|
1
|
+
{"version":3,"file":"gas-manager.js","sourceRoot":"","sources":["../../src/gas-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAsC,MAAM,MAAM,CAAC;AAC9E,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,WAAW,EACX,OAAO,EACP,cAAc,EACd,OAAO,EACP,QAAQ,EACR,eAAe,EACf,OAAO,EACP,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,OAAO,EACP,IAAI,EACJ,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,EAAE,SAAS,EAAE;QAClC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE;QAClC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE;KACtC;CACO,CAAC;AAEX,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,iDAAiD;IACjD,mEAAmE;IACnE,oFAAoF;IACpF,2EAA2E;CACnE,CAAC;AAEX,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,6DAA6D;CACrD,CAAC;AAEX,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,gBAAyB,EACzB,SAAiB,EACjB,EAAE;IACF,OAAO,kBAAkB,CAAC;QACxB,GAAG,EAAE,SAAS;QACd,YAAY,EAAE,SAAS;QACvB,IAAI,EAAE,CAAC,gBAAgB,EAAE,SAAS,CAAC;KACpC,CAAC,CAAC;AACL,CAAC,CAAC","sourcesContent":["import { encodeFunctionData, type Address, type Chain, type Hex } from \"viem\";\nimport {\n arbitrum,\n arbitrumSepolia,\n base,\n baseSepolia,\n fraxtal,\n fraxtalSepolia,\n mainnet,\n optimism,\n optimismSepolia,\n polygon,\n polygonAmoy,\n unichainSepolia,\n worldChainSepolia,\n sepolia,\n zora,\n zoraSepolia,\n shapeSepolia,\n optimismGoerli,\n arbitrumGoerli,\n arbitrumNova,\n baseGoerli,\n beraChainBartio,\n celoMainnet,\n gensynTestnet,\n goerli,\n inkMainnet,\n inkSepolia,\n monadTestnet,\n opbnbMainnet,\n opbnbTestnet,\n openlootSepolia,\n polygonMumbai,\n riseTestnet,\n shape,\n soneiumMainnet,\n soneiumMinato,\n storyAeneid,\n storyMainnet,\n teaSepolia,\n unichainMainnet,\n worldChain,\n} from \"./chains.js\";\nimport type { EntryPointVersion } from \"@aa-sdk/core\";\nexport const AlchemyPaymasterAddressV06Unify =\n \"0x0000000000ce04e2359130e7d0204A5249958921\";\nexport const AlchemyPaymasterAddressV07Unify =\n \"0x00000000000667F27D4DB42334ec11a25db7EBb4\";\n\nexport const AlchemyPaymasterAddressV4 =\n \"0xEaf0Cde110a5d503f2dD69B3a49E031e29b3F9D2\";\nexport const AlchemyPaymasterAddressV3 =\n \"0x4f84a207A80c39E9e8BaE717c1F25bA7AD1fB08F\";\nexport const AlchemyPaymasterAddressV2 =\n \"0x4Fd9098af9ddcB41DA48A1d78F91F1398965addc\";\nexport const ArbSepoliaPaymasterAddress =\n \"0x0804Afe6EEFb73ce7F93CD0d5e7079a5a8068592\";\nexport const AlchemyPaymasterAddressV1 =\n \"0xc03aac639bb21233e0139381970328db8bceeb67\";\n\nexport const AlchemyPaymasterAddressV07V2 =\n \"0x2cc0c7981D846b9F2a16276556f6e8cb52BfB633\";\nexport const AlchemyPaymasterAddressV07V1 =\n \"0xEF725Aa22d43Ea69FB22bE2EBe6ECa205a6BCf5B\";\n\n/**\n * Retrieves the Alchemy paymaster address for the given chain. Returns different addresses based on the chain ID.\n *\n * @example\n * ```ts\n * import { sepolia, getAlchemyPaymasterAddress } from \"@account-kit/infra\";\n *\n * const paymasterAddress = getAlchemyPaymasterAddress(sepolia, \"0.6.0\");\n * ```\n *\n * @param {Chain} chain The chain for which the paymaster address is required\n * @param {EntryPointVersion} version The version of the entry point\n * @returns {Address} The Alchemy paymaster address corresponding to the specified chain\n */\nexport const getAlchemyPaymasterAddress = (\n chain: Chain,\n version: EntryPointVersion,\n): Address => {\n switch (version) {\n case \"0.6.0\":\n switch (chain.id) {\n case fraxtalSepolia.id:\n case worldChainSepolia.id:\n case shapeSepolia.id:\n case unichainSepolia.id:\n case opbnbTestnet.id:\n case inkSepolia.id:\n case monadTestnet.id:\n case openlootSepolia.id:\n case gensynTestnet.id:\n case riseTestnet.id:\n case storyAeneid.id:\n case teaSepolia.id:\n case arbitrumGoerli.id:\n case goerli.id:\n case optimismGoerli.id:\n case baseGoerli.id:\n case polygonMumbai.id:\n case worldChain.id:\n case shape.id:\n case unichainMainnet.id:\n case soneiumMinato.id:\n case soneiumMainnet.id:\n case opbnbMainnet.id:\n case beraChainBartio.id:\n case inkMainnet.id:\n case arbitrumNova.id:\n case storyMainnet.id:\n case celoMainnet.id:\n return AlchemyPaymasterAddressV4;\n case polygonAmoy.id:\n case optimismSepolia.id:\n case baseSepolia.id:\n case zora.id:\n case zoraSepolia.id:\n case fraxtal.id:\n return AlchemyPaymasterAddressV3;\n case mainnet.id:\n case arbitrum.id:\n case optimism.id:\n case polygon.id:\n case base.id:\n return AlchemyPaymasterAddressV2;\n case arbitrumSepolia.id:\n return ArbSepoliaPaymasterAddress;\n case sepolia.id:\n return AlchemyPaymasterAddressV1;\n default:\n return AlchemyPaymasterAddressV06Unify;\n }\n case \"0.7.0\":\n switch (chain.id) {\n case arbitrumNova.id:\n case celoMainnet.id:\n case gensynTestnet.id:\n case inkMainnet.id:\n case inkSepolia.id:\n case monadTestnet.id:\n case opbnbMainnet.id:\n case opbnbTestnet.id:\n case openlootSepolia.id:\n case riseTestnet.id:\n case shape.id:\n case shapeSepolia.id:\n case soneiumMainnet.id:\n case soneiumMinato.id:\n case storyAeneid.id:\n case storyMainnet.id:\n case teaSepolia.id:\n case unichainMainnet.id:\n case unichainSepolia.id:\n case worldChain.id:\n case worldChainSepolia.id:\n return AlchemyPaymasterAddressV07V1;\n case arbitrum.id:\n case arbitrumGoerli.id:\n case arbitrumSepolia.id:\n case base.id:\n case baseGoerli.id:\n case baseSepolia.id:\n case beraChainBartio.id:\n case fraxtal.id:\n case fraxtalSepolia.id:\n case goerli.id:\n case mainnet.id:\n case optimism.id:\n case optimismGoerli.id:\n case optimismSepolia.id:\n case polygon.id:\n case polygonAmoy.id:\n case polygonMumbai.id:\n case sepolia.id:\n case zora.id:\n case zoraSepolia.id:\n return AlchemyPaymasterAddressV07V2;\n default:\n return AlchemyPaymasterAddressV07Unify;\n }\n default:\n throw new Error(`Unsupported EntryPointVersion: ${version}`);\n }\n};\n\nexport const PermitTypes = {\n EIP712Domain: [\n { name: \"name\", type: \"string\" },\n { name: \"version\", type: \"string\" },\n { name: \"chainId\", type: \"uint256\" },\n { name: \"verifyingContract\", type: \"address\" },\n ],\n Permit: [\n { name: \"owner\", type: \"address\" },\n { name: \"spender\", type: \"address\" },\n { name: \"value\", type: \"uint256\" },\n { name: \"nonce\", type: \"uint256\" },\n { name: \"deadline\", type: \"uint256\" },\n ],\n} as const;\n\nexport const ERC20Abis = [\n \"function decimals() public view returns (uint8)\",\n \"function balanceOf(address owner) external view returns (uint256)\",\n \"function allowance(address owner, address spender) external view returns (uint256)\",\n \"function approve(address spender, uint256 amount) external returns (bool)\",\n] as const;\n\nexport const EIP7597Abis = [\n \"function nonces(address owner) external view returns (uint)\",\n] as const;\n\nexport const approveTokenCallData = (\n paymasterAddress: Address,\n allowance: BigInt,\n) => {\n return encodeFunctionData({\n abi: ERC20Abis,\n functionName: \"approve\",\n args: [paymasterAddress, allowance],\n });\n};\n\nexport type PermitMessage = {\n owner: Hex;\n spender: Hex;\n value: bigint;\n nonce: bigint;\n deadline: bigint;\n};\n\nexport type PermitDomain = {\n name: string;\n version: string;\n chainId: bigint;\n verifyingContract: Hex;\n};\n"]}
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.79.0";
|
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,QAAQ,CAAC","sourcesContent":["// This file is autogenerated by inject-version.ts. Any changes will be\n// overwritten on commit!\nexport const VERSION = \"4.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,yBAAyB;AACzB,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC","sourcesContent":["// This file is autogenerated by inject-version.ts. Any changes will be\n// overwritten on commit!\nexport const VERSION = \"4.79.0\";\n"]}
|
package/dist/types/chains.d.ts
CHANGED
|
@@ -38,6 +38,8 @@ export declare const sepolia: Chain;
|
|
|
38
38
|
export declare const base: Chain;
|
|
39
39
|
export declare const baseGoerli: Chain;
|
|
40
40
|
export declare const baseSepolia: Chain;
|
|
41
|
+
export declare const bsc: Chain;
|
|
42
|
+
export declare const bscTestnet: Chain;
|
|
41
43
|
export declare const polygonMumbai: Chain;
|
|
42
44
|
export declare const polygonAmoy: Chain;
|
|
43
45
|
export declare const polygon: Chain;
|
|
@@ -66,9 +68,12 @@ export declare const gensynTestnet: Chain;
|
|
|
66
68
|
export declare const riseTestnet: Chain;
|
|
67
69
|
export declare const storyMainnet: Chain;
|
|
68
70
|
export declare const storyAeneid: Chain;
|
|
69
|
-
export declare const celoAlfajores: Chain;
|
|
70
71
|
export declare const celoMainnet: Chain;
|
|
72
|
+
export declare const celoSepolia: Chain;
|
|
71
73
|
export declare const teaSepolia: Chain;
|
|
72
74
|
export declare const bobaSepolia: Chain;
|
|
73
75
|
export declare const bobaMainnet: Chain;
|
|
76
|
+
export declare const edgeMainnet: Chain;
|
|
77
|
+
export declare const worldl3devnet: Chain;
|
|
78
|
+
export declare const stableMainnet: Chain;
|
|
74
79
|
//# 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;
|
|
1
|
+
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../src/chains.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AA2BlC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,KAAK,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;CACpB,CAA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ransport } from "../alchemyTransport.js";
|
|
6
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,
|
|
7
|
+
export { arbitrum, arbitrumGoerli, arbitrumNova, arbitrumSepolia, base, baseGoerli, baseSepolia, bsc, bscTestnet, 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, celoMainnet, celoSepolia, teaSepolia, bobaSepolia, bobaMainnet, edgeMainnet, stableMainnet, } from "../chains.js";
|
|
8
8
|
export type * from "../client/decorators/smartAccount.js";
|
|
9
9
|
export { alchemyActions } from "../client/decorators/smartAccount.js";
|
|
10
10
|
export { isAlchemySmartAccountClient } from "../client/isAlchemySmartAccountClient.js";
|
|
@@ -1 +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,wBAAwB,CAAC;AACrE,mBAAmB,cAAc,CAAC;AAClC,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,
|
|
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,wBAAwB,CAAC;AACrE,mBAAmB,cAAc,CAAC;AAClC,OAAO,EACL,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,eAAe,EACf,IAAI,EACJ,UAAU,EACV,WAAW,EACX,GAAG,EACH,UAAU,EACV,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,WAAW,EACX,WAAW,EACX,UAAU,EACV,WAAW,EACX,WAAW,EACX,WAAW,EACX,aAAa,GACd,MAAM,cAAc,CAAC;AACtB,mBAAmB,sCAAsC,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,mBAAmB,wBAAwB,CAAC;AAC5C,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AACtE,mBAAmB,iCAAiC,CAAC;AACrD,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAClF,mBAAmB,oBAAoB,CAAC;AACxC,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;AACpE,mBAAmB,6BAA6B,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EACL,2BAA2B,EAC3B,uCAAuC,EACvC,KAAK,WAAW,GACjB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACxF,mBAAmB,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gas-manager.d.ts","sourceRoot":"","sources":["../../src/gas-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,GAAG,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"gas-manager.d.ts","sourceRoot":"","sources":["../../src/gas-manager.ts"],"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.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.79.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@account-kit/infra",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.79.0",
|
|
4
4
|
"description": "adapters for @aa-sdk/core for interacting with alchemy services",
|
|
5
5
|
"author": "Alchemy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"typescript-template": "*"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@aa-sdk/core": "^4.
|
|
51
|
-
"@account-kit/logging": "^4.
|
|
50
|
+
"@aa-sdk/core": "^4.79.0",
|
|
51
|
+
"@account-kit/logging": "^4.79.0",
|
|
52
52
|
"eventemitter3": "^5.0.1",
|
|
53
53
|
"zod": "^3.22.4"
|
|
54
54
|
},
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"url": "https://github.com/alchemyplatform/aa-sdk/issues"
|
|
68
68
|
},
|
|
69
69
|
"homepage": "https://github.com/alchemyplatform/aa-sdk#readme",
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "9f4a0357fb4c8d9d95d83c4bc52940c740c4e9e4",
|
|
71
71
|
"optionalDependencies": {
|
|
72
72
|
"alchemy-sdk": "^3.0.0"
|
|
73
73
|
}
|
package/src/chains.ts
CHANGED
|
@@ -8,6 +8,8 @@ import {
|
|
|
8
8
|
base as vbase,
|
|
9
9
|
baseGoerli as vbaseg,
|
|
10
10
|
baseSepolia as vbases,
|
|
11
|
+
bsc as vbsc,
|
|
12
|
+
bscTestnet as vbsct,
|
|
11
13
|
fraxtal as vfrax,
|
|
12
14
|
goerli as vgo,
|
|
13
15
|
mainnet as vmain,
|
|
@@ -176,6 +178,26 @@ export const baseSepolia: Chain = {
|
|
|
176
178
|
},
|
|
177
179
|
};
|
|
178
180
|
|
|
181
|
+
export const bsc: Chain = {
|
|
182
|
+
...vbsc,
|
|
183
|
+
rpcUrls: {
|
|
184
|
+
...vbsc.rpcUrls,
|
|
185
|
+
alchemy: {
|
|
186
|
+
http: ["https://bnb-mainnet.g.alchemy.com/v2"],
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
export const bscTestnet: Chain = {
|
|
192
|
+
...vbsct,
|
|
193
|
+
rpcUrls: {
|
|
194
|
+
...vbsct.rpcUrls,
|
|
195
|
+
alchemy: {
|
|
196
|
+
http: ["https://bnb-testnet.g.alchemy.com/v2"],
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
};
|
|
200
|
+
|
|
179
201
|
export const polygonMumbai: Chain = {
|
|
180
202
|
...vpgm,
|
|
181
203
|
rpcUrls: {
|
|
@@ -641,52 +663,52 @@ export const storyAeneid: Chain = defineChain({
|
|
|
641
663
|
testnet: true,
|
|
642
664
|
});
|
|
643
665
|
|
|
644
|
-
export const
|
|
645
|
-
id:
|
|
646
|
-
name: "Celo
|
|
666
|
+
export const celoMainnet: Chain = defineChain({
|
|
667
|
+
id: 42220,
|
|
668
|
+
name: "Celo Mainnet",
|
|
647
669
|
nativeCurrency: { name: "Celo native asset", symbol: "CELO", decimals: 18 },
|
|
648
670
|
rpcUrls: {
|
|
649
671
|
default: {
|
|
650
|
-
http: ["https://celo-
|
|
672
|
+
http: ["https://celo-mainnet.g.alchemy.com/v2"],
|
|
651
673
|
},
|
|
652
674
|
public: {
|
|
653
|
-
http: ["https://celo-
|
|
675
|
+
http: ["https://celo-mainnet.g.alchemy.com/v2"],
|
|
654
676
|
},
|
|
655
677
|
alchemy: {
|
|
656
|
-
http: ["https://celo-
|
|
678
|
+
http: ["https://celo-mainnet.g.alchemy.com/v2"],
|
|
657
679
|
},
|
|
658
680
|
},
|
|
659
681
|
blockExplorers: {
|
|
660
682
|
default: {
|
|
661
683
|
name: "Block Explorer",
|
|
662
|
-
url: "https://celo
|
|
684
|
+
url: "https://celo.blockscout.com/",
|
|
663
685
|
},
|
|
664
686
|
},
|
|
665
|
-
testnet:
|
|
687
|
+
testnet: false,
|
|
666
688
|
});
|
|
667
689
|
|
|
668
|
-
export const
|
|
669
|
-
id:
|
|
670
|
-
name: "Celo
|
|
690
|
+
export const celoSepolia: Chain = defineChain({
|
|
691
|
+
id: 11142220,
|
|
692
|
+
name: "Celo Sepolia",
|
|
671
693
|
nativeCurrency: { name: "Celo native asset", symbol: "CELO", decimals: 18 },
|
|
672
694
|
rpcUrls: {
|
|
673
695
|
default: {
|
|
674
|
-
http: ["https://celo-
|
|
696
|
+
http: ["https://celo-sepolia.g.alchemy.com/v2"],
|
|
675
697
|
},
|
|
676
698
|
public: {
|
|
677
|
-
http: ["https://celo-
|
|
699
|
+
http: ["https://celo-sepolia.g.alchemy.com/v2"],
|
|
678
700
|
},
|
|
679
701
|
alchemy: {
|
|
680
|
-
http: ["https://celo-
|
|
702
|
+
http: ["https://celo-sepolia.g.alchemy.com/v2"],
|
|
681
703
|
},
|
|
682
704
|
},
|
|
683
705
|
blockExplorers: {
|
|
684
706
|
default: {
|
|
685
707
|
name: "Block Explorer",
|
|
686
|
-
url: "https://celo.blockscout.com/",
|
|
708
|
+
url: "https://celo-sepolia.blockscout.com/",
|
|
687
709
|
},
|
|
688
710
|
},
|
|
689
|
-
testnet:
|
|
711
|
+
testnet: true,
|
|
690
712
|
});
|
|
691
713
|
|
|
692
714
|
export const teaSepolia: Chain = defineChain({
|
|
@@ -760,3 +782,75 @@ export const bobaMainnet: Chain = defineChain({
|
|
|
760
782
|
},
|
|
761
783
|
testnet: false,
|
|
762
784
|
});
|
|
785
|
+
|
|
786
|
+
export const edgeMainnet: Chain = defineChain({
|
|
787
|
+
id: 3343,
|
|
788
|
+
name: "Edge Mainnet",
|
|
789
|
+
nativeCurrency: { name: "eth", symbol: "eth", decimals: 18 },
|
|
790
|
+
rpcUrls: {
|
|
791
|
+
default: {
|
|
792
|
+
http: ["https://edge-mainnet.g.alchemy.com/v2"],
|
|
793
|
+
},
|
|
794
|
+
public: {
|
|
795
|
+
http: ["https://edge-mainnet.g.alchemy.com/v2"],
|
|
796
|
+
},
|
|
797
|
+
alchemy: {
|
|
798
|
+
http: ["https://edge-mainnet.g.alchemy.com/v2"],
|
|
799
|
+
},
|
|
800
|
+
},
|
|
801
|
+
blockExplorers: {
|
|
802
|
+
default: {
|
|
803
|
+
name: "Block Explorer",
|
|
804
|
+
url: "https://edge-mainnet.blockscout.com/",
|
|
805
|
+
},
|
|
806
|
+
},
|
|
807
|
+
testnet: false,
|
|
808
|
+
});
|
|
809
|
+
|
|
810
|
+
export const worldl3devnet: Chain = defineChain({
|
|
811
|
+
id: 48011,
|
|
812
|
+
name: "WorldL3 Devnet",
|
|
813
|
+
nativeCurrency: { name: "eth", symbol: "eth", decimals: 18 },
|
|
814
|
+
rpcUrls: {
|
|
815
|
+
default: {
|
|
816
|
+
http: ["https://worldl3-devnet.g.alchemy.com/v2"],
|
|
817
|
+
},
|
|
818
|
+
public: {
|
|
819
|
+
http: ["https://worldl3-devnet.g.alchemy.com/v2"],
|
|
820
|
+
},
|
|
821
|
+
alchemy: {
|
|
822
|
+
http: ["https://worldl3-devnet.g.alchemy.com/v2"],
|
|
823
|
+
},
|
|
824
|
+
},
|
|
825
|
+
blockExplorers: {
|
|
826
|
+
default: {
|
|
827
|
+
name: "Block Explorer",
|
|
828
|
+
url: "https://worldl3-devnet.blockscout.com/",
|
|
829
|
+
},
|
|
830
|
+
},
|
|
831
|
+
testnet: true,
|
|
832
|
+
});
|
|
833
|
+
|
|
834
|
+
export const stableMainnet: Chain = defineChain({
|
|
835
|
+
id: 988,
|
|
836
|
+
name: "Stable Mainnet",
|
|
837
|
+
nativeCurrency: { name: "gUSDT", symbol: "gUSDT", decimals: 18 },
|
|
838
|
+
rpcUrls: {
|
|
839
|
+
default: {
|
|
840
|
+
http: ["https://stable-mainnet.g.alchemy.com/v2"],
|
|
841
|
+
},
|
|
842
|
+
public: {
|
|
843
|
+
http: ["https://stable-mainnet.g.alchemy.com/v2"],
|
|
844
|
+
},
|
|
845
|
+
alchemy: {
|
|
846
|
+
http: ["https://stable-mainnet.g.alchemy.com/v2"],
|
|
847
|
+
},
|
|
848
|
+
},
|
|
849
|
+
blockExplorers: {
|
|
850
|
+
default: {
|
|
851
|
+
name: "Block Explorer",
|
|
852
|
+
url: "https://stablescan.xyz/",
|
|
853
|
+
},
|
|
854
|
+
},
|
|
855
|
+
testnet: false,
|
|
856
|
+
});
|
package/src/exports/index.ts
CHANGED
|
@@ -12,6 +12,8 @@ export {
|
|
|
12
12
|
base,
|
|
13
13
|
baseGoerli,
|
|
14
14
|
baseSepolia,
|
|
15
|
+
bsc,
|
|
16
|
+
bscTestnet,
|
|
15
17
|
defineAlchemyChain,
|
|
16
18
|
fraxtal,
|
|
17
19
|
fraxtalSepolia,
|
|
@@ -46,11 +48,13 @@ export {
|
|
|
46
48
|
riseTestnet,
|
|
47
49
|
storyMainnet,
|
|
48
50
|
storyAeneid,
|
|
49
|
-
celoAlfajores,
|
|
50
51
|
celoMainnet,
|
|
52
|
+
celoSepolia,
|
|
51
53
|
teaSepolia,
|
|
52
54
|
bobaSepolia,
|
|
53
55
|
bobaMainnet,
|
|
56
|
+
edgeMainnet,
|
|
57
|
+
stableMainnet,
|
|
54
58
|
} from "../chains.js";
|
|
55
59
|
export type * from "../client/decorators/smartAccount.js";
|
|
56
60
|
export { alchemyActions } from "../client/decorators/smartAccount.js";
|
package/src/gas-manager.ts
CHANGED
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
arbitrumNova,
|
|
23
23
|
baseGoerli,
|
|
24
24
|
beraChainBartio,
|
|
25
|
-
celoAlfajores,
|
|
26
25
|
celoMainnet,
|
|
27
26
|
gensynTestnet,
|
|
28
27
|
goerli,
|
|
@@ -113,7 +112,6 @@ export const getAlchemyPaymasterAddress = (
|
|
|
113
112
|
case inkMainnet.id:
|
|
114
113
|
case arbitrumNova.id:
|
|
115
114
|
case storyMainnet.id:
|
|
116
|
-
case celoAlfajores.id:
|
|
117
115
|
case celoMainnet.id:
|
|
118
116
|
return AlchemyPaymasterAddressV4;
|
|
119
117
|
case polygonAmoy.id:
|
|
@@ -139,7 +137,6 @@ export const getAlchemyPaymasterAddress = (
|
|
|
139
137
|
case "0.7.0":
|
|
140
138
|
switch (chain.id) {
|
|
141
139
|
case arbitrumNova.id:
|
|
142
|
-
case celoAlfajores.id:
|
|
143
140
|
case celoMainnet.id:
|
|
144
141
|
case gensynTestnet.id:
|
|
145
142
|
case inkMainnet.id:
|
package/src/version.ts
CHANGED