Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate Shortname #1510

Merged
merged 2 commits into from
Aug 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _data/chains/eip155-1230.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"decimals": 18
},
"infoURL": "https://ultron.foundation",
"shortName": "Ultron Testnet",
"shortName": "UltronTestnet",
"chainId": 1230,
"networkId": 1230,
"explorers": [
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-1231.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"decimals": 18
},
"infoURL": "https://ultron.foundation",
"shortName": "Utron Mainnet",
"shortName": "UtronMainnet",
"chainId": 1231,
"networkId": 1231,
"explorers": [
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-125.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://www.oychain.io",
"shortName": "oychain testnet",
"shortName": "OYchainTestnet",
"chainId": 125,
"networkId": 125,
"slip44": 125,
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-126.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},

"infoURL": "https://www.oychain.io",
"shortName": "oychain mainnet",
"shortName": "OYchainMainnet",
"chainId": 126,
"networkId": 126,
"slip44": 126,
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-1507.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://sherpax.io/",
"shortName": "Sherpax Testnet",
"shortName": "SherpaxTestnet",
"chainId": 1507,
"networkId": 1507,
"explorers": [
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-15555.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://www.trust.one/",
"shortName": "Trust testnet",
"shortName": "TrustTestnet",
"chainId": 15555,
"networkId": 15555,
"explorers": [
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-20729.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://callisto.network",
"shortName": "clo testnet",
"shortName": "CLOTestnet",
"chainId": 20729,
"networkId": 79
}
2 changes: 1 addition & 1 deletion _data/chains/eip155-28.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://boba.network",
"shortName": "Boba Rinkeby",
"shortName": "BobaRinkeby",
"chainId": 28,
"networkId": 28,

Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-40.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://telos.net",
"shortName": "Telos EVM",
"shortName": "TelosEVM",
"chainId": 40,
"networkId": 40,
"explorers": [
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-4051.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"decimals": 18
},
"infoURL": "https://boba.network",
"shortName": "Bobaopera Testnet",
"shortName": "BobaoperaTestnet",
"chainId": 4051,
"networkId": 4051,
"explorers": [
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-41.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://telos.net",
"shortName": "Telos EVM Testnet",
"shortName": "TelosEVMTestnet",
"chainId": 41,
"networkId": 41
}
2 changes: 1 addition & 1 deletion _data/chains/eip155-4328.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"decimals": 18
},
"infoURL": "https://boba.network",
"shortName": "Bobafuji Testnet",
"shortName": "BobafujiTestnet",
"chainId": 4328,
"networkId": 4328,
"explorers": [
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-45000.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://autobahn.network",
"shortName": "Autobahn Network",
"shortName": "AutobahnNetwork",
"chainId": 45000,
"networkId": 45000,
"icon": "autobahn",
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-530.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://functionx.io/",
"shortName": "f(x)Core",
"shortName": "FxCore",
"chainId": 530,
"networkId": 530,
"icon": "fxcore",
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-5553.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://nahmii.io",
"shortName": "Nahmii testnet",
"shortName": "NahmiiTestnet",
"chainId": 5553,
"networkId": 5553,
"icon": "nahmii",
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-58.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"decimals": 18
},
"infoURL": "https://ont.io/",
"shortName": "Ontology Mainnet",
"shortName": "OntologyMainnet",
"chainId": 58,
"networkId": 58,
"explorers": [
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-5851.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"decimals": 18
},
"infoURL": "https://ont.io/",
"shortName": "Ontology Testnet",
"shortName": "OntologyTestnet",
"chainId": 5851,
"networkId": 5851,
"explorers": [
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-59.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://eoscommunity.org/",
"shortName": "EOS Mainnet",
"shortName": "EOSMainnet",
"chainId": 59,
"networkId": 59,
"explorers": [
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-7777.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"decimals": 18
},
"infoURL": "https://riseofthewarbots.com/",
"shortName": "Rise of the Warbots Testnet",
"shortName": "RiseOfTheWarbotsTestnet",
"chainId": 7777,
"networkId": 7777,
"explorers": [
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-95.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"decimals": 18
},
"infoURL": "https://www.cryptokylin.io/",
"shortName": "Kylin Testnet",
"shortName": "KylinTestnet",
"chainId": 95,
"networkId": 95,
"explorers": [
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-9728.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"decimals": 18
},
"infoURL": "https://boba.network",
"shortName": "Boba BNB Testnet",
"shortName": "BobaBNBTestnet",
"chainId": 9728,
"networkId": 9728,
"explorers": [
Expand Down
3 changes: 2 additions & 1 deletion tools/schema/chainSchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"description": "Name of the Network"
},
"shortName":{
"type":"string"
"type":"string",
"pattern": "^[A-Za-z0-9-_]{1,64}$"
},
"title":{
"type":"string",
Expand Down