@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/main/chain.js
CHANGED
@@ -12,25 +12,42 @@ var chain = {
|
|
12
12
|
pretty_name: 'Juno',
|
13
13
|
chain_id: 'juno-1',
|
14
14
|
bech32_prefix: 'juno',
|
15
|
-
|
15
|
+
daemon_name: 'junod',
|
16
|
+
node_home: '$HOME/.juno',
|
16
17
|
genesis: {
|
17
18
|
genesis_url: 'https://raw.githubusercontent.com/CosmosContracts/mainnet/main/juno-1/genesis.json'
|
18
19
|
},
|
20
|
+
key_algos: ['secp256k1'],
|
21
|
+
slip44: 118,
|
22
|
+
fees: {
|
23
|
+
fee_tokens: [{
|
24
|
+
denom: 'ujuno',
|
25
|
+
low_gas_price: 0.03,
|
26
|
+
average_gas_price: 0.04,
|
27
|
+
high_gas_price: 0.05
|
28
|
+
}]
|
29
|
+
},
|
30
|
+
staking: {
|
31
|
+
staking_tokens: [{
|
32
|
+
denom: 'ujuno'
|
33
|
+
}]
|
34
|
+
},
|
19
35
|
codebase: {
|
20
36
|
git_repo: 'https://github.com/CosmosContracts/juno',
|
21
37
|
recommended_version: 'v9.0.0',
|
22
|
-
compatible_versions: ['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
|
23
43
|
},
|
24
|
-
daemon_name: 'junod',
|
25
|
-
node_home: '$HOME/.juno',
|
26
|
-
key_algos: ['secp256k1'],
|
27
44
|
peers: {
|
28
45
|
seeds: [{
|
29
46
|
id: '2484353dab0b2c1275765b8ffa2c50b3b36158ca',
|
30
47
|
address: 'seed-node.junochain.com:26656'
|
31
48
|
}, {
|
32
|
-
id: '
|
33
|
-
address: 'juno-seed.blockpane.com:26656'
|
49
|
+
id: '90b09362d9ce3845096c4938eea0dba682b0ad2c',
|
50
|
+
address: 'juno-seed-new.blockpane.com:26656'
|
34
51
|
}, {
|
35
52
|
id: '22ee6e65e5e79cd0b970dd11e52761de8d1d6dfd',
|
36
53
|
address: 'seeds.pupmos.network:2001',
|
package/main/index.js
CHANGED
@@ -24,6 +24,18 @@ Object.defineProperty(exports, "chain", {
|
|
24
24
|
}
|
25
25
|
});
|
26
26
|
exports["default"] = void 0;
|
27
|
+
Object.defineProperty(exports, "testnet", {
|
28
|
+
enumerable: true,
|
29
|
+
get: function get() {
|
30
|
+
return _testnet["default"];
|
31
|
+
}
|
32
|
+
});
|
33
|
+
Object.defineProperty(exports, "testnet_assets", {
|
34
|
+
enumerable: true,
|
35
|
+
get: function get() {
|
36
|
+
return _testnet_assets["default"];
|
37
|
+
}
|
38
|
+
});
|
27
39
|
|
28
40
|
var _asset_list = _interopRequireDefault(require("./asset_list"));
|
29
41
|
|
@@ -31,9 +43,15 @@ var _assets = _interopRequireDefault(require("./assets"));
|
|
31
43
|
|
32
44
|
var _chain = _interopRequireDefault(require("./chain"));
|
33
45
|
|
46
|
+
var _testnet = _interopRequireDefault(require("./testnet"));
|
47
|
+
|
48
|
+
var _testnet_assets = _interopRequireDefault(require("./testnet_assets"));
|
49
|
+
|
34
50
|
var _default = {
|
35
51
|
chain: _chain["default"],
|
36
52
|
assets: _assets["default"],
|
37
|
-
asset_list: _asset_list["default"]
|
53
|
+
asset_list: _asset_list["default"],
|
54
|
+
testnet: _testnet["default"],
|
55
|
+
testnet_assets: _testnet_assets["default"]
|
38
56
|
};
|
39
57
|
exports["default"] = _default;
|
package/main/testnet.js
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports["default"] = void 0;
|
7
|
+
var testnet = {
|
8
|
+
$schema: '../../chain.schema.json',
|
9
|
+
chain_name: 'junotestnet',
|
10
|
+
status: 'live',
|
11
|
+
network_type: 'testnet',
|
12
|
+
pretty_name: 'Juno Testnet',
|
13
|
+
chain_id: 'uni-3',
|
14
|
+
bech32_prefix: 'juno',
|
15
|
+
daemon_name: 'junod',
|
16
|
+
node_home: '$HOME/.juno',
|
17
|
+
genesis: {
|
18
|
+
genesis_url: 'https://raw.githubusercontent.com/CosmosContracts/testnets/main/uni-3/genesis.json'
|
19
|
+
},
|
20
|
+
key_algos: ['secp256k1'],
|
21
|
+
slip44: 118,
|
22
|
+
fees: {
|
23
|
+
fee_tokens: [{
|
24
|
+
denom: 'ujunox',
|
25
|
+
low_gas_price: 0.03,
|
26
|
+
average_gas_price: 0.04,
|
27
|
+
high_gas_price: 0.05
|
28
|
+
}]
|
29
|
+
},
|
30
|
+
staking: {
|
31
|
+
staking_tokens: [{
|
32
|
+
denom: 'ujunox'
|
33
|
+
}]
|
34
|
+
},
|
35
|
+
codebase: {
|
36
|
+
git_repo: 'https://github.com/CosmosContracts/juno',
|
37
|
+
recommended_version: 'v7.0.0-beta.2',
|
38
|
+
compatible_versions: ['v7.0.0-beta.2'],
|
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
|
+
id: 'ed90921d43ede634043d152d7a87e8881fb85e90',
|
48
|
+
address: '65.108.77.106:26709',
|
49
|
+
provider: 'EZStaking.io'
|
50
|
+
}]
|
51
|
+
},
|
52
|
+
apis: {
|
53
|
+
rpc: [{
|
54
|
+
address: 'https://rpc.uni.junomint.com',
|
55
|
+
provider: 'EZStaking.io'
|
56
|
+
}, {
|
57
|
+
address: 'https://rpc.uni.junonetwork.io',
|
58
|
+
provider: 'Juno'
|
59
|
+
}],
|
60
|
+
rest: [{
|
61
|
+
address: 'https://lcd.uni.junomint.com',
|
62
|
+
provider: 'EZStaking.io'
|
63
|
+
}, {
|
64
|
+
address: 'https://api.uni.junonetwork.io',
|
65
|
+
provider: 'Juno'
|
66
|
+
}],
|
67
|
+
grpc: []
|
68
|
+
},
|
69
|
+
explorers: [{
|
70
|
+
kind: 'Mintscan',
|
71
|
+
url: 'https://testnet.mintscan.io/juno-testnet',
|
72
|
+
tx_page: 'https://testnet.mintscan.io/juno-testnet/txs/${txHash}'
|
73
|
+
}]
|
74
|
+
};
|
75
|
+
var _default = testnet;
|
76
|
+
exports["default"] = _default;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports["default"] = void 0;
|
7
|
+
var testnet_assets = {
|
8
|
+
$schema: '../../assetlist.schema.json',
|
9
|
+
chain_name: 'junotestnet',
|
10
|
+
assets: [{
|
11
|
+
description: 'The native token of JUNO Chain',
|
12
|
+
denom_units: [{
|
13
|
+
denom: 'ujunox',
|
14
|
+
exponent: 0
|
15
|
+
}, {
|
16
|
+
denom: 'junox',
|
17
|
+
exponent: 6
|
18
|
+
}],
|
19
|
+
base: 'ujunox',
|
20
|
+
name: 'Juno Testnet',
|
21
|
+
display: 'junox',
|
22
|
+
symbol: 'JUNO',
|
23
|
+
logo_URIs: {
|
24
|
+
png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/junotestnet/images/juno.png',
|
25
|
+
svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/junotestnet/images/juno.svg'
|
26
|
+
},
|
27
|
+
coingecko_id: 'juno-network'
|
28
|
+
}]
|
29
|
+
};
|
30
|
+
var _default = testnet_assets;
|
31
|
+
exports["default"] = _default;
|