2022-08-28 10:25:46 +00:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/schema#",
|
|
|
|
"title": "EIP155 Chain Data",
|
|
|
|
"type":"object",
|
|
|
|
"required": ["name","shortName","chain","chainId","networkId","rpc","faucets","infoURL","nativeCurrency"],
|
|
|
|
"properties": {
|
|
|
|
"name":{
|
|
|
|
"type":"string",
|
|
|
|
"description": "Name of the Network"
|
|
|
|
},
|
|
|
|
"shortName":{
|
2022-08-30 16:48:47 +00:00
|
|
|
"type":"string",
|
|
|
|
"pattern": "^[A-Za-z0-9-_]{1,64}$"
|
2022-08-28 10:25:46 +00:00
|
|
|
},
|
|
|
|
"title":{
|
|
|
|
"type":"string",
|
|
|
|
"description": "Optional title for the Network"
|
|
|
|
},
|
|
|
|
"chain":{
|
|
|
|
"type":"string",
|
|
|
|
"description": "Name of the Network"
|
|
|
|
},
|
|
|
|
"icon":{
|
|
|
|
"type":"string",
|
|
|
|
"description": "Icon type"
|
|
|
|
},
|
|
|
|
"rpc":{
|
|
|
|
"type":"array",
|
|
|
|
"items":{
|
|
|
|
"type":"string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"faucets":{
|
|
|
|
"type":"array",
|
|
|
|
"items":{
|
|
|
|
"type":"string"
|
|
|
|
}
|
|
|
|
},
|
2022-11-23 21:11:33 +00:00
|
|
|
"features":{
|
|
|
|
"type":"array",
|
|
|
|
"items":{
|
|
|
|
"type":"object",
|
|
|
|
"properties": {
|
|
|
|
"name":{
|
|
|
|
"type":"string",
|
|
|
|
"description": "feature name - e.g. EIP155"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nativeCurrency":{
|
2022-08-28 10:25:46 +00:00
|
|
|
"type":"object",
|
|
|
|
"properties": {
|
|
|
|
"name":{
|
|
|
|
"type":"string",
|
|
|
|
"description":"Name of the Native Currency"
|
|
|
|
},
|
|
|
|
"symbol":{
|
|
|
|
"type":"string",
|
|
|
|
"description":"Symbol of the Native Currency"
|
|
|
|
},
|
|
|
|
"decimals":{
|
|
|
|
"type":"number",
|
|
|
|
"description":"Decimal points supported"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"infoURL":{
|
|
|
|
"type":"string",
|
|
|
|
"description": "infoURL"
|
|
|
|
},
|
|
|
|
"chainId":{
|
|
|
|
"type":"number",
|
|
|
|
"description": "Chain ID of the Network"
|
|
|
|
},
|
|
|
|
"networkId":{
|
|
|
|
"type":"number",
|
|
|
|
"description": "Network ID of the Network"
|
|
|
|
},
|
|
|
|
"slip44":{
|
|
|
|
"type":"number",
|
|
|
|
"description": "Slip44 of the Network"
|
|
|
|
},
|
|
|
|
"ens":{
|
|
|
|
"type":"object",
|
|
|
|
"properties": {
|
|
|
|
"registry":{
|
|
|
|
"type":"string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"explorers":{
|
|
|
|
"type":"array",
|
|
|
|
"items":{
|
|
|
|
"type":"object",
|
|
|
|
"properties": {
|
|
|
|
"name":{
|
|
|
|
"type":"string"
|
|
|
|
},
|
|
|
|
"url":{
|
|
|
|
"type":"string"
|
|
|
|
},
|
|
|
|
"standard":{
|
|
|
|
"type":"string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parent":{
|
|
|
|
"type":"object",
|
|
|
|
"properties": {
|
|
|
|
"type":{
|
|
|
|
"type":"string"
|
|
|
|
},
|
|
|
|
"chain":{
|
|
|
|
"type":"string"
|
|
|
|
},
|
|
|
|
"bridges":{
|
|
|
|
"type":"array",
|
|
|
|
"items": {
|
|
|
|
"type":"object",
|
|
|
|
"properties":{
|
|
|
|
"url": {
|
|
|
|
"type":"string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"status":{
|
|
|
|
"type":"string"
|
2022-08-28 16:24:53 +00:00
|
|
|
},
|
|
|
|
"redFlags":{
|
|
|
|
"type":"array",
|
|
|
|
"items":{
|
|
|
|
"type":"string",
|
|
|
|
"enum": ["reusedChainId"]
|
|
|
|
}
|
|
|
|
|
2022-08-28 10:25:46 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2022-11-23 21:11:33 +00:00
|
|
|
}
|