@zerodev/sdk 4.7.1 → 4.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/kernel-zerodev/utils/custom-chains.d.ts +34 -0
- package/dist/cjs/kernel-zerodev/utils/custom-chains.js +28 -1
- package/dist/cjs/kernel-zerodev/utils/custom-chains.js.map +1 -1
- package/dist/esm/kernel-zerodev/utils/custom-chains.d.ts +34 -0
- package/dist/esm/kernel-zerodev/utils/custom-chains.js +27 -0
- package/dist/esm/kernel-zerodev/utils/custom-chains.js.map +1 -1
- package/dist/types/kernel-zerodev/utils/custom-chains.d.ts +34 -0
- package/dist/types/kernel-zerodev/utils/custom-chains.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/kernel-zerodev/utils/custom-chains.ts +28 -0
|
@@ -56,3 +56,37 @@ export declare const astarZKatana: {
|
|
|
56
56
|
formatters: import("viem").Formatters | undefined;
|
|
57
57
|
serializers: import("viem").Serializers<import("viem").Formatters> | undefined;
|
|
58
58
|
};
|
|
59
|
+
export declare const astarZkEVM: {
|
|
60
|
+
id: number;
|
|
61
|
+
name: string;
|
|
62
|
+
network: string;
|
|
63
|
+
nativeCurrency: {
|
|
64
|
+
name: string;
|
|
65
|
+
symbol: string;
|
|
66
|
+
decimals: number;
|
|
67
|
+
};
|
|
68
|
+
rpcUrls: {
|
|
69
|
+
default: {
|
|
70
|
+
http: string[];
|
|
71
|
+
};
|
|
72
|
+
public: {
|
|
73
|
+
http: string[];
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
blockExplorers: {
|
|
77
|
+
default: {
|
|
78
|
+
name: string;
|
|
79
|
+
url: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
contracts: {
|
|
83
|
+
multicall3: {
|
|
84
|
+
address: "0x36eabf148272BA81A5225C6a3637972F0EE17771";
|
|
85
|
+
blockCreated: number;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
testnet: false;
|
|
89
|
+
} & {
|
|
90
|
+
formatters: import("viem").Formatters | undefined;
|
|
91
|
+
serializers: import("viem").Serializers<import("viem").Formatters> | undefined;
|
|
92
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.astarZKatana = exports.gelatoOPTestnet = void 0;
|
|
3
|
+
exports.astarZkEVM = exports.astarZKatana = exports.gelatoOPTestnet = void 0;
|
|
4
4
|
const viem_1 = require("viem");
|
|
5
5
|
exports.gelatoOPTestnet = (0, viem_1.defineChain)({
|
|
6
6
|
id: 42069,
|
|
@@ -54,4 +54,31 @@ exports.astarZKatana = (0, viem_1.defineChain)({
|
|
|
54
54
|
},
|
|
55
55
|
},
|
|
56
56
|
});
|
|
57
|
+
exports.astarZkEVM = (0, viem_1.defineChain)({
|
|
58
|
+
id: 3776,
|
|
59
|
+
name: 'Astar zkEVM',
|
|
60
|
+
network: 'AstarZkEVM',
|
|
61
|
+
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
|
62
|
+
rpcUrls: {
|
|
63
|
+
default: {
|
|
64
|
+
http: ['https://rpc.startale.com/astar-zkevm'],
|
|
65
|
+
},
|
|
66
|
+
public: {
|
|
67
|
+
http: ['https://rpc.startale.com/astar-zkevm'],
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
blockExplorers: {
|
|
71
|
+
default: {
|
|
72
|
+
name: 'Astar zkEVM Explorer',
|
|
73
|
+
url: 'https://astar-zkevm.explorer.startale.com',
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
contracts: {
|
|
77
|
+
multicall3: {
|
|
78
|
+
address: '0x36eabf148272BA81A5225C6a3637972F0EE17771',
|
|
79
|
+
blockCreated: 93528,
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
testnet: false,
|
|
83
|
+
});
|
|
57
84
|
//# sourceMappingURL=custom-chains.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-chains.js","sourceRoot":"","sources":["../../../../src/kernel-zerodev/utils/custom-chains.ts"],"names":[],"mappings":";;;AAAA,+BAAmC;AAEtB,QAAA,eAAe,GAAG,IAAA,kBAAW,EAAC;IACzC,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,iBAAiB;IAC1B,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,uCAAuC,CAAC;YAC/C,SAAS,EAAE,EAAE;SACd;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,uCAAuC,CAAC;YAC/C,SAAS,EAAE,EAAE;SACd;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,8CAA8C;SACpD;KACF;CACF,CAAC,CAAC;AAEU,QAAA,YAAY,GAAG,IAAA,kBAAW,EAAC;IACtC,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,cAAc;IACvB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,oCAAoC,CAAC;YAC5C,SAAS,EAAE,CAAC,mCAAmC,CAAC;SACjD;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,oCAAoC,CAAC;YAC5C,SAAS,EAAE,CAAC,mCAAmC,CAAC;SACjD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,gCAAgC;SACtC;KACF;CACF,CAAC,CAAC","sourcesContent":["import { defineChain } from \"viem\";\n\nexport const gelatoOPTestnet = defineChain({\n id: 42069,\n name: \"Gelato OPTestnet\",\n network: \"gelatoOPTestnet\",\n nativeCurrency: {\n decimals: 18,\n name: \"Ether\",\n symbol: \"ETH\",\n },\n rpcUrls: {\n default: {\n http: [\"https://rpc.op-testnet.gelato.digital\"],\n webSocket: [],\n },\n public: {\n http: [\"https://rpc.op-testnet.gelato.digital\"],\n webSocket: [],\n },\n },\n blockExplorers: {\n default: {\n name: \"Explorer\",\n url: \"https://blockscout.op-testnet.gelato.digital\",\n },\n },\n});\n\nexport const astarZKatana = defineChain({\n id: 1261120,\n name: \"Astar zKatana\",\n network: \"astarZKatana\",\n nativeCurrency: {\n decimals: 18,\n name: \"Ether\",\n symbol: \"ETH\",\n },\n rpcUrls: {\n default: {\n http: [\"https://rpc.zkatana.gelato.digital\"],\n webSocket: [\"https://ws.zkatana.gelato.digital\"],\n },\n public: {\n http: [\"https://rpc.zkatana.gelato.digital\"],\n webSocket: [\"https://ws.zkatana.gelato.digital\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Explorer\",\n url: \"https://zkatana.blockscout.com\",\n },\n },\n});\n"]}
|
|
1
|
+
{"version":3,"file":"custom-chains.js","sourceRoot":"","sources":["../../../../src/kernel-zerodev/utils/custom-chains.ts"],"names":[],"mappings":";;;AAAA,+BAAmC;AAEtB,QAAA,eAAe,GAAG,IAAA,kBAAW,EAAC;IACzC,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,iBAAiB;IAC1B,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,uCAAuC,CAAC;YAC/C,SAAS,EAAE,EAAE;SACd;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,uCAAuC,CAAC;YAC/C,SAAS,EAAE,EAAE;SACd;KACF;IACD,cAAc,EAAE;QACd,OAAO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from \"viem\";\n\nexport const gelatoOPTestnet = defineChain({\n id: 42069,\n name: \"Gelato OPTestnet\",\n network: \"gelatoOPTestnet\",\n nativeCurrency: {\n decimals: 18,\n name: \"Ether\",\n symbol: \"ETH\",\n },\n rpcUrls: {\n default: {\n http: [\"https://rpc.op-testnet.gelato.digital\"],\n webSocket: [],\n },\n public: {\n http: [\"https://rpc.op-testnet.gelato.digital\"],\n webSocket: [],\n },\n },\n blockExplorers: {\n default: {\n name: \"Explorer\",\n url: \"https://blockscout.op-testnet.gelato.digital\",\n },\n },\n});\n\nexport const astarZKatana = defineChain({\n id: 1261120,\n name: \"Astar zKatana\",\n network: \"astarZKatana\",\n nativeCurrency: {\n decimals: 18,\n name: \"Ether\",\n symbol: \"ETH\",\n },\n rpcUrls: {\n default: {\n http: [\"https://rpc.zkatana.gelato.digital\"],\n webSocket: [\"https://ws.zkatana.gelato.digital\"],\n },\n public: {\n http: [\"https://rpc.zkatana.gelato.digital\"],\n webSocket: [\"https://ws.zkatana.gelato.digital\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Explorer\",\n url: \"https://zkatana.blockscout.com\",\n },\n },\n});\n\nexport const astarZkEVM = defineChain({\n id: 3_776,\n name: 'Astar zkEVM',\n network: 'AstarZkEVM',\n nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },\n rpcUrls: {\n default: {\n http: ['https://rpc.startale.com/astar-zkevm'],\n },\n public: {\n http: ['https://rpc.startale.com/astar-zkevm'],\n },\n },\n blockExplorers: {\n default: {\n name: 'Astar zkEVM Explorer',\n url: 'https://astar-zkevm.explorer.startale.com',\n },\n },\n contracts: {\n multicall3: {\n address: '0x36eabf148272BA81A5225C6a3637972F0EE17771',\n blockCreated: 93528,\n },\n },\n testnet: false,\n})\n"]}
|
|
@@ -56,3 +56,37 @@ export declare const astarZKatana: {
|
|
|
56
56
|
formatters: import("viem").Formatters | undefined;
|
|
57
57
|
serializers: import("viem").Serializers<import("viem").Formatters> | undefined;
|
|
58
58
|
};
|
|
59
|
+
export declare const astarZkEVM: {
|
|
60
|
+
id: number;
|
|
61
|
+
name: string;
|
|
62
|
+
network: string;
|
|
63
|
+
nativeCurrency: {
|
|
64
|
+
name: string;
|
|
65
|
+
symbol: string;
|
|
66
|
+
decimals: number;
|
|
67
|
+
};
|
|
68
|
+
rpcUrls: {
|
|
69
|
+
default: {
|
|
70
|
+
http: string[];
|
|
71
|
+
};
|
|
72
|
+
public: {
|
|
73
|
+
http: string[];
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
blockExplorers: {
|
|
77
|
+
default: {
|
|
78
|
+
name: string;
|
|
79
|
+
url: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
contracts: {
|
|
83
|
+
multicall3: {
|
|
84
|
+
address: "0x36eabf148272BA81A5225C6a3637972F0EE17771";
|
|
85
|
+
blockCreated: number;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
testnet: false;
|
|
89
|
+
} & {
|
|
90
|
+
formatters: import("viem").Formatters | undefined;
|
|
91
|
+
serializers: import("viem").Serializers<import("viem").Formatters> | undefined;
|
|
92
|
+
};
|
|
@@ -51,4 +51,31 @@ export const astarZKatana = defineChain({
|
|
|
51
51
|
},
|
|
52
52
|
},
|
|
53
53
|
});
|
|
54
|
+
export const astarZkEVM = defineChain({
|
|
55
|
+
id: 3776,
|
|
56
|
+
name: 'Astar zkEVM',
|
|
57
|
+
network: 'AstarZkEVM',
|
|
58
|
+
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
|
59
|
+
rpcUrls: {
|
|
60
|
+
default: {
|
|
61
|
+
http: ['https://rpc.startale.com/astar-zkevm'],
|
|
62
|
+
},
|
|
63
|
+
public: {
|
|
64
|
+
http: ['https://rpc.startale.com/astar-zkevm'],
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
blockExplorers: {
|
|
68
|
+
default: {
|
|
69
|
+
name: 'Astar zkEVM Explorer',
|
|
70
|
+
url: 'https://astar-zkevm.explorer.startale.com',
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
contracts: {
|
|
74
|
+
multicall3: {
|
|
75
|
+
address: '0x36eabf148272BA81A5225C6a3637972F0EE17771',
|
|
76
|
+
blockCreated: 93528,
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
testnet: false,
|
|
80
|
+
});
|
|
54
81
|
//# sourceMappingURL=custom-chains.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-chains.js","sourceRoot":"","sources":["../../../../src/kernel-zerodev/utils/custom-chains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAEnC,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAC;IACzC,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,iBAAiB;IAC1B,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,uCAAuC,CAAC;YAC/C,SAAS,EAAE,EAAE;SACd;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,uCAAuC,CAAC;YAC/C,SAAS,EAAE,EAAE;SACd;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,8CAA8C;SACpD;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CAAC;IACtC,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,cAAc;IACvB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,oCAAoC,CAAC;YAC5C,SAAS,EAAE,CAAC,mCAAmC,CAAC;SACjD;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,oCAAoC,CAAC;YAC5C,SAAS,EAAE,CAAC,mCAAmC,CAAC;SACjD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,gCAAgC;SACtC;KACF;CACF,CAAC,CAAC","sourcesContent":["import { defineChain } from \"viem\";\n\nexport const gelatoOPTestnet = defineChain({\n id: 42069,\n name: \"Gelato OPTestnet\",\n network: \"gelatoOPTestnet\",\n nativeCurrency: {\n decimals: 18,\n name: \"Ether\",\n symbol: \"ETH\",\n },\n rpcUrls: {\n default: {\n http: [\"https://rpc.op-testnet.gelato.digital\"],\n webSocket: [],\n },\n public: {\n http: [\"https://rpc.op-testnet.gelato.digital\"],\n webSocket: [],\n },\n },\n blockExplorers: {\n default: {\n name: \"Explorer\",\n url: \"https://blockscout.op-testnet.gelato.digital\",\n },\n },\n});\n\nexport const astarZKatana = defineChain({\n id: 1261120,\n name: \"Astar zKatana\",\n network: \"astarZKatana\",\n nativeCurrency: {\n decimals: 18,\n name: \"Ether\",\n symbol: \"ETH\",\n },\n rpcUrls: {\n default: {\n http: [\"https://rpc.zkatana.gelato.digital\"],\n webSocket: [\"https://ws.zkatana.gelato.digital\"],\n },\n public: {\n http: [\"https://rpc.zkatana.gelato.digital\"],\n webSocket: [\"https://ws.zkatana.gelato.digital\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Explorer\",\n url: \"https://zkatana.blockscout.com\",\n },\n },\n});\n"]}
|
|
1
|
+
{"version":3,"file":"custom-chains.js","sourceRoot":"","sources":["../../../../src/kernel-zerodev/utils/custom-chains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAEnC,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAC;IACzC,EAAE,EAAE,KAAK;IACT,IAAI,E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;YACP,IAAI,EAAE,CAAC,sCAAsC,CAAC;SAC/C;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,CAAC,sCAAsC,CAAC;SACjD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,sBAAsB;YAC5B,GAAG,EAAE,2CAA2C;SACjD;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,KAAK;SACpB;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA","sourcesContent":["import { defineChain } from \"viem\";\n\nexport const gelatoOPTestnet = defineChain({\n id: 42069,\n name: \"Gelato OPTestnet\",\n network: \"gelatoOPTestnet\",\n nativeCurrency: {\n decimals: 18,\n name: \"Ether\",\n symbol: \"ETH\",\n },\n rpcUrls: {\n default: {\n http: [\"https://rpc.op-testnet.gelato.digital\"],\n webSocket: [],\n },\n public: {\n http: [\"https://rpc.op-testnet.gelato.digital\"],\n webSocket: [],\n },\n },\n blockExplorers: {\n default: {\n name: \"Explorer\",\n url: \"https://blockscout.op-testnet.gelato.digital\",\n },\n },\n});\n\nexport const astarZKatana = defineChain({\n id: 1261120,\n name: \"Astar zKatana\",\n network: \"astarZKatana\",\n nativeCurrency: {\n decimals: 18,\n name: \"Ether\",\n symbol: \"ETH\",\n },\n rpcUrls: {\n default: {\n http: [\"https://rpc.zkatana.gelato.digital\"],\n webSocket: [\"https://ws.zkatana.gelato.digital\"],\n },\n public: {\n http: [\"https://rpc.zkatana.gelato.digital\"],\n webSocket: [\"https://ws.zkatana.gelato.digital\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Explorer\",\n url: \"https://zkatana.blockscout.com\",\n },\n },\n});\n\nexport const astarZkEVM = defineChain({\n id: 3_776,\n name: 'Astar zkEVM',\n network: 'AstarZkEVM',\n nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },\n rpcUrls: {\n default: {\n http: ['https://rpc.startale.com/astar-zkevm'],\n },\n public: {\n http: ['https://rpc.startale.com/astar-zkevm'],\n },\n },\n blockExplorers: {\n default: {\n name: 'Astar zkEVM Explorer',\n url: 'https://astar-zkevm.explorer.startale.com',\n },\n },\n contracts: {\n multicall3: {\n address: '0x36eabf148272BA81A5225C6a3637972F0EE17771',\n blockCreated: 93528,\n },\n },\n testnet: false,\n})\n"]}
|
|
@@ -56,4 +56,38 @@ export declare const astarZKatana: {
|
|
|
56
56
|
formatters: import("viem").Formatters | undefined;
|
|
57
57
|
serializers: import("viem").Serializers<import("viem").Formatters> | undefined;
|
|
58
58
|
};
|
|
59
|
+
export declare const astarZkEVM: {
|
|
60
|
+
id: number;
|
|
61
|
+
name: string;
|
|
62
|
+
network: string;
|
|
63
|
+
nativeCurrency: {
|
|
64
|
+
name: string;
|
|
65
|
+
symbol: string;
|
|
66
|
+
decimals: number;
|
|
67
|
+
};
|
|
68
|
+
rpcUrls: {
|
|
69
|
+
default: {
|
|
70
|
+
http: string[];
|
|
71
|
+
};
|
|
72
|
+
public: {
|
|
73
|
+
http: string[];
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
blockExplorers: {
|
|
77
|
+
default: {
|
|
78
|
+
name: string;
|
|
79
|
+
url: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
contracts: {
|
|
83
|
+
multicall3: {
|
|
84
|
+
address: "0x36eabf148272BA81A5225C6a3637972F0EE17771";
|
|
85
|
+
blockCreated: number;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
testnet: false;
|
|
89
|
+
} & {
|
|
90
|
+
formatters: import("viem").Formatters | undefined;
|
|
91
|
+
serializers: import("viem").Serializers<import("viem").Formatters> | undefined;
|
|
92
|
+
};
|
|
59
93
|
//# sourceMappingURL=custom-chains.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-chains.d.ts","sourceRoot":"","sources":["../../../../src/kernel-zerodev/utils/custom-chains.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyB1B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBvB,CAAC"}
|
|
1
|
+
{"version":3,"file":"custom-chains.d.ts","sourceRoot":"","sources":["../../../../src/kernel-zerodev/utils/custom-chains.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyB1B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBvB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BrB,CAAA"}
|
package/package.json
CHANGED
|
@@ -53,3 +53,31 @@ export const astarZKatana = defineChain({
|
|
|
53
53
|
},
|
|
54
54
|
},
|
|
55
55
|
});
|
|
56
|
+
|
|
57
|
+
export const astarZkEVM = defineChain({
|
|
58
|
+
id: 3_776,
|
|
59
|
+
name: 'Astar zkEVM',
|
|
60
|
+
network: 'AstarZkEVM',
|
|
61
|
+
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
|
62
|
+
rpcUrls: {
|
|
63
|
+
default: {
|
|
64
|
+
http: ['https://rpc.startale.com/astar-zkevm'],
|
|
65
|
+
},
|
|
66
|
+
public: {
|
|
67
|
+
http: ['https://rpc.startale.com/astar-zkevm'],
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
blockExplorers: {
|
|
71
|
+
default: {
|
|
72
|
+
name: 'Astar zkEVM Explorer',
|
|
73
|
+
url: 'https://astar-zkevm.explorer.startale.com',
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
contracts: {
|
|
77
|
+
multicall3: {
|
|
78
|
+
address: '0x36eabf148272BA81A5225C6a3637972F0EE17771',
|
|
79
|
+
blockCreated: 93528,
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
testnet: false,
|
|
83
|
+
})
|