chain-registry 2.0.1 → 2.0.2

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 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
  };
@@ -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
  },
@@ -24814,6 +24814,53 @@ const info = {
24814
24814
  twitter: 'https://x.com/OphirDAO'
24815
24815
  },
24816
24816
  keywords: ['dao']
24817
+ },
24818
+ {
24819
+ description: 'Pax Gold via Eureka',
24820
+ denomUnits: [{
24821
+ denom: 'ibc/0EF5630576C66968EF0787868CF09FD866FAD131BC148D24A148358A85F0EB62',
24822
+ exponent: 0
24823
+ }, {
24824
+ denom: 'paxg',
24825
+ exponent: 18
24826
+ }],
24827
+ typeAsset: 'ics20',
24828
+ base: 'ibc/0EF5630576C66968EF0787868CF09FD866FAD131BC148D24A148358A85F0EB62',
24829
+ name: 'Pax Gold (Eureka)',
24830
+ display: 'paxg',
24831
+ symbol: 'PAXG.atom',
24832
+ traces: [{
24833
+ type: 'ibc',
24834
+ counterparty: {
24835
+ chainName: 'cosmoshub',
24836
+ baseDenom: 'ibc/09E95F57939E344EE36109AC41780B8A51F1FE0548A5203C5957674FF64C0F26',
24837
+ channelId: 'channel-141'
24838
+ },
24839
+ chain: {
24840
+ channelId: 'channel-0',
24841
+ path: 'transfer/channel-0/transfer/08-wasm-1369/0x45804880de22913dafe09f4980848ece6ecbaf78'
24842
+ }
24843
+ }],
24844
+ images: [{
24845
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/paxg.atom.svg',
24846
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/paxg.atom.png'
24847
+ }, {
24848
+ imageSync: {
24849
+ chainName: 'cosmoshub',
24850
+ baseDenom: 'ibc/09E95F57939E344EE36109AC41780B8A51F1FE0548A5203C5957674FF64C0F26'
24851
+ },
24852
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/paxg.svg',
24853
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/paxg.png',
24854
+ theme: {
24855
+ circle: true,
24856
+ primaryColorHex: '#D8A24A',
24857
+ backgroundColorHex: '#D8A24A'
24858
+ }
24859
+ }],
24860
+ logoURIs: {
24861
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/paxg.atom.svg',
24862
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/paxg.atom.png'
24863
+ }
24817
24864
  }
24818
24865
  ]
24819
24866
  };
@@ -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
  {