@@ -64,13 +64,13 @@ curl https://registry.elys.network/mainnet/elys
6464 "coinDecimals" : 6 ,
6565 "coinGeckoId" : " elys" ,
6666 "coinImageUrl" : " /tokens/elys.svg" ,
67- "canSwap" : true ,
6867 "isFeeCurrency" : true ,
69- "isStakeCurrency" : true ,
68+ "isStakeCurrency" : false ,
69+ "canSwap" : true ,
7070 "canWithdraw" : true ,
7171 "canDeposit" : true ,
7272 "canUseLiquidityMining" : true ,
73- "canUseLeverageLP" : false ,
73+ "canUseLeverageLP" : true ,
7474 "canUsePerpetual" : false ,
7575 "canUseVaults" : true ,
7676 "gasPriceStep" : {
@@ -85,7 +85,7 @@ curl https://registry.elys.network/mainnet/elys
8585}
8686```
8787
88- ## 🔧 Integration Examples
88+ ## 🔧 Integration Examplesç
8989
9090### JavaScript/Node.js
9191``` javascript
@@ -277,20 +277,19 @@ struct AssetRegistry {
277277 chains : HashMap # API Endpoints y Consumo Multi - Plataforma
278278
279279```
280-
281280## 📁 Repository Structure
282281
283282```
284283elys-asset-registry/
285284├── 📁 data/
286- │ ├── mainnet.json # Mainnet assets only
287- │ └── testnet.json # Testnet assets only
285+ │ ├── 📁 mainnet/
286+ │ ├──── elys.json
287+ │ ├──── cosmos.json
288+ │ ├── 📁 testnet/
289+ │ ├──── elys.json
290+ │ ├──── cosmos.json
288291├── 📁 schema/
289292│ └── asset-registry.schema.json # JSON Schema
290- ├── 📁 scripts/
291- │ ├── validate.sh # Validation script
292- │ ├── generate-splits.sh # Generate files by network
293- │ └── update-version.sh # Update version
294293├── 📁 examples/
295294│ ├── javascript/ # JavaScript examples
296295│ ├── go/ # Go examples
@@ -299,25 +298,10 @@ elys-asset-registry/
299298│ └── rust/ # Rust examples
300299├── 📁 .github/
301300│ └── workflows/
302- │ ├── validate.yml # CI for validation
303- │ └── deploy.yml # Automatic deployment
304- ├── 📄 README.md
305- ├── 📄 CONTRIBUTING.md
306- └── 📄 CHANGELOG.md
307- └── 📄 .version
308- ```
309-
310- ## ✅ Validation
311-
312- The registry includes automatic validation:
301+ │ └─ validate-registry.yml CI for validatio
302+ ├──📄 .version
303+ └──📄 README.md
313304
314- ``` bash
315- # Validate JSON structure
316- ./scripts/validate.sh
317-
318- # Verify against schema
319- ajv validate -s schema/asset-registry.schema.json -d data/assets.json
320- ```
321305
322306### Validation Rules
323307
@@ -333,55 +317,52 @@ ajv validate -s schema/asset-registry.schema.json -d data/assets.json
333317### Adding New Assets
334318
3353191. Fork the repository
336- 2 . Add chains or asset to ` data/mainnet.json ` following the schema
337- 3 . Run validation: ` ./scripts/validate.sh `
338- 4 . Create pull request
320+ 2. Add asset to `data/mainnet/chain-key.json` or `data/testnet/chain-key.json` following the schema
321+ 3. Create pull request
339322
340- ### Chain Schema
323+ ### Chain Asset Schema
341324
342- Each chain must include:
325+ Each chain asset must include:
343326
344327```json
345- "elys" : {
346- "chainId" : " elys-1" ,
347- "chainName" : " Elys" ,
348- "addressPrefix" : " elys" ,
349- "rpcURL" : " https://rpc.elys.network:443" ,
350- "restURL" : " https://api.elys.network:443" ,
351- "explorerURL" : {
328+ {
329+ "chainId": "elys-1",
330+ "chainName": "Elys",
331+ "addressPrefix": "elys",
332+ "rpcURL": "https://rpc.elys.network:443",
333+ "restURL": "https://api.elys.network:443",
334+ "explorerURL": {
352335 "transaction": "https://mainnet.itrocket.net/elys/tx/{transaction}"
353- },
354- "channel" : {
336+ },
337+ "channel": {
355338 "source": "",
356339 "destination": ""
357- },
358- "isEnabled" : true ,
359- "priority" : 1 ,
360- "currencies" : [
340+ },
341+ "currencies": [
361342 {
362- "coinDenom" : " ELYS" ,
363- "coinMinimalDenom " : " uelys " ,
364- "coinIbcDenom " : " " ,
365- "coinDecimals " : 6 ,
366- "coinGeckoId " : " elys " ,
367- "coinImageUrl " : " /tokens/ elys.svg " ,
368- "canSwap" : true ,
369- "isFeeCurrency" : true ,
370- "isStakeCurrency" : true ,
371- "canWithdraw" : true ,
372- "canDeposit" : true ,
373- "canUseLiquidityMining" : true ,
374- "canUseLeverageLP" : false ,
375- "canUsePerpetual" : false ,
376- "canUseVaults" : true ,
377- "gasPriceStep" : {
378- "low" : 0.01 ,
379- "average" : 0.025 ,
380- "high" : 0.03
381- }
343+ "coinDenom": "ELYS",
344+ "coinDisplayDenom ": "Elys ",
345+ "coinMinimalDenom ": "uelys ",
346+ "coinIbcDenom ": "" ,
347+ "coinDecimals ": 6 ,
348+ "coinGeckoId ": "elys",
349+ "canSwap": true,
350+ "isFeeCurrency": true,
351+ "isStakeCurrency": true,
352+ "canWithdraw": true,
353+ "canDeposit": true,
354+ "canUseLiquidityMining": true,
355+ "canUseLeverageLP": false,
356+ "canUsePerpetual": false,
357+ "canUseVaults": true,
358+ "gasPriceStep": {
359+ "low": 0.01,
360+ "average": 0.025,
361+ "high": 0.03
362+ }
382363 }
383- ]
384- }
364+ ]
365+ }
385366```
386367
387368### Quality Standards
@@ -400,7 +381,6 @@ We follow [Semantic Versioning](https://semver.org/):
400381- ** MINOR** : New assets or compatible features
401382- ** PATCH** : Bug fixes and data updates
402383
403-
404384## 🛠️ Used By
405385
406386This registry is used by:
@@ -414,5 +394,5 @@ This registry is used by:
414394## 📊 Statistics
415395
416396- 📦 ** Total Assets** : Multiple supported chains
417- - 🌍 ** Networks** : Mainnet, Testnet
418- - 🔄 ** Update Frequency** : Updates as needed
397+ - 🌍 ** Networks** : Mainnet, Testnet, Devnet
398+ - 🔄 ** Update Frequency** : Updates as needed
0 commit comments