@juno-network/assets 0.6.0 → 0.7.1
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/README.md +2 -2
- package/main/asset_list.js +73 -73
- package/main/assets.js +10 -10
- package/main/chain.js +24 -7
- package/main/index.js +19 -1
- package/main/testnet.js +76 -0
- package/main/testnet_assets.js +31 -0
- package/module/asset_list.js +73 -73
- package/module/assets.js +10 -10
- package/module/chain.js +24 -7
- package/module/index.js +6 -2
- package/module/testnet.js +69 -0
- package/module/testnet_assets.js +24 -0
- package/package.json +4 -4
- 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/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',
|
package/module/index.js
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
import asset_list from './asset_list';
|
2
2
|
import assets from './assets';
|
3
3
|
import chain from './chain';
|
4
|
+
import testnet from './testnet';
|
5
|
+
import testnet_assets from './testnet_assets';
|
4
6
|
export default {
|
5
7
|
chain,
|
6
8
|
assets,
|
7
|
-
asset_list
|
9
|
+
asset_list,
|
10
|
+
testnet,
|
11
|
+
testnet_assets
|
8
12
|
};
|
9
|
-
export { asset_list, 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": "@juno-network/assets",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.7.1",
|
4
4
|
"description": "Chain Registry info for Juno",
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
6
6
|
"homepage": "https://github.com/CosmosContracts/typescript",
|
@@ -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",
|
@@ -79,5 +79,5 @@
|
|
79
79
|
"@babel/runtime": "^7.18.3",
|
80
80
|
"@chain-registry/types": "0.5.0"
|
81
81
|
},
|
82
|
-
"gitHead": "
|
82
|
+
"gitHead": "7ad06d49c8f490f1eb41bf0da4f3590dbb0ffef2"
|
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
|
-
chain: Chain;
|
6
|
-
assets: AssetList;
|
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 };
|