@chain-registry/osmosis 0.4.3
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 +8 -0
- package/LICENSE +21 -0
- package/README.md +23 -0
- package/main/assets.js +51 -0
- package/main/chain.js +268 -0
- package/main/ibc_assets.js +3330 -0
- package/main/index.js +39 -0
- package/module/assets.js +44 -0
- package/module/chain.js +261 -0
- package/module/ibc_assets.js +3323 -0
- package/module/index.js +9 -0
- package/package.json +81 -0
- package/types/assets.d.ts +28 -0
- package/types/chain.d.ts +61 -0
- package/types/ibc_assets.d.ts +31 -0
- package/types/index.d.ts +11 -0
package/CHANGELOG.md
ADDED
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Dan Lynch <pyramation@gmail.com>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# @chain-registry/osmosis
|
|
2
|
+
|
|
3
|
+
<p align="center" width="100%">
|
|
4
|
+
<img height="90" src="https://user-images.githubusercontent.com/545047/184277736-69fef40f-1991-4c0e-b979-da125cf7fd8f.svg" />
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<p align="center" width="100%">
|
|
8
|
+
<a href="https://github.com/cosmology-tech/chain-registry/actions/workflows/run-tests.yml">
|
|
9
|
+
<img height="20" src="https://github.com/cosmology-tech/chain-registry/actions/workflows/run-tests.yml/badge.svg" />
|
|
10
|
+
</a>
|
|
11
|
+
<a href="https://github.com/cosmology-tech/chain-registry/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
|
|
12
|
+
<a href="https://www.npmjs.com/package/@chain-registry/osmosis"><img height="20" src="https://img.shields.io/github/package-json/v/cosmology-tech/chain-registry?filename=packages%2Fosmosis%2Fpackage.json"></a>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
Chain Registry info for Osmosis, including asset lists.
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
npm install @chain-registry/osmosis
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
```js
|
|
22
|
+
import { chain, assets, ibc_assets } from '@chain-registry/osmosis';
|
|
23
|
+
```
|
package/main/assets.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
"$schema": "../assetlist.schema.json",
|
|
9
|
+
"chain_name": "osmosis",
|
|
10
|
+
"assets": [{
|
|
11
|
+
"description": "The native token of Osmosis",
|
|
12
|
+
"denom_units": [{
|
|
13
|
+
"denom": "uosmo",
|
|
14
|
+
"exponent": 0,
|
|
15
|
+
"aliases": []
|
|
16
|
+
}, {
|
|
17
|
+
"denom": "osmo",
|
|
18
|
+
"exponent": 6,
|
|
19
|
+
"aliases": []
|
|
20
|
+
}],
|
|
21
|
+
"base": "uosmo",
|
|
22
|
+
"name": "Osmosis",
|
|
23
|
+
"display": "osmo",
|
|
24
|
+
"symbol": "OSMO",
|
|
25
|
+
"logo_URIs": {
|
|
26
|
+
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/osmo.png",
|
|
27
|
+
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/osmo.svg"
|
|
28
|
+
},
|
|
29
|
+
"coingecko_id": "osmosis",
|
|
30
|
+
"keywords": ["dex", "staking"]
|
|
31
|
+
}, {
|
|
32
|
+
"denom_units": [{
|
|
33
|
+
"denom": "uion",
|
|
34
|
+
"exponent": 0
|
|
35
|
+
}, {
|
|
36
|
+
"denom": "ion",
|
|
37
|
+
"exponent": 6
|
|
38
|
+
}],
|
|
39
|
+
"base": "uion",
|
|
40
|
+
"name": "Ion",
|
|
41
|
+
"display": "ion",
|
|
42
|
+
"symbol": "ION",
|
|
43
|
+
"logo_URIs": {
|
|
44
|
+
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/ion.png",
|
|
45
|
+
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/ion.svg"
|
|
46
|
+
},
|
|
47
|
+
"coingecko_id": "ion",
|
|
48
|
+
"keywords": ["memecoin"]
|
|
49
|
+
}]
|
|
50
|
+
};
|
|
51
|
+
exports["default"] = _default;
|
package/main/chain.js
ADDED
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
"$schema": "../chain.schema.json",
|
|
9
|
+
"chain_name": "osmosis",
|
|
10
|
+
"status": "live",
|
|
11
|
+
"network_type": "mainnet",
|
|
12
|
+
"updatelink": "https://raw.githubusercontent.com/osmosis-labs/osmosis/main/chain.schema.json",
|
|
13
|
+
"pretty_name": "Osmosis",
|
|
14
|
+
"chain_id": "osmosis-1",
|
|
15
|
+
"bech32_prefix": "osmo",
|
|
16
|
+
"daemon_name": "osmosisd",
|
|
17
|
+
"node_home": "$HOME/.osmosisd",
|
|
18
|
+
"genesis": {
|
|
19
|
+
"genesis_url": "https://github.com/osmosis-labs/networks/raw/main/osmosis-1/genesis.json"
|
|
20
|
+
},
|
|
21
|
+
"key_algos": ["secp256k1"],
|
|
22
|
+
"slip44": 118,
|
|
23
|
+
"fees": {
|
|
24
|
+
"fee_tokens": [{
|
|
25
|
+
"denom": "uosmo",
|
|
26
|
+
"fixed_min_gas_price": 0,
|
|
27
|
+
"low_gas_price": 0,
|
|
28
|
+
"average_gas_price": 0.025,
|
|
29
|
+
"high_gas_price": 0.04
|
|
30
|
+
}]
|
|
31
|
+
},
|
|
32
|
+
"staking": {
|
|
33
|
+
"staking_tokens": [{
|
|
34
|
+
"denom": "uosmo"
|
|
35
|
+
}]
|
|
36
|
+
},
|
|
37
|
+
"codebase": {
|
|
38
|
+
"git_repo": "https://github.com/osmosis-labs/osmosis",
|
|
39
|
+
"recommended_version": "v11.0.0",
|
|
40
|
+
"compatible_versions": ["v11.0.0"],
|
|
41
|
+
"binaries": {
|
|
42
|
+
"linux/amd64": "https://github.com/osmosis-labs/osmosis/releases/download/v11.0.0/osmosisd-11.0.0-linux-amd64",
|
|
43
|
+
"linux/arm64": "https://github.com/osmosis-labs/osmosis/releases/download/v11.0.0/osmosisd-11.0.0-linux-arm64"
|
|
44
|
+
},
|
|
45
|
+
"cosmos_sdk_version": "0.45",
|
|
46
|
+
"tendermint_version": "0.34",
|
|
47
|
+
"cosmwasm_version": "0.24",
|
|
48
|
+
"cosmwasm_enabled": true
|
|
49
|
+
},
|
|
50
|
+
"peers": {
|
|
51
|
+
"seeds": [{
|
|
52
|
+
"id": "83adaa38d1c15450056050fd4c9763fcc7e02e2c",
|
|
53
|
+
"address": "ec2-44-234-84-104.us-west-2.compute.amazonaws.com:26656",
|
|
54
|
+
"provider": "notional"
|
|
55
|
+
}, {
|
|
56
|
+
"id": "23142ab5d94ad7fa3433a889dcd3c6bb6d5f247d",
|
|
57
|
+
"address": "95.217.193.163:26656",
|
|
58
|
+
"provider": "notional"
|
|
59
|
+
}, {
|
|
60
|
+
"id": "f82d1a360dc92d4e74fdc2c8e32f4239e59aebdf",
|
|
61
|
+
"address": "95.217.121.243:26656",
|
|
62
|
+
"provider": "notional"
|
|
63
|
+
}, {
|
|
64
|
+
"id": "e437756a853061cc6f1639c2ac997d9f7e84be67",
|
|
65
|
+
"address": "144.76.183.180:26656",
|
|
66
|
+
"provider": "notional"
|
|
67
|
+
}, {
|
|
68
|
+
"id": "f515a8599b40f0e84dfad935ba414674ab11a668",
|
|
69
|
+
"address": "osmosis.blockpane.com:26656",
|
|
70
|
+
"provider": "blockpane"
|
|
71
|
+
}, {
|
|
72
|
+
"id": "7c66126b64cd66bafd9ccfc721f068df451d31a3",
|
|
73
|
+
"address": "osmosis-seed.sunshinevalidation.io:9393",
|
|
74
|
+
"provider": "sunshine-validation"
|
|
75
|
+
}],
|
|
76
|
+
"persistent_peers": [{
|
|
77
|
+
"id": "b63e1e588e8feb7e4a4adf0f2542d755e606d3f1",
|
|
78
|
+
"address": "5.9.105.113:26656",
|
|
79
|
+
"provider": "WhisperNode 🤐"
|
|
80
|
+
}, {
|
|
81
|
+
"id": "8f67a2fcdd7ade970b1983bf1697111d35dfdd6f",
|
|
82
|
+
"address": "52.79.199.137:26656",
|
|
83
|
+
"provider": "cosmostation"
|
|
84
|
+
}, {
|
|
85
|
+
"id": "00c328a33578466c711874ec5ee7ada75951f99a",
|
|
86
|
+
"address": "35.82.201.64:26656",
|
|
87
|
+
"provider": "cosmostation"
|
|
88
|
+
}, {
|
|
89
|
+
"id": "cfb6f2d686014135d4a6034aa6645abd0020cac6",
|
|
90
|
+
"address": "52.79.88.57:26656",
|
|
91
|
+
"provider": "cosmostation"
|
|
92
|
+
}, {
|
|
93
|
+
"id": "8d9967d5f865c68f6fe2630c0f725b0363554e77",
|
|
94
|
+
"address": "134.255.252.173:26656",
|
|
95
|
+
"provider": "divecrypto"
|
|
96
|
+
}, {
|
|
97
|
+
"id": "785bc83577e3980545bac051de8f57a9fd82695f",
|
|
98
|
+
"address": "194.233.164.146:26656",
|
|
99
|
+
"provider": "forbole"
|
|
100
|
+
}, {
|
|
101
|
+
"id": "778fdedf6effe996f039f22901a3360bc838b52e",
|
|
102
|
+
"address": "161.97.187.189:36657",
|
|
103
|
+
"provider": "kalpatech"
|
|
104
|
+
}, {
|
|
105
|
+
"id": "64d36f3a186a113c02db0cf7c588c7c85d946b5b",
|
|
106
|
+
"address": "209.97.132.170:26656",
|
|
107
|
+
"provider": "solidstake"
|
|
108
|
+
}, {
|
|
109
|
+
"id": "4d9ac3510d9f5cfc975a28eb2a7b8da866f7bc47",
|
|
110
|
+
"address": "37.187.38.191:26656",
|
|
111
|
+
"provider": "stakelab"
|
|
112
|
+
}, {
|
|
113
|
+
"id": "2115945f074ddb038de5d835e287fa03e32f0628",
|
|
114
|
+
"address": "95.217.43.85:26656",
|
|
115
|
+
"provider": "stakerspace"
|
|
116
|
+
}, {
|
|
117
|
+
"id": "bf2c480eff178d2647ba1adfeee8ced568fe752c",
|
|
118
|
+
"address": "91.65.128.44:26656",
|
|
119
|
+
"provider": "stakerus"
|
|
120
|
+
}, {
|
|
121
|
+
"id": "2f9c16151400d8516b0f58c030b3595be20b804c",
|
|
122
|
+
"address": "37.120.245.167:26656",
|
|
123
|
+
"provider": "syncnode"
|
|
124
|
+
}, {
|
|
125
|
+
"id": "bada684070727cb3dda430bcc79b329e93399665",
|
|
126
|
+
"address": "173.212.240.91:26656",
|
|
127
|
+
"provider": "qf3l3k"
|
|
128
|
+
}, {
|
|
129
|
+
"id": "3fea02d121cb24503d5fbc53216a527257a9ab55",
|
|
130
|
+
"address": "143.198.145.208:26656",
|
|
131
|
+
"provider": "witval"
|
|
132
|
+
}, {
|
|
133
|
+
"id": "7de029fa5e9c1f39557c0e3523c1ae0b07c58be0",
|
|
134
|
+
"address": "78.141.219.223:26656",
|
|
135
|
+
"provider": "artifactstaking"
|
|
136
|
+
}, {
|
|
137
|
+
"id": "7024d1ca024d5e33e7dc1dcb5ed08349768220b9",
|
|
138
|
+
"address": "134.122.42.20:26656",
|
|
139
|
+
"provider": "figment"
|
|
140
|
+
}, {
|
|
141
|
+
"id": "d326ad6dffa7763853982f334022944259b4e7f4",
|
|
142
|
+
"address": "143.110.212.33:26656",
|
|
143
|
+
"provider": "figment"
|
|
144
|
+
}, {
|
|
145
|
+
"id": "e7916387e05acd53d1b8c0f842c13def365c7bb6",
|
|
146
|
+
"address": "176.9.64.212:26666",
|
|
147
|
+
"provider": "medusanode"
|
|
148
|
+
}, {
|
|
149
|
+
"id": "55eea69c21b46000c1594d8b4a448563b075d9e3",
|
|
150
|
+
"address": "34.107.19.235:26656",
|
|
151
|
+
"provider": "binaryholdings"
|
|
152
|
+
}, {
|
|
153
|
+
"id": "9faf468b90a3b2b85ffd88645a15b3715f68bb0b",
|
|
154
|
+
"address": "195.201.122.100:26656",
|
|
155
|
+
"provider": "chainflow"
|
|
156
|
+
}, {
|
|
157
|
+
"id": "ffc82412c0261a94df122b9cc0ce1de81da5246b",
|
|
158
|
+
"address": "15.222.240.16:26656",
|
|
159
|
+
"provider": "cephalopod"
|
|
160
|
+
}, {
|
|
161
|
+
"id": "5b90a530464885fd28c31f698c81694d0b4a1982",
|
|
162
|
+
"address": "35.183.238.70:26656",
|
|
163
|
+
"provider": "cephalopod"
|
|
164
|
+
}, {
|
|
165
|
+
"id": "7b6689cb18d625bbc069aa99d9d5521293db442c",
|
|
166
|
+
"address": "51.158.97.192:26656",
|
|
167
|
+
"provider": "mp20"
|
|
168
|
+
}, {
|
|
169
|
+
"id": "fda06dcebe2acd17857a6c9e9a7b365da3771ceb",
|
|
170
|
+
"address": "52.206.252.176:26656",
|
|
171
|
+
"provider": "stargaze"
|
|
172
|
+
}, {
|
|
173
|
+
"id": "8d9fd90a009e4b6e9572bf9a84b532a366790a1d",
|
|
174
|
+
"address": "193.26.156.221:26656",
|
|
175
|
+
"provider": "validatus"
|
|
176
|
+
}, {
|
|
177
|
+
"id": "44a760a66071dae257c5c044be604219bfc3510c",
|
|
178
|
+
"address": "49.12.35.177:36656",
|
|
179
|
+
"provider": "in3s.com"
|
|
180
|
+
}]
|
|
181
|
+
},
|
|
182
|
+
"apis": {
|
|
183
|
+
"rpc": [{
|
|
184
|
+
"address": "https://osmosis-rpc.quickapi.com:443",
|
|
185
|
+
"provider": "Chainlayer"
|
|
186
|
+
}, {
|
|
187
|
+
"address": "https://rpc-osmosis.whispernode.com",
|
|
188
|
+
"provider": "WhisperNode 🤐"
|
|
189
|
+
}, {
|
|
190
|
+
"address": "https://osmosis.validator.network/",
|
|
191
|
+
"provider": "validatornetwork"
|
|
192
|
+
}, {
|
|
193
|
+
"address": "https://rpc-osmosis.blockapsis.com",
|
|
194
|
+
"provider": "chainapsis"
|
|
195
|
+
}, {
|
|
196
|
+
"address": "https://rpc-osmosis.ecostake.com",
|
|
197
|
+
"provider": "ecostake"
|
|
198
|
+
}, {
|
|
199
|
+
"address": "https://osmosis-rpc.polkachu.com",
|
|
200
|
+
"provider": "Polkachu"
|
|
201
|
+
}, {
|
|
202
|
+
"address": "https://rpc-osmosis-ia.notional.ventures/",
|
|
203
|
+
"provider": "Notional"
|
|
204
|
+
}, {
|
|
205
|
+
"address": "https://rpc.osmosis.zone/",
|
|
206
|
+
"provider": "Osmosis Foundation"
|
|
207
|
+
}, {
|
|
208
|
+
"address": "https://rpc.osmosis.interbloc.org",
|
|
209
|
+
"provider": "Interbloc"
|
|
210
|
+
}],
|
|
211
|
+
"rest": [{
|
|
212
|
+
"address": "https://osmosis-lcd.quickapi.com:443",
|
|
213
|
+
"provider": "Chainlayer"
|
|
214
|
+
}, {
|
|
215
|
+
"address": "https://lcd-osmosis.whispernode.com",
|
|
216
|
+
"provider": "WhisperNode 🤐"
|
|
217
|
+
}, {
|
|
218
|
+
"address": "https://lcd-osmosis.blockapsis.com",
|
|
219
|
+
"provider": "chainapsis"
|
|
220
|
+
}, {
|
|
221
|
+
"address": "https://rest-osmosis.ecostake.com",
|
|
222
|
+
"provider": "ecostake"
|
|
223
|
+
}, {
|
|
224
|
+
"address": "https://api-osmosis-ia.notional.ventures/",
|
|
225
|
+
"provider": "Notional"
|
|
226
|
+
}, {
|
|
227
|
+
"address": "https://lcd.osmosis.zone/",
|
|
228
|
+
"provider": "Osmosis Foundation"
|
|
229
|
+
}, {
|
|
230
|
+
"address": "https://api.osmosis.interbloc.org",
|
|
231
|
+
"provider": "Interbloc"
|
|
232
|
+
}, {
|
|
233
|
+
"address": "https://osmosis.stakesystems.io/",
|
|
234
|
+
"provider": "stakesystems"
|
|
235
|
+
}],
|
|
236
|
+
"grpc": [{
|
|
237
|
+
"address": "osmosis.strange.love:9090",
|
|
238
|
+
"provider": "strangelove"
|
|
239
|
+
}, {
|
|
240
|
+
"address": "grpc-osmosis-ia.notional.ventures:443",
|
|
241
|
+
"provider": "Notional"
|
|
242
|
+
}]
|
|
243
|
+
},
|
|
244
|
+
"explorers": [{
|
|
245
|
+
"kind": "mintscan",
|
|
246
|
+
"url": "https://www.mintscan.io/osmosis",
|
|
247
|
+
"tx_page": "https://www.mintscan.io/osmosis/txs/${txHash}",
|
|
248
|
+
"account_page": "https://www.mintscan.io/osmosis/account/${accountAddress}"
|
|
249
|
+
}, {
|
|
250
|
+
"kind": "ping.pub",
|
|
251
|
+
"url": "https://ping.pub/osmosis",
|
|
252
|
+
"tx_page": "https://ping.pub/osmosis/tx/${txHash}"
|
|
253
|
+
}, {
|
|
254
|
+
"kind": "explorers.guru",
|
|
255
|
+
"url": "https://osmosis.explorers.guru",
|
|
256
|
+
"tx_page": "https://osmosis.explorers.guru/transaction/${txHash}",
|
|
257
|
+
"account_page": "https://osmosis.explorers.guru/transaction/${accountAddress}"
|
|
258
|
+
}, {
|
|
259
|
+
"kind": "atomscan",
|
|
260
|
+
"url": "https://atomscan.com/osmosis",
|
|
261
|
+
"tx_page": "https://atomscan.com/osmosis/transactions/${txHash}"
|
|
262
|
+
}],
|
|
263
|
+
"logo_URIs": {
|
|
264
|
+
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/osmosis-chain-logo.png"
|
|
265
|
+
},
|
|
266
|
+
"keywords": ["dex"]
|
|
267
|
+
};
|
|
268
|
+
exports["default"] = _default;
|