chain-registry 2.0.1 → 2.0.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.
Files changed (51) hide show
  1. package/README.md +42 -10
  2. package/esm/mainnet/cosmoshub/asset-list.js +85 -0
  3. package/esm/mainnet/ethereum/asset-list.js +20 -0
  4. package/esm/mainnet/juno/asset-list.js +1 -1
  5. package/esm/mainnet/noble/chain.js +3 -3
  6. package/esm/mainnet/omniflixhub/asset-list.js +6 -0
  7. package/esm/mainnet/osmosis/asset-list.js +53 -1
  8. package/esm/mainnet/osmosis/ibc-data.js +14 -0
  9. package/esm/mainnet/pryzm/asset-list.js +334 -0
  10. package/esm/mainnet/stargaze/asset-list.js +1 -0
  11. package/esm/mainnet/terra2/asset-list.js +94 -57
  12. package/esm/mainnet/terra2/chain.js +18 -12
  13. package/esm/mainnet/xion/chain.js +8 -8
  14. package/esm/mainnet/xion/ibc-data.js +14 -0
  15. package/esm/testnet/asset-lists.js +2 -0
  16. package/esm/testnet/chains.js +2 -0
  17. package/esm/testnet/hippoprotocoltestnet/asset-list.js +28 -0
  18. package/esm/testnet/hippoprotocoltestnet/chain.js +86 -0
  19. package/esm/testnet/hippoprotocoltestnet/index.js +4 -0
  20. package/esm/testnet/osmosistestnet/ibc-data.js +14 -0
  21. package/esm/testnet/xarchaintestnet/chain.js +2 -2
  22. package/esm/testnet/xiontestnet2/chain.js +8 -8
  23. package/esm/testnet/xiontestnet2/ibc-data.js +14 -0
  24. package/esm/testnet/zenrocktestnet/chain.js +1 -1
  25. package/mainnet/cosmoshub/asset-list.js +85 -0
  26. package/mainnet/ethereum/asset-list.js +20 -0
  27. package/mainnet/juno/asset-list.js +1 -1
  28. package/mainnet/noble/chain.js +3 -3
  29. package/mainnet/omniflixhub/asset-list.js +6 -0
  30. package/mainnet/osmosis/asset-list.js +53 -1
  31. package/mainnet/osmosis/ibc-data.js +14 -0
  32. package/mainnet/pryzm/asset-list.js +334 -0
  33. package/mainnet/stargaze/asset-list.js +1 -0
  34. package/mainnet/terra2/asset-list.js +94 -57
  35. package/mainnet/terra2/chain.js +18 -12
  36. package/mainnet/xion/chain.js +8 -8
  37. package/mainnet/xion/ibc-data.js +14 -0
  38. package/package.json +3 -3
  39. package/testnet/asset-lists.js +2 -0
  40. package/testnet/chains.js +2 -0
  41. package/testnet/hippoprotocoltestnet/asset-list.d.ts +3 -0
  42. package/testnet/hippoprotocoltestnet/asset-list.js +30 -0
  43. package/testnet/hippoprotocoltestnet/chain.d.ts +3 -0
  44. package/testnet/hippoprotocoltestnet/chain.js +88 -0
  45. package/testnet/hippoprotocoltestnet/index.d.ts +2 -0
  46. package/testnet/hippoprotocoltestnet/index.js +10 -0
  47. package/testnet/osmosistestnet/ibc-data.js +14 -0
  48. package/testnet/xarchaintestnet/chain.js +2 -2
  49. package/testnet/xiontestnet2/chain.js +8 -8
  50. package/testnet/xiontestnet2/ibc-data.js +14 -0
  51. package/testnet/zenrocktestnet/chain.js +1 -1
package/README.md CHANGED
@@ -37,6 +37,15 @@ A unified store of chains info, assets, asset lists, and IBC channels for the Co
37
37
  - 🌎 **Pre-generated Asset Lists with IBC Denominations for All Chains** - Access ready-to-use [asset lists](https://github.com/hyperweb-io/chain-registry/tree/main/v2/packages/assets) across all chains.
38
38
  - 🔄 **Conversions for Keplr, Cosmostation** - Easily convert data for use with Keplr and Cosmostation wallets.
39
39
 
40
+ ## Versions
41
+
42
+ ⚠️ This repository now contains two versions of the chain-registry:
43
+
44
+ - **v1**: The original version using `snake_case` naming conventions.
45
+ - **v2**: The new, updated version using `camelCase` naming conventions based on developer feedback.
46
+
47
+ *We encourage developers to migrate to v2 for improved consistency and readability.
48
+
40
49
  ## Usage
41
50
 
42
51
  ### Using the `chain-registry`
@@ -65,7 +74,7 @@ will output:
65
74
  name: 'Osmosis',
66
75
  display: 'osmo',
67
76
  symbol: 'OSMO',
68
- logoUris: [Object],
77
+ logoURIs: [Object],
69
78
  coingeckoId: 'osmosis'
70
79
  },
71
80
  {
@@ -74,7 +83,7 @@ will output:
74
83
  name: 'Ion',
75
84
  display: 'ion',
76
85
  symbol: 'ION',
77
- logoUris: [Object],
86
+ logoURIs: [Object],
78
87
  coingeckoId: 'ion'
79
88
  }
80
89
  ]
@@ -162,35 +171,35 @@ import { assets } from 'chain-registry/noncosmos';
162
171
 
163
172
  ## Packages
164
173
 
165
- #### [chain-registry](../chain-registry)
174
+ #### [chain-registry](https://github.com/hyperweb-io/chain-registry/tree/main/v2/packages/chain-registry)
166
175
 
167
176
  An npm module for the Official `chain-registry` for the Cosmos ⚛️
168
177
 
169
- #### [@chain-registry/client](../client)
178
+ #### [@chain-registry/client](https://github.com/hyperweb-io/chain-registry/tree/main/v2/packages/client)
170
179
 
171
180
  A Client for `chain-registry` that allows you to dynamically fetch data.
172
181
 
173
- #### [@chain-registry/types](../types)
182
+ #### [@chain-registry/types](https://github.com/hyperweb-io/chain-registry/tree/main/v2/packages/types)
174
183
 
175
184
  Types for `chain-registry`.
176
185
 
177
- #### [@chain-registry/keplr](../../legacy/keplr)
186
+ #### [@chain-registry/keplr](https://github.com/hyperweb-io/chain-registry/tree/main/v2/packages/keplr)
178
187
 
179
188
  Keplr integration for the chain-registry returning keplr's `ChainInfo` type from `@chain-registry/types` `Chain` type.
180
189
 
181
- #### [@chain-registry/assets](../../legacy/assets)
190
+ #### [@chain-registry/assets](https://github.com/hyperweb-io/chain-registry/tree/main/v2/packages/assets)
182
191
 
183
192
  Asset lists for the Cosmos ⚛️
184
193
 
185
- #### [@chain-registry/osmosis](../../legacy/osmosis)
194
+ #### [@chain-registry/osmosis](https://github.com/hyperweb-io/chain-registry/tree/main/v2/packages/osmosis)
186
195
 
187
196
  Chain Registry info for Osmosis, including asset lists.
188
197
 
189
- #### [@chain-registry/juno](../../legacy/juno)
198
+ #### [@chain-registry/juno](https://github.com/hyperweb-io/chain-registry/tree/main/v2/packages/juno)
190
199
 
191
200
  Chain Registry info for Juno, including asset lists.
192
201
 
193
- #### [@chain-registry/utils](../utils)
202
+ #### [@chain-registry/utils](https://github.com/hyperweb-io/chain-registry/tree/main/v2/packages/utils)
194
203
 
195
204
  Utility functions for `chain-registry`.
196
205
 
@@ -203,6 +212,13 @@ Checkout the repository run yarn to initialize the workspace:
203
212
  git clone https://github.com/hyperweb-io/chain-registry
204
213
  yarn
205
214
  ```
215
+
216
+ First ensure you have the submodules initialized out before developing:
217
+
218
+ ```
219
+ make init-submodules
220
+ ```
221
+
206
222
  ### Building
207
223
 
208
224
  ```sh
@@ -236,6 +252,22 @@ git commit -am "new registry updates"
236
252
  lerna publish
237
253
  ```
238
254
 
255
+ ### Updating Submodule Data
256
+
257
+ Use the following Makefile commands to update the data in the submodules. These commands will ensure that your submodules are synchronized with their respective remote repositories.
258
+
259
+ - **update-registry**: Updates the submodule to the latest commits of the `cosmos/chain-registry` repository. This should be used to pull the most current production data into your local environment.
260
+
261
+ ```
262
+ make update-registry
263
+ ```
264
+
265
+ - **update-fixtures**: Updates the submodule to the latest commits of the `hyperweb-io/chain-registry-fixtures` repository. Use this for testing purposes to ensure that your tests are running against stable, controlled data sets.
266
+
267
+ ```
268
+ make update-fixtures
269
+ ```
270
+
239
271
  ## Interchain JavaScript Stack ⚛️
240
272
 
241
273
  A unified toolkit for building applications and smart contracts in the Interchain ecosystem
@@ -669,6 +669,91 @@ const info = {
669
669
  twitter: 'https://x.com/OphirDAO'
670
670
  },
671
671
  keywords: ['dao']
672
+ },
673
+ {
674
+ description: 'Midas mBTC on the Cosmos Hub',
675
+ denomUnits: [{
676
+ denom: 'ibc/62F1A800DCE1AA0FD47B3592DEBB7A8956A383A14A4F756E4881AEA927B21671',
677
+ exponent: 0
678
+ }, {
679
+ denom: 'mBTC',
680
+ exponent: 18
681
+ }],
682
+ typeAsset: 'ics20',
683
+ base: 'ibc/62F1A800DCE1AA0FD47B3592DEBB7A8956A383A14A4F756E4881AEA927B21671',
684
+ name: 'Midas BTC Yield Token',
685
+ display: 'mBTC',
686
+ symbol: 'mBTC.midas',
687
+ traces: [{
688
+ type: 'ibc-bridge',
689
+ counterparty: {
690
+ chainName: 'ethereum',
691
+ baseDenom: '0x007115416ab6c266329a03b09a8aa39ac2ef7d9d',
692
+ channelId: 'channel-0'
693
+ },
694
+ chain: {
695
+ channelId: '08-wasm-1369',
696
+ path: 'transfer/08-wasm-1369/0x007115416ab6c266329a03b09a8aa39ac2ef7d9d'
697
+ },
698
+ provider: 'Eureka'
699
+ }],
700
+ images: [{
701
+ imageSync: {
702
+ chainName: 'ethereum',
703
+ baseDenom: '0x007115416ab6c266329a03b09a8aa39ac2ef7d9d'
704
+ },
705
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/midas-mbtc.png',
706
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/midas-mbtc.svg'
707
+ }],
708
+ logoURIs: {
709
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/midas-mbtc.png',
710
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/midas-mbtc.svg'
711
+ }
712
+ },
713
+ {
714
+ description: 'Pax Gold on the Cosmos Hub',
715
+ denomUnits: [{
716
+ denom: 'ibc/09E95F57939E344EE36109AC41780B8A51F1FE0548A5203C5957674FF64C0F26',
717
+ exponent: 0
718
+ }, {
719
+ denom: 'paxg',
720
+ exponent: 18
721
+ }],
722
+ typeAsset: 'ics20',
723
+ base: 'ibc/09E95F57939E344EE36109AC41780B8A51F1FE0548A5203C5957674FF64C0F26',
724
+ name: 'Pax Gold',
725
+ display: 'paxg',
726
+ symbol: 'PAXG',
727
+ traces: [{
728
+ type: 'ibc-bridge',
729
+ counterparty: {
730
+ chainName: 'ethereum',
731
+ baseDenom: '0x45804880De22913dAFE09f4980848ECE6EcbAf78',
732
+ channelId: 'channel-0'
733
+ },
734
+ chain: {
735
+ channelId: '08-wasm-1369',
736
+ path: 'transfer/08-wasm-1369/0x45804880de22913dafe09f4980848ece6ecbaf78'
737
+ },
738
+ provider: 'Eureka'
739
+ }],
740
+ images: [{
741
+ imageSync: {
742
+ chainName: 'ethereum',
743
+ baseDenom: '0x45804880De22913dAFE09f4980848ECE6EcbAf78'
744
+ },
745
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/paxg.svg',
746
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/paxg.png',
747
+ theme: {
748
+ circle: true,
749
+ primaryColorHex: '#D8A24A',
750
+ backgroundColorHex: '#D8A24A'
751
+ }
752
+ }],
753
+ logoURIs: {
754
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/paxg.png',
755
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/paxg.svg'
756
+ }
672
757
  }
673
758
  ]
674
759
  };
@@ -2050,6 +2050,26 @@ const info = {
2050
2050
  svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/susds.svg'
2051
2051
  },
2052
2052
  coingeckoId: 'susds'
2053
+ },
2054
+ {
2055
+ typeAsset: 'erc20',
2056
+ address: '0x007115416ab6c266329a03b09a8aa39ac2ef7d9d',
2057
+ denomUnits: [{
2058
+ denom: '0x007115416ab6c266329a03b09a8aa39ac2ef7d9d',
2059
+ exponent: 0
2060
+ }, {
2061
+ denom: 'mBTC',
2062
+ exponent: 18
2063
+ }],
2064
+ base: '0x007115416ab6c266329a03b09a8aa39ac2ef7d9d',
2065
+ name: 'Midas BTC Yield Token',
2066
+ display: 'mBTC',
2067
+ symbol: 'mBTC.midas',
2068
+ logoURIs: {
2069
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/midas-mbtc.png',
2070
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/midas-mbtc.svg'
2071
+ },
2072
+ coingeckoId: 'midas-btc-yield-token'
2053
2073
  }
2054
2074
  ]
2055
2075
  };
@@ -845,7 +845,7 @@ const info = {
845
845
  }
846
846
  }],
847
847
  socials: {
848
- website: 'https://www.nride.com',
848
+ website: 'https://www.nride.network',
849
849
  twitter: 'https://twitter.com/nRide12'
850
850
  }
851
851
  },
@@ -21,9 +21,9 @@ const info = {
21
21
  highGasPrice: 0.2
22
22
  }, {
23
23
  denom: 'ibc/EF48E6B1A1A19F47ECAEA62F5670C37C0580E86A9E88498B7E393EB6F49F33C0',
24
- fixedMinGasPrice: 0.01,
25
- lowGasPrice: 0.01,
26
- averageGasPrice: 0.01,
24
+ fixedMinGasPrice: 0.02,
25
+ lowGasPrice: 0.02,
26
+ averageGasPrice: 0.02,
27
27
  highGasPrice: 0.02
28
28
  }]
29
29
  },
@@ -299,6 +299,7 @@ const info = {
299
299
  },
300
300
  {
301
301
  description: 'GATA Yield DAO Governance Token powered by OmniFlixHub',
302
+ extendedDescription: 'GATA Yield DAO is a decentralized, community-governed organization focused on sustainable yield generation and resource allocation. Governed by YGATA stakers, GATA Yield DAO is committed to long-term value growth and to support aligned projects in Cosmos/IBC, with decisions made through open and verifiable governance. Designed for equitable participation, GATA Yield DAO prioritizes community benefits and financial sustainability.',
302
303
  denomUnits: [{
303
304
  denom: 'factory/omniflix1fwphj5p6qd8gtkehkzfgac38eur4uqzgz97uwvf6hsc0vjl004gqfj0xnv/ygata',
304
305
  exponent: 0
@@ -321,6 +322,11 @@ const info = {
321
322
  primaryColorHex: '#7b5aff'
322
323
  }
323
324
  }],
325
+ coingeckoId: 'yield-gata',
326
+ socials: {
327
+ website: 'https://gatahub.zone',
328
+ twitter: 'https://x.com/GataHubZone'
329
+ },
324
330
  typeAsset: 'sdk.coin'
325
331
  },
326
332
  {
@@ -21478,7 +21478,12 @@ const info = {
21478
21478
  theme: {
21479
21479
  primaryColorHex: '#7b5aff'
21480
21480
  }
21481
- }]
21481
+ }],
21482
+ coingeckoId: 'yield-gata',
21483
+ socials: {
21484
+ website: 'https://gatahub.zone',
21485
+ twitter: 'https://x.com/GataHubZone'
21486
+ }
21482
21487
  },
21483
21488
  {
21484
21489
  description: 'Deprecated after hard fork: Dragon Token is the native staking and governance token of Dungeon Chain, serving as the backbone of the ecosystem. Its primary roles include staking, where users stake Dragon Tokens to secure the network, enhance its functionality, and earn rewards in return; governance, granting token holders voting rights to influence key decisions such as game onboarding, protocol updates, and community-driven initiatives; and ecosystem growth, facilitating transactions, incentivizing developers, and promoting the creation of new interchain games. Dragon Token ensures a decentralized, fair, and community-driven ecosystem, fostering the evolution of blockchain-based gaming. It plays a crucial role in driving the growth of Dungeon Chain by empowering both developers and players to participate actively in the ecosystem\'s governance and success.',
@@ -24814,6 +24819,53 @@ const info = {
24814
24819
  twitter: 'https://x.com/OphirDAO'
24815
24820
  },
24816
24821
  keywords: ['dao']
24822
+ },
24823
+ {
24824
+ description: 'Pax Gold via Eureka',
24825
+ denomUnits: [{
24826
+ denom: 'ibc/0EF5630576C66968EF0787868CF09FD866FAD131BC148D24A148358A85F0EB62',
24827
+ exponent: 0
24828
+ }, {
24829
+ denom: 'paxg',
24830
+ exponent: 18
24831
+ }],
24832
+ typeAsset: 'ics20',
24833
+ base: 'ibc/0EF5630576C66968EF0787868CF09FD866FAD131BC148D24A148358A85F0EB62',
24834
+ name: 'Pax Gold (Eureka)',
24835
+ display: 'paxg',
24836
+ symbol: 'PAXG.atom',
24837
+ traces: [{
24838
+ type: 'ibc',
24839
+ counterparty: {
24840
+ chainName: 'cosmoshub',
24841
+ baseDenom: 'ibc/09E95F57939E344EE36109AC41780B8A51F1FE0548A5203C5957674FF64C0F26',
24842
+ channelId: 'channel-141'
24843
+ },
24844
+ chain: {
24845
+ channelId: 'channel-0',
24846
+ path: 'transfer/channel-0/transfer/08-wasm-1369/0x45804880de22913dafe09f4980848ece6ecbaf78'
24847
+ }
24848
+ }],
24849
+ images: [{
24850
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/paxg.atom.svg',
24851
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/paxg.atom.png'
24852
+ }, {
24853
+ imageSync: {
24854
+ chainName: 'cosmoshub',
24855
+ baseDenom: 'ibc/09E95F57939E344EE36109AC41780B8A51F1FE0548A5203C5957674FF64C0F26'
24856
+ },
24857
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/paxg.svg',
24858
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/paxg.png',
24859
+ theme: {
24860
+ circle: true,
24861
+ primaryColorHex: '#D8A24A',
24862
+ backgroundColorHex: '#D8A24A'
24863
+ }
24864
+ }],
24865
+ logoURIs: {
24866
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/paxg.atom.svg',
24867
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/paxg.atom.png'
24868
+ }
24817
24869
  }
24818
24870
  ]
24819
24871
  };
@@ -4819,6 +4819,20 @@ const info = [
4819
4819
  status: 'live',
4820
4820
  preferred: true
4821
4821
  }
4822
+ }, {
4823
+ chain1: {
4824
+ channelId: 'channel-98063',
4825
+ portId: 'icqhost'
4826
+ },
4827
+ chain2: {
4828
+ channelId: 'channel-14',
4829
+ portId: 'feeabs'
4830
+ },
4831
+ ordering: 'unordered',
4832
+ version: 'icq-1',
4833
+ tags: {
4834
+ status: 'live'
4835
+ }
4822
4836
  }]
4823
4837
  },
4824
4838
  {