Skip to content

Commit

Permalink
chore(bridge-ui): fix configuredChains.json validation error for loca…
Browse files Browse the repository at this point in the history
…lhost setup (#16486)
  • Loading branch information
aztecEagle22 authored Mar 20, 2024
1 parent 309c62b commit 526beaa
Showing 1 changed file with 58 additions and 15 deletions.
73 changes: 58 additions & 15 deletions packages/bridge-ui/config/sample/configuredChains.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,79 @@
"configuredChains": [
{
"123456": {
"name": "",
"name": "Chain Name 1",
"type": "L1",
"icon": "path/or/url/to/icon",
"urls": {
"rpc": "",
"explorer": ""
"icon": "path/or/url/to/icon1",
"rpcUrls": {
"default": {
"http": [
"https://rpc.chain1.url"
]
}
},
"nativeCurrency": {
"name": "Currency1",
"symbol": "SYM1",
"decimals": 18
},
"blockExplorers": {
"default": {
"name": "Explorer 1",
"url": "https://explorer.chain1.url/"
}
}
}
},
{
"78910": {
"name": "",
"name": "Chain Name 2",
"type": "L2",
"icon": "path/or/url/to/icon",
"urls": {
"rpc": "",
"explorer": ""
"icon": "path/or/url/to/icon2",
"rpcUrls": {
"default": {
"http": [
"https://rpc.chain2.url"
]
}
},
"nativeCurrency": {
"name": "Currency2",
"symbol": "SYM2",
"decimals": 18
},
"blockExplorers": {
"default": {
"name": "Explorer 2",
"url": "https://explorer.chain2.url/"
}
}
}
},
{
"98765": {
"name": "",
"name": "Chain Name 3",
"type": "L3",
"icon": "path/or/url/to/icon",
"urls": {
"rpc": "",
"explorer": ""
"icon": "path/or/url/to/icon3",
"rpcUrls": {
"default": {
"http": [
"https://rpc.chain3.url"
]
}
},
"nativeCurrency": {
"name": "Currency3",
"symbol": "SYM3",
"decimals": 18
},
"blockExplorers": {
"default": {
"name": "Explorer 3",
"url": "https://explorer.chain3.url/"
}
}
}
}
]
}

0 comments on commit 526beaa

Please sign in to comment.