Adding a New Network
Explains how networks can be added to the protocol
Contract Implementation
Implement PreHTLC standards in the network.
LP Agent Implementation
If there is no existing implementation (e.g., EVM), implement the LP Agent Chain Library for the new network (functions for interacting with deployed PreHTLC contracts on specific chains).
Run LP
Run an LP for two networks—one well connected to others (already active LPs) and the new network.
Register LP
Register the LP and PreHTLC addresses in the Discovery contract.
dApp Implementation
If there is no existing implementation (e.g., EVM), implement the Client Chain Library for the new network (functions for interacting with wallets on specific chains, subscribing to contract events, and composing user transactions).
dApp Deploy
Create a pull request for a popular bridge UI or fork and deploy a separate UI.
These steps can be performed independently without needing permission or interaction with any party or entity. At this stage, anyone can transfer assets to the new network. The network-adding process in the Layerswap protocol is similar to adding an ERC20 token to the Uniswap protocol, making bridging trustless and permissionless.
Was this page helpful?