@deserialize/multi-vm-wallet 1.2.23 → 1.2.24
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/constant.js +7 -7
- package/dist/constant.js.map +1 -1
- package/package.json +1 -1
- package/utils/constant.ts +7 -7
package/dist/constant.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.TRANSACTION_TYPE = exports.DefaultChains = void 0;
|
|
|
4
4
|
const chains_1 = require("viem/chains");
|
|
5
5
|
exports.DefaultChains = [{
|
|
6
6
|
chainId: 123456789,
|
|
7
|
-
name: "Solana
|
|
7
|
+
name: "Solana",
|
|
8
8
|
rpcUrl: "https://solana-mainnet.g.alchemy.com/v2/vB5mKztdJeFdz9RkW99Qf",
|
|
9
9
|
explorerUrl: "https://explorer.solana.com", // e.g. Solana Explorer
|
|
10
10
|
nativeToken: {
|
|
@@ -18,7 +18,7 @@ exports.DefaultChains = [{
|
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
chainId: 1,
|
|
21
|
-
name: "Ethereum
|
|
21
|
+
name: "Ethereum",
|
|
22
22
|
rpcUrl: "https://eth-mainnet.g.alchemy.com/v2/pwvhaDUZ4qZ8Oy2QcyWfCQa_avpkVPnL",
|
|
23
23
|
explorerUrl: "https://etherscan.io",
|
|
24
24
|
nativeToken: {
|
|
@@ -27,11 +27,11 @@ exports.DefaultChains = [{
|
|
|
27
27
|
decimals: 18,
|
|
28
28
|
},
|
|
29
29
|
testnet: false,
|
|
30
|
-
logoUrl: "https://
|
|
30
|
+
logoUrl: "https://etherscan.io/images/svg/brands/ethereum-original-light.svg",
|
|
31
31
|
vmType: "EVM"
|
|
32
32
|
}, {
|
|
33
33
|
chainId: 56,
|
|
34
|
-
name: "
|
|
34
|
+
name: "BSC",
|
|
35
35
|
rpcUrl: "https://bsc-dataseed.binance.org/",
|
|
36
36
|
explorerUrl: "https://bscscan.com",
|
|
37
37
|
nativeToken: {
|
|
@@ -40,11 +40,11 @@ exports.DefaultChains = [{
|
|
|
40
40
|
decimals: 18,
|
|
41
41
|
},
|
|
42
42
|
testnet: false,
|
|
43
|
-
logoUrl: "https://
|
|
43
|
+
logoUrl: "https://bscscan.com/assets/bsc/images/svg/logos/token-light.svg?v=25.10.5.0",
|
|
44
44
|
vmType: "EVM"
|
|
45
45
|
}, {
|
|
46
46
|
chainId: 123456791,
|
|
47
|
-
name: "Eclipse
|
|
47
|
+
name: "Eclipse",
|
|
48
48
|
rpcUrl: "https://mainnetbeta-rpc.eclipse.xyz",
|
|
49
49
|
explorerUrl: "https://explorer.eclipse.xyz/", // e.g. Solana Explorer
|
|
50
50
|
nativeToken: {
|
|
@@ -58,7 +58,7 @@ exports.DefaultChains = [{
|
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
chainId: 16661,
|
|
61
|
-
name: "0G
|
|
61
|
+
name: "0G",
|
|
62
62
|
rpcUrl: "https://evmrpc.0g.ai",
|
|
63
63
|
explorerUrl: "https://chainscan.0g.ai/", // e.g. Solana Explorer
|
|
64
64
|
nativeToken: {
|
package/dist/constant.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constant.js","sourceRoot":"","sources":["../utils/constant.ts"],"names":[],"mappings":";;;AAAA,wCAAmC;AAGtB,QAAA,aAAa,GAAwB,CAAC;QAC/C,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"constant.js","sourceRoot":"","sources":["../utils/constant.ts"],"names":[],"mappings":";;;AAAA,wCAAmC;AAGtB,QAAA,aAAa,GAAwB,CAAC;QAC/C,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,+DAA+D;QACvE,WAAW,EAAE,6BAA6B,EAAE,uBAAuB;QACnE,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,CAAC;SACd;QACD,OAAO,EAAE,KAAK;QACd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ChB,IAAI,EAAE,aAAI,CAAC,IAAI;QACf,MAAM,EAAE,aAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;QACpC,WAAW,EAAE,aAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG,IAAI,EAAE;QACnD,WAAW,EAAE;YACT,IAAI,EAAE,aAAI,CAAC,cAAc,CAAC,IAAI;YAC9B,MAAM,EAAE,aAAI,CAAC,cAAc,CAAC,MAAM;YAClC,QAAQ,EAAE,aAAI,CAAC,cAAc,CAAC,QAAQ;SACzC;QACD,OAAO,EAAE,aAAI,CAAC,OAAO;QACrB,OAAO,EAAE,6DAA6D;QACtE,MAAM,EAAE,KAAK;KAChB;CAGA,CAAA;AAEY,QAAA,gBAAgB,GAAG;IAC5B,wBAAwB;IACxB,eAAe,EAAE,iBAAiB;IAClC,cAAc,EAAE,gBAAgB;IAChC,YAAY,EAAE,cAAc;IAC5B,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,oBAAoB,EAAE,sBAAsB;IAC5C,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,kBAAkB,EAAE,oBAAoB;IACxC,iBAAiB,EAAE,mBAAmB;IACtC,mBAAmB,EAAE,qBAAqB;IAC1C,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CAEZ,CAAA"}
|
package/package.json
CHANGED
package/utils/constant.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ChainWalletConfig } from "./types";
|
|
|
3
3
|
|
|
4
4
|
export const DefaultChains: ChainWalletConfig[] = [{
|
|
5
5
|
chainId: 123456789,
|
|
6
|
-
name: "Solana
|
|
6
|
+
name: "Solana",
|
|
7
7
|
rpcUrl: "https://solana-mainnet.g.alchemy.com/v2/vB5mKztdJeFdz9RkW99Qf",
|
|
8
8
|
explorerUrl: "https://explorer.solana.com", // e.g. Solana Explorer
|
|
9
9
|
nativeToken: {
|
|
@@ -17,7 +17,7 @@ export const DefaultChains: ChainWalletConfig[] = [{
|
|
|
17
17
|
}
|
|
18
18
|
, {
|
|
19
19
|
chainId: 1,
|
|
20
|
-
name: "Ethereum
|
|
20
|
+
name: "Ethereum",
|
|
21
21
|
rpcUrl: "https://eth-mainnet.g.alchemy.com/v2/pwvhaDUZ4qZ8Oy2QcyWfCQa_avpkVPnL",
|
|
22
22
|
explorerUrl: "https://etherscan.io",
|
|
23
23
|
nativeToken: {
|
|
@@ -26,11 +26,11 @@ export const DefaultChains: ChainWalletConfig[] = [{
|
|
|
26
26
|
decimals: 18,
|
|
27
27
|
},
|
|
28
28
|
testnet: false,
|
|
29
|
-
logoUrl: "https://
|
|
29
|
+
logoUrl: "https://etherscan.io/images/svg/brands/ethereum-original-light.svg",
|
|
30
30
|
vmType: "EVM"
|
|
31
31
|
}, {
|
|
32
32
|
chainId: 56,
|
|
33
|
-
name: "
|
|
33
|
+
name: "BSC",
|
|
34
34
|
rpcUrl: "https://bsc-dataseed.binance.org/",
|
|
35
35
|
explorerUrl: "https://bscscan.com",
|
|
36
36
|
nativeToken: {
|
|
@@ -39,11 +39,11 @@ export const DefaultChains: ChainWalletConfig[] = [{
|
|
|
39
39
|
decimals: 18,
|
|
40
40
|
},
|
|
41
41
|
testnet: false,
|
|
42
|
-
logoUrl: "https://
|
|
42
|
+
logoUrl: "https://bscscan.com/assets/bsc/images/svg/logos/token-light.svg?v=25.10.5.0",
|
|
43
43
|
vmType: "EVM"
|
|
44
44
|
}, {
|
|
45
45
|
chainId: 123456791,
|
|
46
|
-
name: "Eclipse
|
|
46
|
+
name: "Eclipse",
|
|
47
47
|
rpcUrl: "https://mainnetbeta-rpc.eclipse.xyz",
|
|
48
48
|
explorerUrl: "https://explorer.eclipse.xyz/", // e.g. Solana Explorer
|
|
49
49
|
nativeToken: {
|
|
@@ -57,7 +57,7 @@ export const DefaultChains: ChainWalletConfig[] = [{
|
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
chainId: 16661,
|
|
60
|
-
name: "0G
|
|
60
|
+
name: "0G",
|
|
61
61
|
rpcUrl: "https://evmrpc.0g.ai",
|
|
62
62
|
explorerUrl: "https://chainscan.0g.ai/", // e.g. Solana Explorer
|
|
63
63
|
nativeToken: {
|