@juno-network/assets 0.5.6 → 0.6.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/README.md +33 -1
- package/main/asset_list.js +2258 -0
- package/main/assets.js +249 -228
- package/main/chain.js +98 -97
- package/main/index.js +9 -9
- package/module/asset_list.js +2251 -0
- package/module/assets.js +250 -229
- package/module/chain.js +99 -98
- package/module/index.js +3 -3
- package/package.json +8 -6
- package/types/assets.d.ts +3 -28
- package/types/chain.d.ts +3 -61
- package/types/index.d.ts +5 -6
- package/main/ibc_assets.js +0 -2179
- package/module/ibc_assets.js +0 -2172
- package/types/ibc_assets.d.ts +0 -31
package/module/chain.js
CHANGED
|
@@ -1,132 +1,133 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
const chain = {
|
|
2
|
+
$schema: '../chain.schema.json',
|
|
3
|
+
chain_name: 'juno',
|
|
4
|
+
status: 'live',
|
|
5
|
+
network_type: 'mainnet',
|
|
6
|
+
pretty_name: 'Juno',
|
|
7
|
+
chain_id: 'juno-1',
|
|
8
|
+
bech32_prefix: 'juno',
|
|
9
|
+
slip44: 118,
|
|
10
|
+
genesis: {
|
|
11
|
+
genesis_url: 'https://raw.githubusercontent.com/CosmosContracts/mainnet/main/juno-1/genesis.json'
|
|
12
12
|
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
codebase: {
|
|
14
|
+
git_repo: 'https://github.com/CosmosContracts/juno',
|
|
15
|
+
recommended_version: 'v9.0.0',
|
|
16
|
+
compatible_versions: ['v9.0.0']
|
|
17
17
|
},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}, {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}, {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
18
|
+
daemon_name: 'junod',
|
|
19
|
+
node_home: '$HOME/.juno',
|
|
20
|
+
key_algos: ['secp256k1'],
|
|
21
|
+
peers: {
|
|
22
|
+
seeds: [{
|
|
23
|
+
id: '2484353dab0b2c1275765b8ffa2c50b3b36158ca',
|
|
24
|
+
address: 'seed-node.junochain.com:26656'
|
|
25
|
+
}, {
|
|
26
|
+
id: 'ef2315d81caa27e4b0fd0f267d301569ee958893',
|
|
27
|
+
address: 'juno-seed.blockpane.com:26656'
|
|
28
|
+
}, {
|
|
29
|
+
id: '22ee6e65e5e79cd0b970dd11e52761de8d1d6dfd',
|
|
30
|
+
address: 'seeds.pupmos.network:2001',
|
|
31
|
+
provider: 'PUPMØS'
|
|
32
32
|
}],
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
persistent_peers: [{
|
|
34
|
+
id: 'b1f46f1a1955fc773d3b73180179b0e0a07adce1',
|
|
35
|
+
address: '162.55.244.250:39656'
|
|
36
36
|
}, {
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
id: '7f593757c0cde8972ce929381d8ac8e446837811',
|
|
38
|
+
address: '178.18.255.244:26656'
|
|
39
39
|
}, {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
id: '7b22dfc605989d66b89d2dfe118d799ea5abc2f0',
|
|
41
|
+
address: '167.99.210.65:26656'
|
|
42
42
|
}, {
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
id: '4bd9cac019775047d27f9b9cea66b25270ab497d',
|
|
44
|
+
address: '137.184.7.164:26656'
|
|
45
45
|
}, {
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
id: 'bd822a8057902fbc80fd9135e335f0dfefa32342',
|
|
47
|
+
address: '65.21.202.159:38656'
|
|
48
48
|
}, {
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
id: '15827c6c13f919e4d9c11bcca23dff4e3e79b1b8',
|
|
50
|
+
address: '51.38.52.210:38656'
|
|
51
51
|
}, {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
id: 'e665df28999b2b7b40cff2fe4030682c380bf294',
|
|
53
|
+
address: '188.40.106.109:38656'
|
|
54
54
|
}, {
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
id: '92804ce50c85ff4c7cf149d347dd880fc3735bf4',
|
|
56
|
+
address: '34.94.231.154:26656'
|
|
57
57
|
}, {
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
id: '795ed214b8354e8468f46d1bbbf6e128a88fe3bd',
|
|
59
|
+
address: '34.127.19.222:26656'
|
|
60
60
|
}, {
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
id: 'ea9c1ac0e91639b2c7957d9604655e2263abe4e1',
|
|
62
|
+
address: '185.181.103.136:26656'
|
|
63
63
|
}]
|
|
64
64
|
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
apis: {
|
|
66
|
+
rpc: [{
|
|
67
|
+
address: 'https://rpc-juno.whispernode.com',
|
|
68
|
+
provider: ' WhisperNode 🤐'
|
|
69
69
|
}, {
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
address: 'https://rpc-juno.itastakers.com',
|
|
71
|
+
provider: 'itastakers'
|
|
72
72
|
}, {
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
address: 'https://rpc-juno.ecostake.com',
|
|
74
|
+
provider: 'ecostake'
|
|
75
75
|
}, {
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
address: 'https://juno-rpc.polkachu.com',
|
|
77
|
+
provider: 'Polkachu'
|
|
78
78
|
}, {
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
address: 'https://rpc.juno.pupmos.network',
|
|
80
|
+
provider: 'PUPMØS'
|
|
81
81
|
}, {
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
address: 'https://rpc.junomint.com',
|
|
83
|
+
provider: 'EZStaking.io'
|
|
84
84
|
}, {
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
address: 'https://rpc-juno-ia.notional.ventures/',
|
|
86
|
+
provider: 'Notional'
|
|
87
87
|
}],
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
rest: [{
|
|
89
|
+
address: 'https://lcd-juno.whispernode.com',
|
|
90
|
+
provider: ' WhisperNode 🤐'
|
|
91
91
|
}, {
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
address: 'https://lcd-juno.itastakers.com',
|
|
93
|
+
provider: 'itastakers'
|
|
94
94
|
}, {
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
address: 'https://rest-juno.ecostake.com',
|
|
96
|
+
provider: 'ecostake'
|
|
97
97
|
}, {
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
address: 'https://api.juno.pupmos.network',
|
|
99
|
+
provider: 'PUPMØS'
|
|
100
100
|
}, {
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
address: 'https://lcd.junomint.com',
|
|
102
|
+
provider: 'EZStaking.io'
|
|
103
103
|
}, {
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
address: 'https://api-juno-ia.notional.ventures/',
|
|
105
|
+
provider: 'Notional'
|
|
106
106
|
}],
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
grpc: [{
|
|
108
|
+
address: '35.243.205.230:9090',
|
|
109
|
+
provider: 'strangelove'
|
|
110
110
|
}, {
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
address: 'grpc-juno-ia.notional.ventures:443',
|
|
112
|
+
provider: 'Notional'
|
|
113
113
|
}]
|
|
114
114
|
},
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
explorers: [{
|
|
116
|
+
kind: 'ping.pub',
|
|
117
|
+
url: 'https://ping.pub/juno',
|
|
118
|
+
tx_page: 'https://ping.pub/juno/tx/${txHash}'
|
|
119
119
|
}, {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
120
|
+
kind: 'explorers.guru',
|
|
121
|
+
url: 'https://juno.explorers.guru',
|
|
122
|
+
tx_page: 'https://juno.explorers.guru/transaction/${txHash}'
|
|
123
123
|
}, {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
kind: 'mintscan',
|
|
125
|
+
url: 'https://www.mintscan.io/juno',
|
|
126
|
+
tx_page: 'https://www.mintscan.io/juno/txs/${txHash}'
|
|
127
127
|
}, {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
128
|
+
kind: 'atomscan',
|
|
129
|
+
url: 'https://atomscan.com/juno',
|
|
130
|
+
tx_page: 'https://atomscan.com/juno/transactions/${txHash}'
|
|
131
131
|
}]
|
|
132
|
-
};
|
|
132
|
+
};
|
|
133
|
+
export default chain;
|
package/module/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import asset_list from './asset_list';
|
|
1
2
|
import assets from './assets';
|
|
2
3
|
import chain from './chain';
|
|
3
|
-
import ibc_assets from './ibc_assets';
|
|
4
4
|
export default {
|
|
5
5
|
chain,
|
|
6
6
|
assets,
|
|
7
|
-
|
|
7
|
+
asset_list
|
|
8
8
|
};
|
|
9
|
-
export { assets, chain
|
|
9
|
+
export { asset_list, assets, chain };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juno-network/assets",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Chain Registry info for Juno",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/CosmosContracts/typescript",
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"build": "npm run build:module && npm run build:main",
|
|
24
24
|
"build:ts": "tsc --project ./tsconfig.json",
|
|
25
25
|
"buidl": "npm run build && npm run build:ts",
|
|
26
|
-
"
|
|
26
|
+
"build:pkg": "babel-node ./scripts/build.js",
|
|
27
|
+
"codegen": "npm run build:pkg && npm run format",
|
|
27
28
|
"prepare": "npm run build",
|
|
28
29
|
"lint": "eslint --ext .ts,.tsx,.js .",
|
|
29
30
|
"format": "eslint --fix . --ext .ts,.tsx,.js",
|
|
@@ -53,14 +54,14 @@
|
|
|
53
54
|
"@babel/plugin-transform-runtime": "7.18.5",
|
|
54
55
|
"@babel/preset-env": "7.18.2",
|
|
55
56
|
"@babel/preset-typescript": "^7.17.12",
|
|
56
|
-
"@chain-registry/utils": "^0.
|
|
57
|
+
"@chain-registry/utils": "^0.4.0",
|
|
57
58
|
"@types/jest": "^28.1.1",
|
|
58
59
|
"@typescript-eslint/eslint-plugin": "5.31.0",
|
|
59
60
|
"@typescript-eslint/parser": "5.31.0",
|
|
60
61
|
"babel-core": "7.0.0-bridge.0",
|
|
61
62
|
"babel-jest": "28.1.1",
|
|
62
63
|
"babel-watch": "^7.0.0",
|
|
63
|
-
"chain-registry": "^0.
|
|
64
|
+
"chain-registry": "^0.7.0",
|
|
64
65
|
"cross-env": "^7.0.2",
|
|
65
66
|
"eslint": "8.20.0",
|
|
66
67
|
"eslint-config-prettier": "^8.5.0",
|
|
@@ -75,7 +76,8 @@
|
|
|
75
76
|
"typescript": "^4.7.3"
|
|
76
77
|
},
|
|
77
78
|
"dependencies": {
|
|
78
|
-
"@babel/runtime": "^7.18.3"
|
|
79
|
+
"@babel/runtime": "^7.18.3",
|
|
80
|
+
"@chain-registry/types": "0.5.0"
|
|
79
81
|
},
|
|
80
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "f4d4ed3345ca678cc756e28ffa8a1947496b3e08"
|
|
81
83
|
}
|
package/types/assets.d.ts
CHANGED
|
@@ -1,28 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
assets: {
|
|
5
|
-
description: string;
|
|
6
|
-
denom_units: (
|
|
7
|
-
| {
|
|
8
|
-
denom: string;
|
|
9
|
-
exponent: number;
|
|
10
|
-
}
|
|
11
|
-
| {
|
|
12
|
-
denom: string;
|
|
13
|
-
exponent: number;
|
|
14
|
-
aliases: string[];
|
|
15
|
-
}
|
|
16
|
-
)[];
|
|
17
|
-
base: string;
|
|
18
|
-
name: string;
|
|
19
|
-
display: string;
|
|
20
|
-
symbol: string;
|
|
21
|
-
logo_URIs: {
|
|
22
|
-
svg: string;
|
|
23
|
-
png: string;
|
|
24
|
-
};
|
|
25
|
-
coingecko_id: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export = _exports;
|
|
1
|
+
import { AssetList } from '@chain-registry/types';
|
|
2
|
+
declare const assets: AssetList;
|
|
3
|
+
export default assets;
|
package/types/chain.d.ts
CHANGED
|
@@ -1,61 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
status: string;
|
|
5
|
-
network_type: string;
|
|
6
|
-
pretty_name: string;
|
|
7
|
-
chain_id: string;
|
|
8
|
-
bech32_prefix: string;
|
|
9
|
-
daemon_name: string;
|
|
10
|
-
node_home: string;
|
|
11
|
-
genesis: {
|
|
12
|
-
genesis_url: string;
|
|
13
|
-
};
|
|
14
|
-
slip44: number;
|
|
15
|
-
fees?: {
|
|
16
|
-
fee_tokens: {
|
|
17
|
-
denom: string;
|
|
18
|
-
fixed_min_gas_price?: number;
|
|
19
|
-
low_gas_price?: number;
|
|
20
|
-
average_gas_price?: number;
|
|
21
|
-
high_gas_price?: number;
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
24
|
-
staking?: {
|
|
25
|
-
staking_tokens: {
|
|
26
|
-
denom: string;
|
|
27
|
-
}[];
|
|
28
|
-
};
|
|
29
|
-
explorers: {
|
|
30
|
-
kind: string;
|
|
31
|
-
url: string;
|
|
32
|
-
tx_page: string;
|
|
33
|
-
}[];
|
|
34
|
-
codebase: {
|
|
35
|
-
git_repo: string;
|
|
36
|
-
recommended_version: string;
|
|
37
|
-
compatible_versions: string[];
|
|
38
|
-
};
|
|
39
|
-
peers: {
|
|
40
|
-
seeds: any[];
|
|
41
|
-
persistent_peers: {
|
|
42
|
-
id: string;
|
|
43
|
-
address: string;
|
|
44
|
-
}[];
|
|
45
|
-
};
|
|
46
|
-
apis: {
|
|
47
|
-
rpc: {
|
|
48
|
-
address: string;
|
|
49
|
-
provider?: string;
|
|
50
|
-
}[];
|
|
51
|
-
rest: {
|
|
52
|
-
address: string;
|
|
53
|
-
provider?: string;
|
|
54
|
-
}[];
|
|
55
|
-
grpc: {
|
|
56
|
-
address: string;
|
|
57
|
-
provider?: string;
|
|
58
|
-
}[];
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
export = _exports;
|
|
1
|
+
import { Chain } from '@chain-registry/types';
|
|
2
|
+
declare const chain: Chain;
|
|
3
|
+
export default chain;
|
package/types/index.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import assets from './assets';
|
|
2
2
|
import chain from './chain';
|
|
3
3
|
import ibc_assets from './ibc_assets';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
ibc_assets
|
|
4
|
+
declare const _default: {
|
|
5
|
+
chain: Chain;
|
|
6
|
+
assets: AssetList;
|
|
7
|
+
ibc_assets: IBCAsset;
|
|
9
8
|
};
|
|
10
|
-
|
|
9
|
+
export default _default;
|
|
11
10
|
export { assets, chain, ibc_assets };
|