Validate Shortname (#1510)

* Validate Shortname with Max Length of 64

* Removed Spaces from `shortName`
This commit is contained in:
Ashutosh Kumar 2022-08-30 22:18:47 +05:30 committed by GitHub
parent a9ce14c960
commit 16bc050927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 23 additions and 22 deletions

View File

@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://www.oychain.io",
"shortName": "oychain testnet",
"shortName": "OYchainTestnet",
"chainId": 125,
"networkId": 125,
"slip44": 125,

View File

@ -12,7 +12,7 @@
},
"infoURL": "https://www.oychain.io",
"shortName": "oychain mainnet",
"shortName": "OYchainMainnet",
"chainId": 126,
"networkId": 126,
"slip44": 126,

View File

@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://www.trust.one/",
"shortName": "Trust testnet",
"shortName": "TrustTestnet",
"chainId": 15555,
"networkId": 15555,
"explorers": [

View File

@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://callisto.network",
"shortName": "clo testnet",
"shortName": "CLOTestnet",
"chainId": 20729,
"networkId": 79
}

View File

@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://functionx.io/",
"shortName": "f(x)Core",
"shortName": "FxCore",
"chainId": 530,
"networkId": 530,
"icon": "fxcore",

View File

@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://nahmii.io",
"shortName": "Nahmii testnet",
"shortName": "NahmiiTestnet",
"chainId": 5553,
"networkId": 5553,
"icon": "nahmii",

View File

@ -15,7 +15,7 @@
"decimals": 18
},
"infoURL": "https://riseofthewarbots.com/",
"shortName": "Rise of the Warbots Testnet",
"shortName": "RiseOfTheWarbotsTestnet",
"chainId": 7777,
"networkId": 7777,
"explorers": [

View File

@ -9,7 +9,8 @@
"description": "Name of the Network"
},
"shortName":{
"type":"string"
"type":"string",
"pattern": "^[A-Za-z0-9-_]{1,64}$"
},
"title":{
"type":"string",