@octaflowlabs/onchain-sdk 1.4.4 → 1.5.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.
@@ -30,10 +30,10 @@ export const NETWORKS_REGISTRY = [
30
30
  id: 'polygon-mainnet',
31
31
  name: 'polygon-mainnet',
32
32
  nameForDisplay: 'Polygon Mainnet',
33
- iconUrl: 'https://assets.coingecko.com/coins/images/4713/large/matic-token-icon.png',
34
33
  chainId: 137,
35
34
  rpcUrl: 'https://polygon.publicnode.com',
36
35
  explorerUrl: 'https://polygonscan.com',
36
+ iconUrl: 'https://assets.coingecko.com/coins/images/4713/large/matic-token-icon.png',
37
37
  symbol: 'POL',
38
38
  failoverRpcUrl: 'https://polygon.llamarpc.com',
39
39
  blockTime: 2,
@@ -43,11 +43,166 @@ export const NETWORKS_REGISTRY = [
43
43
  name: 'arb-mainnet',
44
44
  nameForDisplay: 'Arbitrum Mainnet',
45
45
  chainId: 42161,
46
- rpcUrl: 'https://public-arb-mainnet.fastnode.io',
46
+ rpcUrl: 'https://arbitrum.gateway.tenderly.co',
47
47
  explorerUrl: 'https://arbiscan.io',
48
48
  iconUrl: 'https://assets.coingecko.com/coins/images/16547/large/photo_2023-03-29_21.47.00.jpeg',
49
49
  symbol: 'ARB',
50
- failoverRpcUrl: 'https://arb.llamarpc.com',
50
+ failoverRpcUrl: 'https://arbitrum.drpc.org',
51
+ blockTime: 1,
52
+ },
53
+ {
54
+ id: 'optimism-mainnet',
55
+ name: 'op-mainnet',
56
+ nameForDisplay: 'Optimism Mainnet',
57
+ chainId: 10,
58
+ rpcUrl: 'https://mainnet.optimism.io',
59
+ explorerUrl: 'https://optimistic.etherscan.io',
60
+ iconUrl: 'https://assets.coingecko.com/coins/images/25244/large/Optimism.png',
61
+ symbol: 'ETH',
62
+ failoverRpcUrl: 'https://optimism.llamarpc.com',
63
+ blockTime: 2,
64
+ },
65
+ {
66
+ id: 'base-mainnet',
67
+ name: 'base-mainnet',
68
+ nameForDisplay: 'Base Mainnet',
69
+ chainId: 8453,
70
+ rpcUrl: 'https://base.gateway.tenderly.co',
71
+ explorerUrl: 'https://basescan.org',
72
+ iconUrl: 'https://assets.coingecko.com/coins/images/32480/large/base.png',
73
+ symbol: 'ETH',
74
+ failoverRpcUrl: 'https://base-mainnet.public.blastapi.io',
75
+ blockTime: 2,
76
+ },
77
+ {
78
+ id: 'avalanche-mainnet',
79
+ name: 'avax-mainnet',
80
+ nameForDisplay: 'Avalanche C-Chain',
81
+ chainId: 43114,
82
+ rpcUrl: 'https://api.avax.network/ext/bc/C/rpc',
83
+ explorerUrl: 'https://snowtrace.io',
84
+ iconUrl: 'https://assets.coingecko.com/coins/images/12559/large/Avalanche_Circle_RedWhite_Trans.png',
85
+ symbol: 'AVAX',
86
+ failoverRpcUrl: 'https://avalanche.llamarpc.com',
87
+ blockTime: 2,
88
+ },
89
+ {
90
+ id: 'hyperevm-mainnet',
91
+ name: 'hyperevm-mainnet',
92
+ nameForDisplay: 'HyperEVM',
93
+ chainId: 999,
94
+ rpcUrl: 'https://rpc.hypurrscan.io',
95
+ explorerUrl: 'https://purrsec.com',
96
+ iconUrl: 'https://assets.coingecko.com/coins/images/52510/large/hyperliquid.png',
97
+ symbol: 'HYPE',
98
+ failoverRpcUrl: 'https://hyperevm.rpc.sentio.xyz',
99
+ blockTime: 1,
100
+ },
101
+ {
102
+ id: 'unichain-mainnet',
103
+ name: 'unichain-mainnet',
104
+ nameForDisplay: 'Unichain Mainnet',
105
+ chainId: 130,
106
+ rpcUrl: 'https://mainnet.unichain.org',
107
+ explorerUrl: 'https://uniscan.xyz',
108
+ iconUrl: 'https://assets.coingecko.com/coins/images/25244/large/Optimism.png',
109
+ symbol: 'ETH',
110
+ failoverRpcUrl: 'https://unichain.llamarpc.com',
111
+ blockTime: 1,
112
+ },
113
+ {
114
+ id: 'gnosis-mainnet',
115
+ name: 'gnosis-mainnet',
116
+ nameForDisplay: 'Gnosis Chain',
117
+ chainId: 100,
118
+ rpcUrl: 'https://gnosis-rpc.publicnode.com',
119
+ explorerUrl: 'https://gnosisscan.io',
120
+ iconUrl: 'https://assets.coingecko.com/coins/images/662/large/logo_square_simple_300px.png',
121
+ symbol: 'xDAI',
122
+ failoverRpcUrl: 'https://1rpc.io/gnosis',
123
+ blockTime: 5,
124
+ },
125
+ {
126
+ id: 'mantle-mainnet',
127
+ name: 'mantle-mainnet',
128
+ nameForDisplay: 'Mantle Mainnet',
129
+ chainId: 5000,
130
+ rpcUrl: 'https://rpc.mantle.xyz',
131
+ explorerUrl: 'https://mantlescan.xyz',
132
+ iconUrl: 'https://assets.coingecko.com/coins/images/30980/large/token-logo.png',
133
+ symbol: 'MNT',
134
+ failoverRpcUrl: 'https://mantle.llamarpc.com',
135
+ blockTime: 2,
136
+ },
137
+ {
138
+ id: 'celo-mainnet',
139
+ name: 'celo-mainnet',
140
+ nameForDisplay: 'Celo Mainnet',
141
+ chainId: 42220,
142
+ rpcUrl: 'https://rpc.ankr.com/celo',
143
+ explorerUrl: 'https://celoscan.io',
144
+ iconUrl: 'https://assets.coingecko.com/coins/images/11090/large/InjXBNx9_400x400.jpg',
145
+ symbol: 'CELO',
146
+ failoverRpcUrl: 'https://celo.drpc.org',
147
+ blockTime: 5,
148
+ },
149
+ {
150
+ id: 'blast-mainnet',
151
+ name: 'blast-mainnet',
152
+ nameForDisplay: 'Blast Mainnet',
153
+ chainId: 81457,
154
+ rpcUrl: 'https://rpc.blast.io',
155
+ explorerUrl: 'https://blastscan.io',
156
+ iconUrl: 'https://assets.coingecko.com/coins/images/35494/large/Blast.jpg',
157
+ symbol: 'ETH',
158
+ failoverRpcUrl: 'https://blast.gateway.tenderly.co',
159
+ blockTime: 2,
160
+ },
161
+ {
162
+ id: 'berachain-mainnet',
163
+ name: 'berachain-mainnet',
164
+ nameForDisplay: 'Berachain Mainnet',
165
+ chainId: 80094,
166
+ rpcUrl: 'https://rpc.berachain.com',
167
+ explorerUrl: 'https://berascan.com',
168
+ iconUrl: 'https://assets.coingecko.com/coins/images/36417/large/bera.png',
169
+ symbol: 'BERA',
170
+ failoverRpcUrl: 'https://berachain.llamarpc.com',
171
+ blockTime: 2,
172
+ },
173
+ {
174
+ id: 'linea-mainnet',
175
+ name: 'linea-mainnet',
176
+ nameForDisplay: 'Linea Mainnet',
177
+ chainId: 59144,
178
+ rpcUrl: 'https://rpc.linea.build',
179
+ explorerUrl: 'https://lineascan.build',
180
+ iconUrl: 'https://assets.coingecko.com/coins/images/32234/large/linea.png',
181
+ symbol: 'ETH',
182
+ failoverRpcUrl: 'https://linea.llamarpc.com',
183
+ blockTime: 2,
184
+ },
185
+ {
186
+ id: 'scroll-mainnet',
187
+ name: 'scroll-mainnet',
188
+ nameForDisplay: 'Scroll Mainnet',
189
+ chainId: 534352,
190
+ rpcUrl: 'https://rpc.scroll.io',
191
+ explorerUrl: 'https://scrollscan.com',
192
+ iconUrl: 'https://assets.coingecko.com/coins/images/32760/large/scroll.png',
193
+ symbol: 'ETH',
194
+ failoverRpcUrl: 'https://scroll.llamarpc.com',
195
+ blockTime: 3,
196
+ },
197
+ {
198
+ id: 'plasma-mainnet',
199
+ name: 'plasma-mainnet',
200
+ nameForDisplay: 'Plasma Mainnet',
201
+ chainId: 9745,
202
+ rpcUrl: 'https://rpc.plasma.to',
203
+ explorerUrl: 'https://plasmascan.to',
204
+ iconUrl: '',
205
+ symbol: 'XPL',
51
206
  blockTime: 1,
52
207
  },
53
208
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octaflowlabs/onchain-sdk",
3
- "version": "1.4.4",
3
+ "version": "1.5.2",
4
4
  "description": "onchain methods for web3",
5
5
  "repository": {
6
6
  "type": "git",