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

@ -10,7 +10,7 @@
"decimals": 18
},
"infoURL": "https://ultron.foundation",
"shortName": "Ultron Testnet",
"shortName": "UltronTestnet",
"chainId": 1230,
"networkId": 1230,
"explorers": [

View File

@ -10,7 +10,7 @@
"decimals": 18
},
"infoURL": "https://ultron.foundation",
"shortName": "Utron Mainnet",
"shortName": "UtronMainnet",
"chainId": 1231,
"networkId": 1231,
"explorers": [

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://sherpax.io/",
"shortName": "Sherpax Testnet",
"shortName": "SherpaxTestnet",
"chainId": 1507,
"networkId": 1507,
"explorers": [

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://boba.network",
"shortName": "Boba Rinkeby",
"shortName": "BobaRinkeby",
"chainId": 28,
"networkId": 28,

View File

@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://telos.net",
"shortName": "Telos EVM",
"shortName": "TelosEVM",
"chainId": 40,
"networkId": 40,
"explorers": [

View File

@ -14,7 +14,7 @@
"decimals": 18
},
"infoURL": "https://boba.network",
"shortName": "Bobaopera Testnet",
"shortName": "BobaoperaTestnet",
"chainId": 4051,
"networkId": 4051,
"explorers": [

View File

@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://telos.net",
"shortName": "Telos EVM Testnet",
"shortName": "TelosEVMTestnet",
"chainId": 41,
"networkId": 41
}

View File

@ -14,7 +14,7 @@
"decimals": 18
},
"infoURL": "https://boba.network",
"shortName": "Bobafuji Testnet",
"shortName": "BobafujiTestnet",
"chainId": 4328,
"networkId": 4328,
"explorers": [

View File

@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://autobahn.network",
"shortName": "Autobahn Network",
"shortName": "AutobahnNetwork",
"chainId": 45000,
"networkId": 45000,
"icon": "autobahn",

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

@ -18,7 +18,7 @@
"decimals": 18
},
"infoURL": "https://ont.io/",
"shortName": "Ontology Mainnet",
"shortName": "OntologyMainnet",
"chainId": 58,
"networkId": 58,
"explorers": [

View File

@ -18,7 +18,7 @@
"decimals": 18
},
"infoURL": "https://ont.io/",
"shortName": "Ontology Testnet",
"shortName": "OntologyTestnet",
"chainId": 5851,
"networkId": 5851,
"explorers": [

View File

@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://eoscommunity.org/",
"shortName": "EOS Mainnet",
"shortName": "EOSMainnet",
"chainId": 59,
"networkId": 59,
"explorers": [

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,7 @@
"decimals": 18
},
"infoURL": "https://www.cryptokylin.io/",
"shortName": "Kylin Testnet",
"shortName": "KylinTestnet",
"chainId": 95,
"networkId": 95,
"explorers": [

View File

@ -14,7 +14,7 @@
"decimals": 18
},
"infoURL": "https://boba.network",
"shortName": "Boba BNB Testnet",
"shortName": "BobaBNBTestnet",
"chainId": 9728,
"networkId": 9728,
"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",