@chain-registry/juno 0.5.2 → 0.7.0
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/CHANGELOG.md +24 -0
- package/README.md +2 -2
- package/{module/ibc_assets.js → main/asset_list.js} +238 -153
- package/main/assets.js +10 -10
- package/main/chain.js +25 -8
- package/main/index.js +22 -4
- package/main/testnet.js +76 -0
- package/main/testnet_assets.js +31 -0
- package/{main/ibc_assets.js → module/asset_list.js} +231 -160
- package/module/assets.js +10 -10
- package/module/chain.js +25 -8
- package/module/index.js +7 -3
- package/module/testnet.js +69 -0
- package/module/testnet_assets.js +24 -0
- package/package.json +5 -5
- package/types/asset_list.d.ts +3 -0
- package/types/index.d.ts +9 -5
- package/types/testnet.d.ts +3 -0
- package/types/testnet_assets.d.ts +3 -0
- package/types/ibc_assets.d.ts +0 -3
package/module/assets.js
CHANGED
|
@@ -268,21 +268,21 @@ const assets = {
|
|
|
268
268
|
}, {
|
|
269
269
|
description: 'The native token cw20 for BlackHole on Juno Chain',
|
|
270
270
|
type_asset: 'cw20',
|
|
271
|
-
address: '
|
|
271
|
+
address: 'juno1t46z6hg8vvsena7sue0vg6w85ljar3cundplkre9sz0skeqkap9sxyyy6m',
|
|
272
272
|
denom_units: [{
|
|
273
|
-
denom: 'cw20:
|
|
273
|
+
denom: 'cw20:juno1t46z6hg8vvsena7sue0vg6w85ljar3cundplkre9sz0skeqkap9sxyyy6m',
|
|
274
274
|
exponent: 0
|
|
275
275
|
}, {
|
|
276
|
-
denom: '
|
|
277
|
-
exponent:
|
|
276
|
+
denom: 'hole',
|
|
277
|
+
exponent: 6
|
|
278
278
|
}],
|
|
279
|
-
base: 'cw20:
|
|
280
|
-
name: '
|
|
281
|
-
display: '
|
|
282
|
-
symbol: '
|
|
279
|
+
base: 'cw20:juno1t46z6hg8vvsena7sue0vg6w85ljar3cundplkre9sz0skeqkap9sxyyy6m',
|
|
280
|
+
name: 'BlackHole',
|
|
281
|
+
display: 'hole',
|
|
282
|
+
symbol: 'HOLE',
|
|
283
283
|
logo_URIs: {
|
|
284
|
-
png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/
|
|
285
|
-
svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/
|
|
284
|
+
png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/hole.png',
|
|
285
|
+
svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/hole.svg'
|
|
286
286
|
}
|
|
287
287
|
}, {
|
|
288
288
|
description: 'The native token cw20 for Neta on Juno Chain',
|
package/module/chain.js
CHANGED
|
@@ -6,25 +6,42 @@ const chain = {
|
|
|
6
6
|
pretty_name: 'Juno',
|
|
7
7
|
chain_id: 'juno-1',
|
|
8
8
|
bech32_prefix: 'juno',
|
|
9
|
-
|
|
9
|
+
daemon_name: 'junod',
|
|
10
|
+
node_home: '$HOME/.juno',
|
|
10
11
|
genesis: {
|
|
11
12
|
genesis_url: 'https://raw.githubusercontent.com/CosmosContracts/mainnet/main/juno-1/genesis.json'
|
|
12
13
|
},
|
|
14
|
+
key_algos: ['secp256k1'],
|
|
15
|
+
slip44: 118,
|
|
16
|
+
fees: {
|
|
17
|
+
fee_tokens: [{
|
|
18
|
+
denom: 'ujuno',
|
|
19
|
+
low_gas_price: 0.03,
|
|
20
|
+
average_gas_price: 0.04,
|
|
21
|
+
high_gas_price: 0.05
|
|
22
|
+
}]
|
|
23
|
+
},
|
|
24
|
+
staking: {
|
|
25
|
+
staking_tokens: [{
|
|
26
|
+
denom: 'ujuno'
|
|
27
|
+
}]
|
|
28
|
+
},
|
|
13
29
|
codebase: {
|
|
14
30
|
git_repo: 'https://github.com/CosmosContracts/juno',
|
|
15
31
|
recommended_version: 'v9.0.0',
|
|
16
|
-
compatible_versions: ['v9.0.0']
|
|
32
|
+
compatible_versions: ['v9.0.0'],
|
|
33
|
+
cosmos_sdk_version: '0.45',
|
|
34
|
+
tendermint_version: '0.34',
|
|
35
|
+
cosmwasm_version: '0.27',
|
|
36
|
+
cosmwasm_enabled: true
|
|
17
37
|
},
|
|
18
|
-
daemon_name: 'junod',
|
|
19
|
-
node_home: '$HOME/.juno',
|
|
20
|
-
key_algos: ['secp256k1'],
|
|
21
38
|
peers: {
|
|
22
39
|
seeds: [{
|
|
23
40
|
id: '2484353dab0b2c1275765b8ffa2c50b3b36158ca',
|
|
24
41
|
address: 'seed-node.junochain.com:26656'
|
|
25
42
|
}, {
|
|
26
|
-
id: '
|
|
27
|
-
address: 'juno-seed.blockpane.com:26656'
|
|
43
|
+
id: '90b09362d9ce3845096c4938eea0dba682b0ad2c',
|
|
44
|
+
address: 'juno-seed-new.blockpane.com:26656'
|
|
28
45
|
}, {
|
|
29
46
|
id: '22ee6e65e5e79cd0b970dd11e52761de8d1d6dfd',
|
|
30
47
|
address: 'seeds.pupmos.network:2001',
|
|
@@ -123,7 +140,7 @@ const chain = {
|
|
|
123
140
|
}, {
|
|
124
141
|
kind: 'mintscan',
|
|
125
142
|
url: 'https://www.mintscan.io/juno',
|
|
126
|
-
tx_page: 'https://www.mintscan.io/juno/txs
|
|
143
|
+
tx_page: 'https://www.mintscan.io/juno/txs/${txHash}'
|
|
127
144
|
}, {
|
|
128
145
|
kind: 'atomscan',
|
|
129
146
|
url: 'https://atomscan.com/juno',
|
package/module/index.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import asset_list from './asset_list';
|
|
1
2
|
import assets from './assets';
|
|
2
3
|
import chain from './chain';
|
|
3
|
-
import
|
|
4
|
+
import testnet from './testnet';
|
|
5
|
+
import testnet_assets from './testnet_assets';
|
|
4
6
|
export default {
|
|
5
7
|
chain,
|
|
6
8
|
assets,
|
|
7
|
-
|
|
9
|
+
asset_list,
|
|
10
|
+
testnet,
|
|
11
|
+
testnet_assets
|
|
8
12
|
};
|
|
9
|
-
export { assets, chain,
|
|
13
|
+
export { asset_list, assets, chain, testnet, testnet_assets };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
const testnet = {
|
|
2
|
+
$schema: '../../chain.schema.json',
|
|
3
|
+
chain_name: 'junotestnet',
|
|
4
|
+
status: 'live',
|
|
5
|
+
network_type: 'testnet',
|
|
6
|
+
pretty_name: 'Juno Testnet',
|
|
7
|
+
chain_id: 'uni-3',
|
|
8
|
+
bech32_prefix: 'juno',
|
|
9
|
+
daemon_name: 'junod',
|
|
10
|
+
node_home: '$HOME/.juno',
|
|
11
|
+
genesis: {
|
|
12
|
+
genesis_url: 'https://raw.githubusercontent.com/CosmosContracts/testnets/main/uni-3/genesis.json'
|
|
13
|
+
},
|
|
14
|
+
key_algos: ['secp256k1'],
|
|
15
|
+
slip44: 118,
|
|
16
|
+
fees: {
|
|
17
|
+
fee_tokens: [{
|
|
18
|
+
denom: 'ujunox',
|
|
19
|
+
low_gas_price: 0.03,
|
|
20
|
+
average_gas_price: 0.04,
|
|
21
|
+
high_gas_price: 0.05
|
|
22
|
+
}]
|
|
23
|
+
},
|
|
24
|
+
staking: {
|
|
25
|
+
staking_tokens: [{
|
|
26
|
+
denom: 'ujunox'
|
|
27
|
+
}]
|
|
28
|
+
},
|
|
29
|
+
codebase: {
|
|
30
|
+
git_repo: 'https://github.com/CosmosContracts/juno',
|
|
31
|
+
recommended_version: 'v7.0.0-beta.2',
|
|
32
|
+
compatible_versions: ['v7.0.0-beta.2'],
|
|
33
|
+
cosmos_sdk_version: '0.45',
|
|
34
|
+
tendermint_version: '0.34',
|
|
35
|
+
cosmwasm_version: '0.27',
|
|
36
|
+
cosmwasm_enabled: true
|
|
37
|
+
},
|
|
38
|
+
peers: {
|
|
39
|
+
seeds: [],
|
|
40
|
+
persistent_peers: [{
|
|
41
|
+
id: 'ed90921d43ede634043d152d7a87e8881fb85e90',
|
|
42
|
+
address: '65.108.77.106:26709',
|
|
43
|
+
provider: 'EZStaking.io'
|
|
44
|
+
}]
|
|
45
|
+
},
|
|
46
|
+
apis: {
|
|
47
|
+
rpc: [{
|
|
48
|
+
address: 'https://rpc.uni.junomint.com',
|
|
49
|
+
provider: 'EZStaking.io'
|
|
50
|
+
}, {
|
|
51
|
+
address: 'https://rpc.uni.junonetwork.io',
|
|
52
|
+
provider: 'Juno'
|
|
53
|
+
}],
|
|
54
|
+
rest: [{
|
|
55
|
+
address: 'https://lcd.uni.junomint.com',
|
|
56
|
+
provider: 'EZStaking.io'
|
|
57
|
+
}, {
|
|
58
|
+
address: 'https://api.uni.junonetwork.io',
|
|
59
|
+
provider: 'Juno'
|
|
60
|
+
}],
|
|
61
|
+
grpc: []
|
|
62
|
+
},
|
|
63
|
+
explorers: [{
|
|
64
|
+
kind: 'Mintscan',
|
|
65
|
+
url: 'https://testnet.mintscan.io/juno-testnet',
|
|
66
|
+
tx_page: 'https://testnet.mintscan.io/juno-testnet/txs/${txHash}'
|
|
67
|
+
}]
|
|
68
|
+
};
|
|
69
|
+
export default testnet;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const testnet_assets = {
|
|
2
|
+
$schema: '../../assetlist.schema.json',
|
|
3
|
+
chain_name: 'junotestnet',
|
|
4
|
+
assets: [{
|
|
5
|
+
description: 'The native token of JUNO Chain',
|
|
6
|
+
denom_units: [{
|
|
7
|
+
denom: 'ujunox',
|
|
8
|
+
exponent: 0
|
|
9
|
+
}, {
|
|
10
|
+
denom: 'junox',
|
|
11
|
+
exponent: 6
|
|
12
|
+
}],
|
|
13
|
+
base: 'ujunox',
|
|
14
|
+
name: 'Juno Testnet',
|
|
15
|
+
display: 'junox',
|
|
16
|
+
symbol: 'JUNO',
|
|
17
|
+
logo_URIs: {
|
|
18
|
+
png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/junotestnet/images/juno.png',
|
|
19
|
+
svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/junotestnet/images/juno.svg'
|
|
20
|
+
},
|
|
21
|
+
coingecko_id: 'juno-network'
|
|
22
|
+
}]
|
|
23
|
+
};
|
|
24
|
+
export default testnet_assets;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chain-registry/juno",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Chain Registry info for Juno",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/cosmology-tech/chain-registry",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"@babel/plugin-transform-runtime": "7.18.5",
|
|
55
55
|
"@babel/preset-env": "7.18.2",
|
|
56
56
|
"@babel/preset-typescript": "^7.17.12",
|
|
57
|
-
"@chain-registry/utils": "^0.
|
|
57
|
+
"@chain-registry/utils": "^0.5.0",
|
|
58
58
|
"@types/jest": "^28.1.1",
|
|
59
59
|
"@typescript-eslint/eslint-plugin": "5.31.0",
|
|
60
60
|
"@typescript-eslint/parser": "5.31.0",
|
|
61
61
|
"babel-core": "7.0.0-bridge.0",
|
|
62
62
|
"babel-jest": "28.1.1",
|
|
63
63
|
"babel-watch": "^7.0.0",
|
|
64
|
-
"chain-registry": "^0.
|
|
64
|
+
"chain-registry": "^0.8.0",
|
|
65
65
|
"cross-env": "^7.0.2",
|
|
66
66
|
"eslint": "8.20.0",
|
|
67
67
|
"eslint-config-prettier": "^8.5.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
79
|
"@babel/runtime": "^7.18.3",
|
|
80
|
-
"@chain-registry/types": "^0.
|
|
80
|
+
"@chain-registry/types": "^0.6.0"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "0de5c572ae3b501b60883e50e09779439a7504d6"
|
|
83
83
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
import asset_list from './asset_list';
|
|
1
2
|
import assets from './assets';
|
|
2
3
|
import chain from './chain';
|
|
3
|
-
import
|
|
4
|
+
import testnet from './testnet';
|
|
5
|
+
import testnet_assets from './testnet_assets';
|
|
4
6
|
declare const _default: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
chain: import("@chain-registry/types").Chain;
|
|
8
|
+
assets: import("@chain-registry/types").AssetList;
|
|
9
|
+
asset_list: import("@chain-registry/types").AssetList;
|
|
10
|
+
testnet: import("@chain-registry/types").Chain;
|
|
11
|
+
testnet_assets: import("@chain-registry/types").AssetList;
|
|
8
12
|
};
|
|
9
13
|
export default _default;
|
|
10
|
-
export { assets, chain,
|
|
14
|
+
export { asset_list, assets, chain, testnet, testnet_assets };
|
package/types/ibc_assets.d.ts
DELETED