Module: dataEntities/networks
Functions
addDefaultLocalNetwork
addDefaultLocalNetwork(): Object
Registers a custom network that matches the one created by a Nitro local node. Useful in development.
See
https://github.com/OffchainLabs/nitro
Returns
Object
Name | Type |
---|---|
l1Network | L1Network |
l2Network | L2Network |