Skip to content

Commit

Permalink
Preconfigured netwroks to test (#384)
Browse files Browse the repository at this point in the history
* initial implementation

* refactoring

* extract methods, refactoring

* add method addign info, fixes

* add print to console for controlling

* add check for existing networks in file and chain details

* fixes

* fix invalid chainId

* process unavailable connections

* add check for existing wss nodes

* * fix chain naming to distinguish networks
* fix fetching several array constants from pjs ts file

* networks to test

* remove GM to test
  • Loading branch information
leohar authored Aug 16, 2024
1 parent 0275225 commit 69f5575
Showing 1 changed file with 0 additions and 55 deletions.
55 changes: 0 additions & 55 deletions chains/v20/chains_dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -7501,61 +7501,6 @@
"supportsGenericLedgerApp": true
}
},
{
"chainId": "19a3733beb9cb8a970a308d835599e9005e02dc007a35440e461a451466776f8",
"parentId": "b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe",
"name": "GM",
"assets": [
{
"assetId": 0,
"symbol": "FREN",
"precision": 12,
"icon": "https://raw.githubusercontent.com/novasamatech/nova-utils/master/icons/tokens/white/FREN.svg"
},
{
"assetId": 1,
"symbol": "GM",
"precision": 0,
"icon": "https://raw.githubusercontent.com/novasamatech/nova-utils/master/icons/tokens/white/GM.svg",
"type": "orml",
"typeExtras": {
"currencyIdScale": "0x01",
"currencyIdType": "gm_chain_runtime.Coooooins",
"existentialDeposit": "0",
"transfersEnabled": true
}
},
{
"assetId": 2,
"symbol": "GN",
"precision": 0,
"icon": "https://raw.githubusercontent.com/novasamatech/nova-utils/master/icons/tokens/white/GN.svg",
"type": "orml",
"typeExtras": {
"currencyIdScale": "0x02",
"currencyIdType": "gm_chain_runtime.Coooooins",
"existentialDeposit": "0",
"transfersEnabled": true
}
}
],
"nodes": [
{
"url": "wss://ws.gm.bldnodes.org",
"name": "bLd node"
}
],
"externalApi": {
"history": [
{
"type": "subquery",
"url": "https://api.subquery.network/sq/nova-wallet/nova-wallet-gm-network"
}
]
},
"icon": "https://raw.githubusercontent.com/novasamatech/nova-utils/master/icons/chains/gradient/GM.svg",
"addressPrefix": 7013
},
{
"chainId": "cceae7f3b9947cdb67369c026ef78efa5f34a08fe5808d373c04421ecf4f1aaf",
"parentId": "b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe",
Expand Down

0 comments on commit 69f5575

Please sign in to comment.