Commit f08c06a8 authored by Kelvin Fichter's avatar Kelvin Fichter

feat(sdk): add default bridges for local network

parent fd6f47d3
---
'@eth-optimism/sdk': patch
---
Updates the SDK to include default bridges for the local Optimism network (31337)
...@@ -172,6 +172,18 @@ export const BRIDGE_ADAPTER_DATA: { ...@@ -172,6 +172,18 @@ export const BRIDGE_ADAPTER_DATA: {
l2Bridge: predeploys.L2StandardBridge, l2Bridge: predeploys.L2StandardBridge,
}, },
}, },
31337: {
Standard: {
Adapter: StandardBridgeAdapter,
l1Bridge: CONTRACT_ADDRESSES[31337].l1.L1StandardBridge,
l2Bridge: predeploys.L2StandardBridge,
},
ETH: {
Adapter: ETHBridgeAdapter,
l1Bridge: CONTRACT_ADDRESSES[31337].l1.L1StandardBridge,
l2Bridge: predeploys.L2StandardBridge,
},
},
} }
// TODO: PR is big enough as-is, will add support for SNX in another PR // TODO: PR is big enough as-is, will add support for SNX in another PR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment