▫️Architecture
Architecture - WebGlide
Last updated
Architecture - WebGlide
Last updated
Offchain agents and a collection of smart contracts make up the WebGlide protocol.
The smart contracts of WebGlide serve as the protocol's interaction with the ecosystem's diverse range of users. There are agreements for managing asset registration, processing WebGcall
, and providing liquidity for routers and stableswap LPs.
The full contract stack consists of the following components.
sends and manages communications pertaining to cross-chain money transfers. funds are held in trust for reliable swaps, quick liquidity, and canonical assets.
The WebGlide contract follows the Diamond design, and as a result, it has a number of Facets that serve as logical partitions between different functional groups. Facets can be updated independently and share contract storage.
Routers are liquidity providers who, in exchange for payment, give users on the destination chain access to immediate liquidity. There is no minimum liquidity needed to participate in the protocol as a router; anybody can do so! An essential function for the WebGlide protocol is provided by routers.
The sequencer gathers bids from all chains and chooses a router or routers at random to execute them. A single transaction can be completed by any number of routers, which is very helpful for big transfers. In order to send these bids to chain, the sequencer will publish batches of them to a relayer network.
Relayers are a decentralised network of infrastructure managers that, in return for a modest charge, may carry out smart contract transactions on a user's behalf. Relayers are crucial to complete a cross-chain transaction since the final leg must be executed on the destination domain.