diff --git a/packages/bridge-ui/config/schemas/configuredChains.schema.json b/packages/bridge-ui/config/schemas/configuredChains.schema.json index 2ba1ebaa98b..8f68b41d05f 100644 --- a/packages/bridge-ui/config/schemas/configuredChains.schema.json +++ b/packages/bridge-ui/config/schemas/configuredChains.schema.json @@ -5,9 +5,6 @@ "type": "array", "items": { "type": "object", - "propertyNames": { - "pattern": "^[0-9]+$" - }, "additionalProperties": { "type": "object", "properties": { @@ -20,20 +17,59 @@ "type": { "type": "string" }, - "urls": { + "rpcUrls": { "type": "object", "properties": { - "rpc": { + "default": { + "type": "object", + "properties": { + "http": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["http"] + } + }, + "required": ["default"] + }, + "nativeCurrency": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "explorer": { + "symbol": { "type": "string" + }, + "decimals": { + "type": "integer" + } + }, + "required": ["name", "symbol", "decimals"] + }, + "blockExplorers": { + "type": "object", + "properties": { + "default": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": ["name", "url"] } }, - "required": ["rpc", "explorer"] + "required": ["default"] } }, - "required": ["name", "icon", "type", "urls"] + "required": ["name", "icon", "type", "rpcUrls", "nativeCurrency", "blockExplorers"] } } } diff --git a/packages/bridge-ui/src/components/Bridge/NFTBridgeComponents/ReviewStep/ReviewStep.svelte b/packages/bridge-ui/src/components/Bridge/NFTBridgeComponents/ReviewStep/ReviewStep.svelte index 4d76c7d378d..11c015072cb 100644 --- a/packages/bridge-ui/src/components/Bridge/NFTBridgeComponents/ReviewStep/ReviewStep.svelte +++ b/packages/bridge-ui/src/components/Bridge/NFTBridgeComponents/ReviewStep/ReviewStep.svelte @@ -97,7 +97,7 @@