@juno-network/assets 0.11.1 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- package/module/asset_list.js +2274 -0
- package/module/assets.js +385 -0
- package/module/chain.js +189 -0
- package/module/index.js +13 -0
- package/module/testnet.js +82 -0
- package/module/testnet_assets.js +24 -0
- package/package.json +8 -3
- package/src/asset_list.ts +2826 -0
- package/src/assets.ts +509 -0
- package/src/chain.ts +244 -0
- package/src/index.ts +15 -0
- package/src/testnet.ts +103 -0
- package/src/testnet_assets.ts +30 -0
package/src/chain.ts
ADDED
@@ -0,0 +1,244 @@
|
|
1
|
+
import { Chain } from '@chain-registry/types';
|
2
|
+
const chain: Chain = {
|
3
|
+
$schema: '../chain.schema.json',
|
4
|
+
chain_name: 'juno',
|
5
|
+
status: 'live',
|
6
|
+
network_type: 'mainnet',
|
7
|
+
website: 'https://www.junonetwork.io/',
|
8
|
+
pretty_name: 'Juno',
|
9
|
+
chain_id: 'juno-1',
|
10
|
+
bech32_prefix: 'juno',
|
11
|
+
daemon_name: 'junod',
|
12
|
+
node_home: '$HOME/.juno',
|
13
|
+
genesis: {
|
14
|
+
genesis_url: 'https://download.dimi.sh/juno-phoenix2-genesis.tar.gz'
|
15
|
+
},
|
16
|
+
key_algos: ['secp256k1'],
|
17
|
+
slip44: 118,
|
18
|
+
fees: {
|
19
|
+
fee_tokens: [
|
20
|
+
{
|
21
|
+
denom: 'ujuno',
|
22
|
+
low_gas_price: 0.03,
|
23
|
+
average_gas_price: 0.04,
|
24
|
+
high_gas_price: 0.05
|
25
|
+
}
|
26
|
+
]
|
27
|
+
},
|
28
|
+
staking: {
|
29
|
+
staking_tokens: [
|
30
|
+
{
|
31
|
+
denom: 'ujuno'
|
32
|
+
}
|
33
|
+
]
|
34
|
+
},
|
35
|
+
codebase: {
|
36
|
+
git_repo: 'https://github.com/CosmosContracts/juno',
|
37
|
+
recommended_version: 'v9.0.0',
|
38
|
+
compatible_versions: ['v9.0.0'],
|
39
|
+
cosmos_sdk_version: '0.45',
|
40
|
+
tendermint_version: '0.34',
|
41
|
+
cosmwasm_version: '0.27',
|
42
|
+
cosmwasm_enabled: true
|
43
|
+
},
|
44
|
+
peers: {
|
45
|
+
seeds: [
|
46
|
+
{
|
47
|
+
id: '2484353dab0b2c1275765b8ffa2c50b3b36158ca',
|
48
|
+
address: 'seed-node.junochain.com:26656'
|
49
|
+
},
|
50
|
+
{
|
51
|
+
id: '90b09362d9ce3845096c4938eea0dba682b0ad2c',
|
52
|
+
address: 'juno-seed-new.blockpane.com:26656'
|
53
|
+
},
|
54
|
+
{
|
55
|
+
id: '22ee6e65e5e79cd0b970dd11e52761de8d1d6dfd',
|
56
|
+
address: 'seeds.pupmos.network:2001',
|
57
|
+
provider: 'PUPMØS'
|
58
|
+
},
|
59
|
+
{
|
60
|
+
id: 'ade4d8bc8cbe014af6ebdf3cb7b1e9ad36f412c0',
|
61
|
+
address: 'seeds.polkachu.com:12656',
|
62
|
+
provider: 'Polkachu'
|
63
|
+
},
|
64
|
+
{
|
65
|
+
id: '20e1000e88125698264454a884812746c2eb4807',
|
66
|
+
address: 'seeds.lavenderfive.com:12656',
|
67
|
+
provider: 'Lavender.Five Nodes 🐝'
|
68
|
+
}
|
69
|
+
],
|
70
|
+
persistent_peers: [
|
71
|
+
{
|
72
|
+
id: 'b1f46f1a1955fc773d3b73180179b0e0a07adce1',
|
73
|
+
address: '162.55.244.250:39656'
|
74
|
+
},
|
75
|
+
{
|
76
|
+
id: '7f593757c0cde8972ce929381d8ac8e446837811',
|
77
|
+
address: '178.18.255.244:26656'
|
78
|
+
},
|
79
|
+
{
|
80
|
+
id: '7b22dfc605989d66b89d2dfe118d799ea5abc2f0',
|
81
|
+
address: '167.99.210.65:26656'
|
82
|
+
},
|
83
|
+
{
|
84
|
+
id: '4bd9cac019775047d27f9b9cea66b25270ab497d',
|
85
|
+
address: '137.184.7.164:26656'
|
86
|
+
},
|
87
|
+
{
|
88
|
+
id: 'bd822a8057902fbc80fd9135e335f0dfefa32342',
|
89
|
+
address: '65.21.202.159:38656'
|
90
|
+
},
|
91
|
+
{
|
92
|
+
id: '15827c6c13f919e4d9c11bcca23dff4e3e79b1b8',
|
93
|
+
address: '51.38.52.210:38656'
|
94
|
+
},
|
95
|
+
{
|
96
|
+
id: 'e665df28999b2b7b40cff2fe4030682c380bf294',
|
97
|
+
address: '188.40.106.109:38656'
|
98
|
+
},
|
99
|
+
{
|
100
|
+
id: '92804ce50c85ff4c7cf149d347dd880fc3735bf4',
|
101
|
+
address: '34.94.231.154:26656'
|
102
|
+
},
|
103
|
+
{
|
104
|
+
id: '795ed214b8354e8468f46d1bbbf6e128a88fe3bd',
|
105
|
+
address: '34.127.19.222:26656'
|
106
|
+
},
|
107
|
+
{
|
108
|
+
id: 'ea9c1ac0e91639b2c7957d9604655e2263abe4e1',
|
109
|
+
address: '185.181.103.136:26656'
|
110
|
+
}
|
111
|
+
]
|
112
|
+
},
|
113
|
+
apis: {
|
114
|
+
rpc: [
|
115
|
+
{
|
116
|
+
address: 'https://rpc-juno.whispernode.com',
|
117
|
+
provider: ' WhisperNode 🤐'
|
118
|
+
},
|
119
|
+
{
|
120
|
+
address: 'https://rpc-juno.itastakers.com',
|
121
|
+
provider: 'itastakers'
|
122
|
+
},
|
123
|
+
{
|
124
|
+
address: 'https://rpc-juno.ecostake.com',
|
125
|
+
provider: 'ecostake'
|
126
|
+
},
|
127
|
+
{
|
128
|
+
address: 'https://juno-rpc.polkachu.com',
|
129
|
+
provider: 'Polkachu'
|
130
|
+
},
|
131
|
+
{
|
132
|
+
address: 'https://juno-rpc.lavenderfive.com:443',
|
133
|
+
provider: 'Lavender.Five Nodes 🐝'
|
134
|
+
},
|
135
|
+
{
|
136
|
+
address: 'https://rpc.juno.pupmos.network',
|
137
|
+
provider: 'PUPMØS'
|
138
|
+
},
|
139
|
+
{
|
140
|
+
address: 'https://rpc.junomint.com',
|
141
|
+
provider: 'EZStaking.io'
|
142
|
+
},
|
143
|
+
{
|
144
|
+
address: 'https://rpc-juno-ia.cosmosia.notional.ventures/',
|
145
|
+
provider: 'Notional'
|
146
|
+
},
|
147
|
+
{
|
148
|
+
address: 'https://rpc.juno.chaintools.tech/',
|
149
|
+
provider: 'ChainTools'
|
150
|
+
},
|
151
|
+
{
|
152
|
+
address: 'https://juno-rpc.kleomed.es',
|
153
|
+
provider: 'Kleomedes'
|
154
|
+
}
|
155
|
+
],
|
156
|
+
rest: [
|
157
|
+
{
|
158
|
+
address: 'https://lcd-juno.whispernode.com',
|
159
|
+
provider: ' WhisperNode 🤐'
|
160
|
+
},
|
161
|
+
{
|
162
|
+
address: 'https://lcd-juno.itastakers.com',
|
163
|
+
provider: 'itastakers'
|
164
|
+
},
|
165
|
+
{
|
166
|
+
address: 'https://rest-juno.ecostake.com',
|
167
|
+
provider: 'ecostake'
|
168
|
+
},
|
169
|
+
{
|
170
|
+
address: 'https://juno-api.lavenderfive.com:443',
|
171
|
+
provider: 'Lavender.Five Nodes 🐝'
|
172
|
+
},
|
173
|
+
{
|
174
|
+
address: 'https://api.juno.pupmos.network',
|
175
|
+
provider: 'PUPMØS'
|
176
|
+
},
|
177
|
+
{
|
178
|
+
address: 'https://lcd.junomint.com',
|
179
|
+
provider: 'EZStaking.io'
|
180
|
+
},
|
181
|
+
{
|
182
|
+
address: 'https://api-juno-ia.cosmosia.notional.ventures/',
|
183
|
+
provider: 'Notional'
|
184
|
+
},
|
185
|
+
{
|
186
|
+
address: 'https://api.juno.chaintools.tech/',
|
187
|
+
provider: 'ChainTools'
|
188
|
+
},
|
189
|
+
{
|
190
|
+
address: 'https://juno-api.polkachu.com',
|
191
|
+
provider: 'Polkachu'
|
192
|
+
},
|
193
|
+
{
|
194
|
+
address: 'https://juno-api.kleomed.es',
|
195
|
+
provider: 'Kleomedes'
|
196
|
+
}
|
197
|
+
],
|
198
|
+
grpc: [
|
199
|
+
{
|
200
|
+
address: '35.243.205.230:9090',
|
201
|
+
provider: 'strangelove'
|
202
|
+
},
|
203
|
+
{
|
204
|
+
address: 'grpc-juno-ia.cosmosia.notional.ventures:443',
|
205
|
+
provider: 'Notional'
|
206
|
+
},
|
207
|
+
{
|
208
|
+
address: 'https://juno-grpc.lavenderfive.com:443',
|
209
|
+
provider: 'Lavender.Five Nodes 🐝'
|
210
|
+
},
|
211
|
+
{
|
212
|
+
address: 'https://juno.grpcui.chaintools.host/',
|
213
|
+
provider: 'ChainTools'
|
214
|
+
},
|
215
|
+
{
|
216
|
+
address: 'juno-grpc.polkachu.com:12690',
|
217
|
+
provider: 'Polkachu'
|
218
|
+
}
|
219
|
+
]
|
220
|
+
},
|
221
|
+
explorers: [
|
222
|
+
{
|
223
|
+
kind: 'ping.pub',
|
224
|
+
url: 'https://ping.pub/juno',
|
225
|
+
tx_page: 'https://ping.pub/juno/tx/${txHash}'
|
226
|
+
},
|
227
|
+
{
|
228
|
+
kind: 'explorers.guru',
|
229
|
+
url: 'https://juno.explorers.guru',
|
230
|
+
tx_page: 'https://juno.explorers.guru/transaction/${txHash}'
|
231
|
+
},
|
232
|
+
{
|
233
|
+
kind: 'mintscan',
|
234
|
+
url: 'https://www.mintscan.io/juno',
|
235
|
+
tx_page: 'https://www.mintscan.io/juno/txs/${txHash}'
|
236
|
+
},
|
237
|
+
{
|
238
|
+
kind: 'atomscan',
|
239
|
+
url: 'https://atomscan.com/juno',
|
240
|
+
tx_page: 'https://atomscan.com/juno/transactions/${txHash}'
|
241
|
+
}
|
242
|
+
]
|
243
|
+
};
|
244
|
+
export default chain;
|
package/src/index.ts
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
import asset_list from './asset_list';
|
2
|
+
import assets from './assets';
|
3
|
+
import chain from './chain';
|
4
|
+
import testnet from './testnet';
|
5
|
+
import testnet_assets from './testnet_assets';
|
6
|
+
|
7
|
+
export default {
|
8
|
+
chain,
|
9
|
+
assets,
|
10
|
+
asset_list,
|
11
|
+
testnet,
|
12
|
+
testnet_assets
|
13
|
+
};
|
14
|
+
|
15
|
+
export { asset_list, assets, chain, testnet, testnet_assets };
|
package/src/testnet.ts
ADDED
@@ -0,0 +1,103 @@
|
|
1
|
+
import { Chain } from '@chain-registry/types';
|
2
|
+
const testnet: Chain = {
|
3
|
+
$schema: '../../chain.schema.json',
|
4
|
+
chain_name: 'junotestnet',
|
5
|
+
status: 'live',
|
6
|
+
network_type: 'testnet',
|
7
|
+
pretty_name: 'Juno Testnet',
|
8
|
+
chain_id: 'uni-5',
|
9
|
+
bech32_prefix: 'juno',
|
10
|
+
daemon_name: 'junod',
|
11
|
+
node_home: '$HOME/.juno',
|
12
|
+
genesis: {
|
13
|
+
genesis_url:
|
14
|
+
'https://raw.githubusercontent.com/CosmosContracts/testnets/main/uni-5/genesis.json'
|
15
|
+
},
|
16
|
+
key_algos: ['secp256k1'],
|
17
|
+
slip44: 118,
|
18
|
+
fees: {
|
19
|
+
fee_tokens: [
|
20
|
+
{
|
21
|
+
denom: 'ujunox',
|
22
|
+
low_gas_price: 0.03,
|
23
|
+
average_gas_price: 0.04,
|
24
|
+
high_gas_price: 0.05
|
25
|
+
}
|
26
|
+
]
|
27
|
+
},
|
28
|
+
staking: {
|
29
|
+
staking_tokens: [
|
30
|
+
{
|
31
|
+
denom: 'ujunox'
|
32
|
+
}
|
33
|
+
]
|
34
|
+
},
|
35
|
+
codebase: {
|
36
|
+
git_repo: 'https://github.com/CosmosContracts/juno',
|
37
|
+
recommended_version: 'v9.0.0',
|
38
|
+
compatible_versions: ['v9.0.0'],
|
39
|
+
cosmos_sdk_version: '0.45',
|
40
|
+
tendermint_version: '0.34',
|
41
|
+
cosmwasm_version: '0.27',
|
42
|
+
cosmwasm_enabled: true
|
43
|
+
},
|
44
|
+
peers: {
|
45
|
+
seeds: [],
|
46
|
+
persistent_peers: [
|
47
|
+
{
|
48
|
+
id: 'ed90921d43ede634043d152d7a87e8881fb85e90',
|
49
|
+
address: '65.108.77.106:26709',
|
50
|
+
provider: 'EZStaking.io'
|
51
|
+
}
|
52
|
+
]
|
53
|
+
},
|
54
|
+
apis: {
|
55
|
+
rpc: [
|
56
|
+
{
|
57
|
+
address: 'https://rpc.uni.junomint.com',
|
58
|
+
provider: 'EZStaking.io'
|
59
|
+
},
|
60
|
+
{
|
61
|
+
address: 'https://rpc.uni.junonetwork.io',
|
62
|
+
provider: 'Juno'
|
63
|
+
},
|
64
|
+
{
|
65
|
+
address: 'https://juno-testnet-rpc.polkachu.com',
|
66
|
+
provider: 'Polkachu'
|
67
|
+
}
|
68
|
+
],
|
69
|
+
rest: [
|
70
|
+
{
|
71
|
+
address: 'https://lcd.uni.junomint.com',
|
72
|
+
provider: 'EZStaking.io'
|
73
|
+
},
|
74
|
+
{
|
75
|
+
address: 'https://api.uni.junonetwork.io',
|
76
|
+
provider: 'Juno'
|
77
|
+
},
|
78
|
+
{
|
79
|
+
address: 'https://juno-testnet-api.polkachu.com',
|
80
|
+
provider: 'Polkachu'
|
81
|
+
}
|
82
|
+
],
|
83
|
+
grpc: [
|
84
|
+
{
|
85
|
+
address: 'juno-testnet-grpc.polkachu.com:12690',
|
86
|
+
provider: 'Polkachu'
|
87
|
+
}
|
88
|
+
]
|
89
|
+
},
|
90
|
+
explorers: [
|
91
|
+
{
|
92
|
+
kind: 'Mintscan',
|
93
|
+
url: 'https://testnet.mintscan.io/juno-testnet',
|
94
|
+
tx_page: 'https://testnet.mintscan.io/juno-testnet/txs/${txHash}'
|
95
|
+
},
|
96
|
+
{
|
97
|
+
kind: 'NodesGuru',
|
98
|
+
url: 'https://testnet.juno.explorers.guru/',
|
99
|
+
tx_page: 'https://testnet.juno.explorers.guru/transaction/${txHash}'
|
100
|
+
}
|
101
|
+
]
|
102
|
+
};
|
103
|
+
export default testnet;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { AssetList } from '@chain-registry/types';
|
2
|
+
const testnet_assets: AssetList = {
|
3
|
+
$schema: '../../assetlist.schema.json',
|
4
|
+
chain_name: 'junotestnet',
|
5
|
+
assets: [
|
6
|
+
{
|
7
|
+
description: 'The native token of JUNO Chain',
|
8
|
+
denom_units: [
|
9
|
+
{
|
10
|
+
denom: 'ujunox',
|
11
|
+
exponent: 0
|
12
|
+
},
|
13
|
+
{
|
14
|
+
denom: 'junox',
|
15
|
+
exponent: 6
|
16
|
+
}
|
17
|
+
],
|
18
|
+
base: 'ujunox',
|
19
|
+
name: 'Juno Testnet',
|
20
|
+
display: 'junox',
|
21
|
+
symbol: 'JUNO',
|
22
|
+
logo_URIs: {
|
23
|
+
png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/junotestnet/images/juno.png',
|
24
|
+
svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/junotestnet/images/juno.svg'
|
25
|
+
},
|
26
|
+
coingecko_id: 'juno-network'
|
27
|
+
}
|
28
|
+
]
|
29
|
+
};
|
30
|
+
export default testnet_assets;
|