@0xtorch/evm 0.0.113 → 0.0.114
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/_cjs/chain/definitions/chainVerse.js +47 -0
- package/_cjs/chain/definitions/chainVerse.js.map +1 -0
- package/_cjs/chain/definitions/defiVerse.js +47 -0
- package/_cjs/chain/definitions/defiVerse.js.map +1 -0
- package/_cjs/chain/definitions/geekVerse.js +47 -0
- package/_cjs/chain/definitions/geekVerse.js.map +1 -0
- package/_cjs/chain/definitions/gesoVerse.js +47 -0
- package/_cjs/chain/definitions/gesoVerse.js.map +1 -0
- package/_cjs/chain/definitions/homeVerse.js +47 -0
- package/_cjs/chain/definitions/homeVerse.js.map +1 -0
- package/_cjs/chain/definitions/mchVerse.js +47 -0
- package/_cjs/chain/definitions/mchVerse.js.map +1 -0
- package/_cjs/chain/definitions/polygonZkEvm.js +76 -0
- package/_cjs/chain/definitions/polygonZkEvm.js.map +1 -0
- package/_cjs/chain/definitions/saakuru.js +47 -0
- package/_cjs/chain/definitions/saakuru.js.map +1 -0
- package/_cjs/chain/definitions/tcgVerse.js +47 -0
- package/_cjs/chain/definitions/tcgVerse.js.map +1 -0
- package/_cjs/chain/definitions/yooldoVerse.js +47 -0
- package/_cjs/chain/definitions/yooldoVerse.js.map +1 -0
- package/_cjs/chain/index.js +53 -2
- package/_cjs/chain/index.js.map +1 -1
- package/_cjs/chain/viemChains/chainVerse.js +23 -0
- package/_cjs/chain/viemChains/chainVerse.js.map +1 -0
- package/_cjs/chain/viemChains/defiVerse.js +23 -0
- package/_cjs/chain/viemChains/defiVerse.js.map +1 -0
- package/_cjs/chain/viemChains/geekVerse.js +23 -0
- package/_cjs/chain/viemChains/geekVerse.js.map +1 -0
- package/_cjs/chain/viemChains/gesoVerse.js +23 -0
- package/_cjs/chain/viemChains/gesoVerse.js.map +1 -0
- package/_cjs/chain/viemChains/homeVerse.js +23 -0
- package/_cjs/chain/viemChains/homeVerse.js.map +1 -0
- package/_cjs/chain/viemChains/mchVerse.js +23 -0
- package/_cjs/chain/viemChains/mchVerse.js.map +1 -0
- package/_cjs/chain/viemChains/saakuru.js +23 -0
- package/_cjs/chain/viemChains/saakuru.js.map +1 -0
- package/_cjs/chain/viemChains/tcgVerse.js +23 -0
- package/_cjs/chain/viemChains/tcgVerse.js.map +1 -0
- package/_cjs/index.js +44 -3
- package/_cjs/index.js.map +1 -1
- package/_esm/chain/definitions/chainVerse.js +42 -0
- package/_esm/chain/definitions/chainVerse.js.map +1 -0
- package/_esm/chain/definitions/defiVerse.js +42 -0
- package/_esm/chain/definitions/defiVerse.js.map +1 -0
- package/_esm/chain/definitions/geekVerse.js +42 -0
- package/_esm/chain/definitions/geekVerse.js.map +1 -0
- package/_esm/chain/definitions/gesoVerse.js +42 -0
- package/_esm/chain/definitions/gesoVerse.js.map +1 -0
- package/_esm/chain/definitions/homeVerse.js +42 -0
- package/_esm/chain/definitions/homeVerse.js.map +1 -0
- package/_esm/chain/definitions/mchVerse.js +42 -0
- package/_esm/chain/definitions/mchVerse.js.map +1 -0
- package/_esm/chain/definitions/polygonZkEvm.js +83 -0
- package/_esm/chain/definitions/polygonZkEvm.js.map +1 -0
- package/_esm/chain/definitions/saakuru.js +42 -0
- package/_esm/chain/definitions/saakuru.js.map +1 -0
- package/_esm/chain/definitions/tcgVerse.js +42 -0
- package/_esm/chain/definitions/tcgVerse.js.map +1 -0
- package/_esm/chain/definitions/yooldoVerse.js +42 -0
- package/_esm/chain/definitions/yooldoVerse.js.map +1 -0
- package/_esm/chain/index.js +10 -0
- package/_esm/chain/index.js.map +1 -1
- package/_esm/chain/viemChains/chainVerse.js +20 -0
- package/_esm/chain/viemChains/chainVerse.js.map +1 -0
- package/_esm/chain/viemChains/defiVerse.js +20 -0
- package/_esm/chain/viemChains/defiVerse.js.map +1 -0
- package/_esm/chain/viemChains/geekVerse.js +20 -0
- package/_esm/chain/viemChains/geekVerse.js.map +1 -0
- package/_esm/chain/viemChains/gesoVerse.js +20 -0
- package/_esm/chain/viemChains/gesoVerse.js.map +1 -0
- package/_esm/chain/viemChains/homeVerse.js +20 -0
- package/_esm/chain/viemChains/homeVerse.js.map +1 -0
- package/_esm/chain/viemChains/mchVerse.js +20 -0
- package/_esm/chain/viemChains/mchVerse.js.map +1 -0
- package/_esm/chain/viemChains/saakuru.js +20 -0
- package/_esm/chain/viemChains/saakuru.js.map +1 -0
- package/_esm/chain/viemChains/tcgVerse.js +20 -0
- package/_esm/chain/viemChains/tcgVerse.js.map +1 -0
- package/_esm/index.js +1 -1
- package/_esm/index.js.map +1 -1
- package/_types/chain/definitions/chainVerse.d.ts +16 -0
- package/_types/chain/definitions/chainVerse.d.ts.map +1 -0
- package/_types/chain/definitions/defiVerse.d.ts +16 -0
- package/_types/chain/definitions/defiVerse.d.ts.map +1 -0
- package/_types/chain/definitions/geekVerse.d.ts +16 -0
- package/_types/chain/definitions/geekVerse.d.ts.map +1 -0
- package/_types/chain/definitions/gesoVerse.d.ts +16 -0
- package/_types/chain/definitions/gesoVerse.d.ts.map +1 -0
- package/_types/chain/definitions/homeVerse.d.ts +16 -0
- package/_types/chain/definitions/homeVerse.d.ts.map +1 -0
- package/_types/chain/definitions/mchVerse.d.ts +16 -0
- package/_types/chain/definitions/mchVerse.d.ts.map +1 -0
- package/_types/chain/definitions/polygonZkEvm.d.ts +18 -0
- package/_types/chain/definitions/polygonZkEvm.d.ts.map +1 -0
- package/_types/chain/definitions/saakuru.d.ts +16 -0
- package/_types/chain/definitions/saakuru.d.ts.map +1 -0
- package/_types/chain/definitions/tcgVerse.d.ts +16 -0
- package/_types/chain/definitions/tcgVerse.d.ts.map +1 -0
- package/_types/chain/definitions/yooldoVerse.d.ts +16 -0
- package/_types/chain/definitions/yooldoVerse.d.ts.map +1 -0
- package/_types/chain/index.d.ts +10 -0
- package/_types/chain/index.d.ts.map +1 -1
- package/_types/chain/viemChains/chainVerse.d.ts +37 -0
- package/_types/chain/viemChains/chainVerse.d.ts.map +1 -0
- package/_types/chain/viemChains/defiVerse.d.ts +37 -0
- package/_types/chain/viemChains/defiVerse.d.ts.map +1 -0
- package/_types/chain/viemChains/geekVerse.d.ts +37 -0
- package/_types/chain/viemChains/geekVerse.d.ts.map +1 -0
- package/_types/chain/viemChains/gesoVerse.d.ts +37 -0
- package/_types/chain/viemChains/gesoVerse.d.ts.map +1 -0
- package/_types/chain/viemChains/homeVerse.d.ts +37 -0
- package/_types/chain/viemChains/homeVerse.d.ts.map +1 -0
- package/_types/chain/viemChains/mchVerse.d.ts +37 -0
- package/_types/chain/viemChains/mchVerse.d.ts.map +1 -0
- package/_types/chain/viemChains/saakuru.d.ts +37 -0
- package/_types/chain/viemChains/saakuru.d.ts.map +1 -0
- package/_types/chain/viemChains/tcgVerse.d.ts +37 -0
- package/_types/chain/viemChains/tcgVerse.d.ts.map +1 -0
- package/_types/index.d.ts +1 -1
- package/_types/index.d.ts.map +1 -1
- package/chain/definitions/chainVerse.ts +61 -0
- package/chain/definitions/defiVerse.ts +61 -0
- package/chain/definitions/geekVerse.ts +61 -0
- package/chain/definitions/gesoVerse.ts +61 -0
- package/chain/definitions/homeVerse.ts +61 -0
- package/chain/definitions/mchVerse.ts +61 -0
- package/chain/definitions/polygonZkEvm.ts +106 -0
- package/chain/definitions/saakuru.ts +61 -0
- package/chain/definitions/tcgVerse.ts +61 -0
- package/chain/definitions/yooldoVerse.ts +61 -0
- package/chain/index.ts +60 -0
- package/chain/viemChains/chainVerse.ts +20 -0
- package/chain/viemChains/defiVerse.ts +20 -0
- package/chain/viemChains/geekVerse.ts +20 -0
- package/chain/viemChains/gesoVerse.ts +20 -0
- package/chain/viemChains/homeVerse.ts +20 -0
- package/chain/viemChains/mchVerse.ts +20 -0
- package/chain/viemChains/saakuru.ts +20 -0
- package/chain/viemChains/tcgVerse.ts +20 -0
- package/index.ts +40 -0
- package/package.json +1 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { oasys } from '@0xtorch/core'
|
|
2
|
+
import { type Client, createClient } from '../../client'
|
|
3
|
+
import type { Explorer } from '../../explorer'
|
|
4
|
+
import { createBlockscout } from '../../explorer'
|
|
5
|
+
import type { Chain } from '../types/chain'
|
|
6
|
+
import type { HttpRpc } from '../types/rpc'
|
|
7
|
+
import { saakuru } from '../viemChains/saakuru'
|
|
8
|
+
|
|
9
|
+
export const createSaakuruChain = ({
|
|
10
|
+
explorerProxyUrl: proxyUrl,
|
|
11
|
+
}: {
|
|
12
|
+
explorerProxyUrl?: string
|
|
13
|
+
}) =>
|
|
14
|
+
createSaakuruChainCustom({
|
|
15
|
+
client: createClient({
|
|
16
|
+
chain: saakuru,
|
|
17
|
+
httpRpcs: saakuruHttpRpcs,
|
|
18
|
+
}),
|
|
19
|
+
explorer: createBlockscout({
|
|
20
|
+
name: 'Saakuru explorer',
|
|
21
|
+
baseUrl: 'https://explorer.saakuru.network',
|
|
22
|
+
apiBaseUrl: 'https://explorer.saakuru.network/api',
|
|
23
|
+
proxyUrl,
|
|
24
|
+
}),
|
|
25
|
+
})
|
|
26
|
+
|
|
27
|
+
type CreateSaakuruChainParameters = {
|
|
28
|
+
client: Client
|
|
29
|
+
explorer: Explorer
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export const createSaakuruChainCustom = ({
|
|
33
|
+
client,
|
|
34
|
+
explorer,
|
|
35
|
+
}: CreateSaakuruChainParameters): Chain => ({
|
|
36
|
+
id: 7225878,
|
|
37
|
+
network: 'saakuru',
|
|
38
|
+
name: 'Saakuru',
|
|
39
|
+
nativeToken: {
|
|
40
|
+
name: 'Oasys',
|
|
41
|
+
symbol: 'OAS',
|
|
42
|
+
decimals: 18,
|
|
43
|
+
currency: oasys,
|
|
44
|
+
},
|
|
45
|
+
wrappedTokenAddresses: new Set([]),
|
|
46
|
+
explorer,
|
|
47
|
+
client,
|
|
48
|
+
blockTime: 1000,
|
|
49
|
+
coingeckoId: undefined,
|
|
50
|
+
defillamaId: undefined,
|
|
51
|
+
})
|
|
52
|
+
|
|
53
|
+
export const saakuruHttpRpcs: HttpRpc[] = [
|
|
54
|
+
{
|
|
55
|
+
url: 'https://rpc.saakuru.network',
|
|
56
|
+
getLogsIsUsable: false,
|
|
57
|
+
getLogsMaxBlockRange: 0n,
|
|
58
|
+
},
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
export const saakuruWebsocketRpcUrls: readonly string[] = []
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { oasys } from '@0xtorch/core'
|
|
2
|
+
import { type Client, createClient } from '../../client'
|
|
3
|
+
import type { Explorer } from '../../explorer'
|
|
4
|
+
import { createBlockscout } from '../../explorer'
|
|
5
|
+
import type { Chain } from '../types/chain'
|
|
6
|
+
import type { HttpRpc } from '../types/rpc'
|
|
7
|
+
import { tcgVerse } from '../viemChains/tcgVerse'
|
|
8
|
+
|
|
9
|
+
export const createTcgVerseChain = ({
|
|
10
|
+
explorerProxyUrl: proxyUrl,
|
|
11
|
+
}: {
|
|
12
|
+
explorerProxyUrl?: string
|
|
13
|
+
}) =>
|
|
14
|
+
createTcgVerseChainCustom({
|
|
15
|
+
client: createClient({
|
|
16
|
+
chain: tcgVerse,
|
|
17
|
+
httpRpcs: tcgVerseHttpRpcs,
|
|
18
|
+
}),
|
|
19
|
+
explorer: createBlockscout({
|
|
20
|
+
name: 'TCG Verse-Mainnet explorer',
|
|
21
|
+
baseUrl: 'https://explorer.tcgverse.xyz',
|
|
22
|
+
apiBaseUrl: 'https://explorer.tcgverse.xyz/api',
|
|
23
|
+
proxyUrl,
|
|
24
|
+
}),
|
|
25
|
+
})
|
|
26
|
+
|
|
27
|
+
type CreateTcgVerseChainParameters = {
|
|
28
|
+
client: Client
|
|
29
|
+
explorer: Explorer
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export const createTcgVerseChainCustom = ({
|
|
33
|
+
client,
|
|
34
|
+
explorer,
|
|
35
|
+
}: CreateTcgVerseChainParameters): Chain => ({
|
|
36
|
+
id: 2400,
|
|
37
|
+
network: 'tcg-verse',
|
|
38
|
+
name: 'TCG Verse',
|
|
39
|
+
nativeToken: {
|
|
40
|
+
name: 'Oasys',
|
|
41
|
+
symbol: 'OAS',
|
|
42
|
+
decimals: 18,
|
|
43
|
+
currency: oasys,
|
|
44
|
+
},
|
|
45
|
+
wrappedTokenAddresses: new Set([]),
|
|
46
|
+
explorer,
|
|
47
|
+
client,
|
|
48
|
+
blockTime: undefined,
|
|
49
|
+
coingeckoId: undefined,
|
|
50
|
+
defillamaId: undefined,
|
|
51
|
+
})
|
|
52
|
+
|
|
53
|
+
export const tcgVerseHttpRpcs: HttpRpc[] = [
|
|
54
|
+
{
|
|
55
|
+
url: 'https://rpc.tcgverse.xyz',
|
|
56
|
+
getLogsIsUsable: false,
|
|
57
|
+
getLogsMaxBlockRange: 0n,
|
|
58
|
+
},
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
export const tcgVerseWebsocketRpcUrls: readonly string[] = []
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { oasys } from '@0xtorch/core'
|
|
2
|
+
import { yooldoVerse } from 'viem/chains'
|
|
3
|
+
import { type Client, createClient } from '../../client'
|
|
4
|
+
import type { Explorer } from '../../explorer'
|
|
5
|
+
import { createBlockscout } from '../../explorer'
|
|
6
|
+
import type { Chain } from '../types/chain'
|
|
7
|
+
import type { HttpRpc } from '../types/rpc'
|
|
8
|
+
|
|
9
|
+
export const createYooldoVerseChain = ({
|
|
10
|
+
explorerProxyUrl: proxyUrl,
|
|
11
|
+
}: {
|
|
12
|
+
explorerProxyUrl?: string
|
|
13
|
+
}) =>
|
|
14
|
+
createYooldoVerseChainCustom({
|
|
15
|
+
client: createClient({
|
|
16
|
+
chain: yooldoVerse,
|
|
17
|
+
httpRpcs: yooldoVerseHttpRpcs,
|
|
18
|
+
}),
|
|
19
|
+
explorer: createBlockscout({
|
|
20
|
+
name: 'Yooldo Verse Explorer',
|
|
21
|
+
baseUrl: 'https://explorer.yooldo-verse.xyz',
|
|
22
|
+
apiBaseUrl: 'https://explorer.yooldo-verse.xyz/api',
|
|
23
|
+
proxyUrl,
|
|
24
|
+
}),
|
|
25
|
+
})
|
|
26
|
+
|
|
27
|
+
type CreateYooldoVerseChainParameters = {
|
|
28
|
+
client: Client
|
|
29
|
+
explorer: Explorer
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export const createYooldoVerseChainCustom = ({
|
|
33
|
+
client,
|
|
34
|
+
explorer,
|
|
35
|
+
}: CreateYooldoVerseChainParameters): Chain => ({
|
|
36
|
+
id: 50005,
|
|
37
|
+
network: 'yooldo-verse',
|
|
38
|
+
name: 'Yooldo Verse',
|
|
39
|
+
nativeToken: {
|
|
40
|
+
name: 'Oasys',
|
|
41
|
+
symbol: 'OAS',
|
|
42
|
+
decimals: 18,
|
|
43
|
+
currency: oasys,
|
|
44
|
+
},
|
|
45
|
+
wrappedTokenAddresses: new Set([]),
|
|
46
|
+
explorer,
|
|
47
|
+
client,
|
|
48
|
+
blockTime: undefined,
|
|
49
|
+
coingeckoId: undefined,
|
|
50
|
+
defillamaId: undefined,
|
|
51
|
+
})
|
|
52
|
+
|
|
53
|
+
export const yooldoVerseHttpRpcs: HttpRpc[] = [
|
|
54
|
+
{
|
|
55
|
+
url: 'https://rpc.yooldo-verse.xyz',
|
|
56
|
+
getLogsIsUsable: false,
|
|
57
|
+
getLogsMaxBlockRange: 0n,
|
|
58
|
+
},
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
export const yooldoVerseWebsocketRpcUrls: readonly string[] = []
|
package/chain/index.ts
CHANGED
|
@@ -40,6 +40,18 @@ export {
|
|
|
40
40
|
bscHttpRpcs,
|
|
41
41
|
bscWebsocketRpcUrls,
|
|
42
42
|
} from './definitions/bsc'
|
|
43
|
+
export {
|
|
44
|
+
createChainVerseChain,
|
|
45
|
+
createChainVerseChainCustom,
|
|
46
|
+
chainVerseHttpRpcs,
|
|
47
|
+
chainVerseWebsocketRpcUrls,
|
|
48
|
+
} from './definitions/chainVerse'
|
|
49
|
+
export {
|
|
50
|
+
createDefiVerseChain,
|
|
51
|
+
createDefiVerseChainCustom,
|
|
52
|
+
defiVerseHttpRpcs,
|
|
53
|
+
defiVerseWebsocketRpcUrls,
|
|
54
|
+
} from './definitions/defiVerse'
|
|
43
55
|
export {
|
|
44
56
|
createDogeChain,
|
|
45
57
|
createDogeChainCustom,
|
|
@@ -58,6 +70,24 @@ export {
|
|
|
58
70
|
fantomHttpRpcs,
|
|
59
71
|
fantomWebsocketRpcUrls,
|
|
60
72
|
} from './definitions/fantom'
|
|
73
|
+
export {
|
|
74
|
+
createGeekVerseChain,
|
|
75
|
+
createGeekVerseChainCustom,
|
|
76
|
+
geekVerseHttpRpcs,
|
|
77
|
+
geekVerseWebsocketRpcUrls,
|
|
78
|
+
} from './definitions/geekVerse'
|
|
79
|
+
export {
|
|
80
|
+
createGesoVerseChain,
|
|
81
|
+
createGesoVerseChainCustom,
|
|
82
|
+
gesoVerseHttpRpcs,
|
|
83
|
+
gesoVerseWebsocketRpcUrls,
|
|
84
|
+
} from './definitions/gesoVerse'
|
|
85
|
+
export {
|
|
86
|
+
createHomeVerseChain,
|
|
87
|
+
createHomeVerseChainCustom,
|
|
88
|
+
homeVerseHttpRpcs,
|
|
89
|
+
homeVerseWebsocketRpcUrls,
|
|
90
|
+
} from './definitions/homeVerse'
|
|
61
91
|
export {
|
|
62
92
|
createLineaChain,
|
|
63
93
|
createLineaChainCustom,
|
|
@@ -70,6 +100,12 @@ export {
|
|
|
70
100
|
mantaPacificHttpRpcs,
|
|
71
101
|
mantaPacificWebsocketRpcUrls,
|
|
72
102
|
} from './definitions/mantaPacific'
|
|
103
|
+
export {
|
|
104
|
+
createMchVerseChain,
|
|
105
|
+
createMchVerseChainCustom,
|
|
106
|
+
mchVerseHttpRpcs,
|
|
107
|
+
mchVerseWebsocketRpcUrls,
|
|
108
|
+
} from './definitions/mchVerse'
|
|
73
109
|
export {
|
|
74
110
|
createMetisChain,
|
|
75
111
|
createMetisChainCustom,
|
|
@@ -118,18 +154,42 @@ export {
|
|
|
118
154
|
polygonPosHttpRpcs,
|
|
119
155
|
polygonPosWebsocketRpcUrls,
|
|
120
156
|
} from './definitions/polygonPos'
|
|
157
|
+
export {
|
|
158
|
+
createPolygonZkEvmChain,
|
|
159
|
+
createPolygonZkEvmChainCustom,
|
|
160
|
+
polygonZkEvmHttpRpcs,
|
|
161
|
+
polygonZkEvmWebsocketRpcUrls,
|
|
162
|
+
} from './definitions/polygonZkEvm'
|
|
121
163
|
export {
|
|
122
164
|
createRoninChain,
|
|
123
165
|
createRoninChainCustom,
|
|
124
166
|
roninHttpRpcs,
|
|
125
167
|
roninWebsocketRpcUrls,
|
|
126
168
|
} from './definitions/ronin'
|
|
169
|
+
export {
|
|
170
|
+
createSaakuruChain,
|
|
171
|
+
createSaakuruChainCustom,
|
|
172
|
+
saakuruHttpRpcs,
|
|
173
|
+
saakuruWebsocketRpcUrls,
|
|
174
|
+
} from './definitions/saakuru'
|
|
127
175
|
export {
|
|
128
176
|
createScrollChain,
|
|
129
177
|
createScrollChainCustom,
|
|
130
178
|
scrollHttpRpcs,
|
|
131
179
|
scrollWebsocketRpcUrls,
|
|
132
180
|
} from './definitions/scroll'
|
|
181
|
+
export {
|
|
182
|
+
createTcgVerseChain,
|
|
183
|
+
createTcgVerseChainCustom,
|
|
184
|
+
tcgVerseHttpRpcs,
|
|
185
|
+
tcgVerseWebsocketRpcUrls,
|
|
186
|
+
} from './definitions/tcgVerse'
|
|
187
|
+
export {
|
|
188
|
+
createYooldoVerseChain,
|
|
189
|
+
createYooldoVerseChainCustom,
|
|
190
|
+
yooldoVerseHttpRpcs,
|
|
191
|
+
yooldoVerseWebsocketRpcUrls,
|
|
192
|
+
} from './definitions/yooldoVerse'
|
|
133
193
|
export {
|
|
134
194
|
createZkFairChain,
|
|
135
195
|
createZkFairChainCustom,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineChain } from 'viem'
|
|
2
|
+
|
|
3
|
+
export const chainVerse = defineChain({
|
|
4
|
+
id: 5555,
|
|
5
|
+
name: 'Chain Verse',
|
|
6
|
+
nativeCurrency: { name: 'Oasys', symbol: 'OAS', decimals: 18 },
|
|
7
|
+
rpcUrls: {
|
|
8
|
+
default: {
|
|
9
|
+
http: ['https://rpc.chainverse.info'],
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
blockExplorers: {
|
|
13
|
+
default: {
|
|
14
|
+
name: 'Chain verse Explorer',
|
|
15
|
+
url: 'https://explorer.chainverse.info',
|
|
16
|
+
apiUrl: 'https://explorer.chainverse.info/api',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
testnet: false,
|
|
20
|
+
})
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineChain } from 'viem'
|
|
2
|
+
|
|
3
|
+
export const defiVerse = defineChain({
|
|
4
|
+
id: 16116,
|
|
5
|
+
name: 'DeFiVerse',
|
|
6
|
+
nativeCurrency: { name: 'Oasys', symbol: 'OAS', decimals: 18 },
|
|
7
|
+
rpcUrls: {
|
|
8
|
+
default: {
|
|
9
|
+
http: ['https://rpc.defi-verse.org'],
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
blockExplorers: {
|
|
13
|
+
default: {
|
|
14
|
+
name: 'DeFiVerse Explorer',
|
|
15
|
+
url: 'https://scan.defi-verse.org',
|
|
16
|
+
apiUrl: 'https://scan.defi-verse.org/api',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
testnet: false,
|
|
20
|
+
})
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineChain } from 'viem'
|
|
2
|
+
|
|
3
|
+
export const geekVerse = defineChain({
|
|
4
|
+
id: 75512,
|
|
5
|
+
name: 'GEEK Verse',
|
|
6
|
+
nativeCurrency: { name: 'Oasys', symbol: 'OAS', decimals: 18 },
|
|
7
|
+
rpcUrls: {
|
|
8
|
+
default: {
|
|
9
|
+
http: ['https://rpc.geekout-pte.com'],
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
blockExplorers: {
|
|
13
|
+
default: {
|
|
14
|
+
name: 'GeekVerse-Mainnet explorer',
|
|
15
|
+
url: 'https://explorer.geekout-pte.com',
|
|
16
|
+
apiUrl: 'https://explorer.geekout-pte.com/api',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
testnet: false,
|
|
20
|
+
})
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineChain } from 'viem'
|
|
2
|
+
|
|
3
|
+
export const gesoVerse = defineChain({
|
|
4
|
+
id: 428,
|
|
5
|
+
name: 'GESOVerse',
|
|
6
|
+
nativeCurrency: { name: 'Oasys', symbol: 'OAS', decimals: 18 },
|
|
7
|
+
rpcUrls: {
|
|
8
|
+
default: {
|
|
9
|
+
http: ['https://rpc.verse.gesoten.com'],
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
blockExplorers: {
|
|
13
|
+
default: {
|
|
14
|
+
name: 'GESOVerse Explorer',
|
|
15
|
+
url: 'https://explorer.verse.gesoten.com',
|
|
16
|
+
apiUrl: 'https://explorer.verse.gesoten.com/api',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
testnet: false,
|
|
20
|
+
})
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineChain } from 'viem'
|
|
2
|
+
|
|
3
|
+
export const homeVerse = defineChain({
|
|
4
|
+
id: 19011,
|
|
5
|
+
name: 'HOME Verse',
|
|
6
|
+
nativeCurrency: { name: 'Oasys', symbol: 'OAS', decimals: 18 },
|
|
7
|
+
rpcUrls: {
|
|
8
|
+
default: {
|
|
9
|
+
http: ['https://rpc.mainnet.oasys.homeverse.games'],
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
blockExplorers: {
|
|
13
|
+
default: {
|
|
14
|
+
name: 'HOME Verse Mainnet Explorer',
|
|
15
|
+
url: 'https://explorer.oasys.homeverse.games',
|
|
16
|
+
apiUrl: 'https://explorer.oasys.homeverse.games/api',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
testnet: false,
|
|
20
|
+
})
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineChain } from 'viem'
|
|
2
|
+
|
|
3
|
+
export const mchVerse = defineChain({
|
|
4
|
+
id: 29548,
|
|
5
|
+
name: 'MCH Verse',
|
|
6
|
+
nativeCurrency: { name: 'Oasys', symbol: 'OAS', decimals: 18 },
|
|
7
|
+
rpcUrls: {
|
|
8
|
+
default: {
|
|
9
|
+
http: ['https://rpc.oasys.mycryptoheroes.net'],
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
blockExplorers: {
|
|
13
|
+
default: {
|
|
14
|
+
name: 'MCH Verse Explorer',
|
|
15
|
+
url: 'https://explorer.oasys.mycryptoheroes.net',
|
|
16
|
+
apiUrl: 'https://explorer.oasys.mycryptoheroes.net/api',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
testnet: false,
|
|
20
|
+
})
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineChain } from 'viem'
|
|
2
|
+
|
|
3
|
+
export const saakuru = defineChain({
|
|
4
|
+
id: 7225878,
|
|
5
|
+
name: 'Saakuru',
|
|
6
|
+
nativeCurrency: { name: 'Oasys', symbol: 'OAS', decimals: 18 },
|
|
7
|
+
rpcUrls: {
|
|
8
|
+
default: {
|
|
9
|
+
http: ['https://rpc.saakuru.network'],
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
blockExplorers: {
|
|
13
|
+
default: {
|
|
14
|
+
name: 'Saakuru explorer',
|
|
15
|
+
url: 'https://explorer.saakuru.network',
|
|
16
|
+
apiUrl: 'https://explorer.saakuru.network/api',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
testnet: false,
|
|
20
|
+
})
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineChain } from 'viem'
|
|
2
|
+
|
|
3
|
+
export const tcgVerse = defineChain({
|
|
4
|
+
id: 2400,
|
|
5
|
+
name: 'TCG Verse',
|
|
6
|
+
nativeCurrency: { name: 'Oasys', symbol: 'OAS', decimals: 18 },
|
|
7
|
+
rpcUrls: {
|
|
8
|
+
default: {
|
|
9
|
+
http: ['https://rpc.tcgverse.xyz'],
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
blockExplorers: {
|
|
13
|
+
default: {
|
|
14
|
+
name: 'TCG Verse-Mainnet explorer',
|
|
15
|
+
url: 'https://explorer.tcgverse.xyz',
|
|
16
|
+
apiUrl: 'https://explorer.tcgverse.xyz/api',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
testnet: false,
|
|
20
|
+
})
|
package/index.ts
CHANGED
|
@@ -14,6 +14,8 @@ export {
|
|
|
14
14
|
blastWebsocketRpcUrls,
|
|
15
15
|
bscHttpRpcs,
|
|
16
16
|
bscWebsocketRpcUrls,
|
|
17
|
+
chainVerseHttpRpcs,
|
|
18
|
+
chainVerseWebsocketRpcUrls,
|
|
17
19
|
createArbitrumOneChain,
|
|
18
20
|
createArbitrumOneChainCustom,
|
|
19
21
|
createAstarChain,
|
|
@@ -28,18 +30,30 @@ export {
|
|
|
28
30
|
createBlastChainCustom,
|
|
29
31
|
createBscChain,
|
|
30
32
|
createBscChainCustom,
|
|
33
|
+
createChainVerseChain,
|
|
34
|
+
createChainVerseChainCustom,
|
|
35
|
+
createDefiVerseChain,
|
|
36
|
+
createDefiVerseChainCustom,
|
|
31
37
|
createDogeChain,
|
|
32
38
|
createDogeChainCustom,
|
|
33
39
|
createEthereumChain,
|
|
34
40
|
createEthereumChainCustom,
|
|
35
41
|
createFantomChain,
|
|
36
42
|
createFantomChainCustom,
|
|
43
|
+
createGeekVerseChain,
|
|
44
|
+
createGeekVerseChainCustom,
|
|
45
|
+
createGesoVerseChain,
|
|
46
|
+
createGesoVerseChainCustom,
|
|
47
|
+
createHomeVerseChain,
|
|
48
|
+
createHomeVerseChainCustom,
|
|
37
49
|
createLineaChain,
|
|
38
50
|
createLineaChainCustom,
|
|
39
51
|
createMantaPacificChain,
|
|
40
52
|
createMantaPacificChainCustom,
|
|
41
53
|
createMantleChain,
|
|
42
54
|
createMantleChainCustom,
|
|
55
|
+
createMchVerseChain,
|
|
56
|
+
createMchVerseChainCustom,
|
|
43
57
|
createMetisChain,
|
|
44
58
|
createMetisChainCustom,
|
|
45
59
|
createMoonbeamChain,
|
|
@@ -54,28 +68,46 @@ export {
|
|
|
54
68
|
createOptimismChainCustom,
|
|
55
69
|
createPolygonPosChain,
|
|
56
70
|
createPolygonPosChainCustom,
|
|
71
|
+
createPolygonZkEvmChain,
|
|
72
|
+
createPolygonZkEvmChainCustom,
|
|
57
73
|
createRoninChain,
|
|
58
74
|
createRoninChainCustom,
|
|
75
|
+
createSaakuruChain,
|
|
76
|
+
createSaakuruChainCustom,
|
|
59
77
|
createScrollChain,
|
|
60
78
|
createScrollChainCustom,
|
|
79
|
+
createTcgVerseChain,
|
|
80
|
+
createTcgVerseChainCustom,
|
|
81
|
+
createYooldoVerseChain,
|
|
82
|
+
createYooldoVerseChainCustom,
|
|
61
83
|
createZkFairChain,
|
|
62
84
|
createZkFairChainCustom,
|
|
63
85
|
createZkSyncEraChain,
|
|
64
86
|
createZkSyncEraChainCustom,
|
|
65
87
|
createZoraChain,
|
|
66
88
|
createZoraChainCustom,
|
|
89
|
+
defiVerseHttpRpcs,
|
|
90
|
+
defiVerseWebsocketRpcUrls,
|
|
67
91
|
dogeHttpRpcs,
|
|
68
92
|
dogeWebsocketRpcUrls,
|
|
69
93
|
ethereumHttpRpcs,
|
|
70
94
|
ethereumWebsocketRpcUrls,
|
|
71
95
|
fantomHttpRpcs,
|
|
72
96
|
fantomWebsocketRpcUrls,
|
|
97
|
+
geekVerseHttpRpcs,
|
|
98
|
+
geekVerseWebsocketRpcUrls,
|
|
99
|
+
gesoVerseHttpRpcs,
|
|
100
|
+
gesoVerseWebsocketRpcUrls,
|
|
101
|
+
homeVerseHttpRpcs,
|
|
102
|
+
homeVerseWebsocketRpcUrls,
|
|
73
103
|
lineaHttpRpcs,
|
|
74
104
|
lineaWebsocketRpcUrls,
|
|
75
105
|
mantaPacificHttpRpcs,
|
|
76
106
|
mantaPacificWebsocketRpcUrls,
|
|
77
107
|
mantleHttpRpcs,
|
|
78
108
|
mantleWebsocketRpcUrls,
|
|
109
|
+
mchVerseHttpRpcs,
|
|
110
|
+
mchVerseWebsocketRpcUrls,
|
|
79
111
|
metisHttpRpcs,
|
|
80
112
|
metisWebsocketRpcUrls,
|
|
81
113
|
moonbeamHttpRpcs,
|
|
@@ -90,10 +122,18 @@ export {
|
|
|
90
122
|
optimismWebsocketRpcUrls,
|
|
91
123
|
polygonPosHttpRpcs,
|
|
92
124
|
polygonPosWebsocketRpcUrls,
|
|
125
|
+
polygonZkEvmHttpRpcs,
|
|
126
|
+
polygonZkEvmWebsocketRpcUrls,
|
|
93
127
|
roninHttpRpcs,
|
|
94
128
|
roninWebsocketRpcUrls,
|
|
129
|
+
saakuruHttpRpcs,
|
|
130
|
+
saakuruWebsocketRpcUrls,
|
|
95
131
|
scrollHttpRpcs,
|
|
96
132
|
scrollWebsocketRpcUrls,
|
|
133
|
+
tcgVerseHttpRpcs,
|
|
134
|
+
tcgVerseWebsocketRpcUrls,
|
|
135
|
+
yooldoVerseHttpRpcs,
|
|
136
|
+
yooldoVerseWebsocketRpcUrls,
|
|
97
137
|
zkFairHttpRpcs,
|
|
98
138
|
zkFairWebsocketRpcUrls,
|
|
99
139
|
zksyncEraHttpRpcs,
|