Overview
Exoswap Bridge
URL: https://app.exoswap.io/#/bridge
Exoswap bridge is a blockchain application designed to facilitate seamless token transitions between EVM chains. Our hardworking team has been focused on implementing the Nexus bridge, enabling smooth transitions between multiple chains simultaneously.
Architecturally, the beauty of Exoswap bridge lies in its simple and straightforward design, which enables fast and cost-effective transactions for transferring tokens between EVM chains.
Tutorial
- Bridge interaction 🎥 Your first Exoswap STOS
Comparison chart between another bridge implementations (with Ethereum)
| Stratos (Exoswap) | Polygon (Plasma) | Polygon (PoS) | Celo (Optics) | |
|---|---|---|---|---|
| Centralization | Semi-centralized | Decentralized | Decentralized | Semi-centralized |
| Use proxy | yes | no | no | yes |
| Supported chains | Ethereum Stratos | Ethereum Polygon | Ethereum Polygon | Ethereum Celo |
| Max process duration | ~4-5 minutes | ~7 days | ~35-37 minutes | ~6-8 hours |
Description of workflow
Currently, developers can use Exoswap Bridge for specific needs to automate DEX cross-chain usage behind our contracts with the help of cosigners handling. Cosigner, shortly, is the one who verifies and signs transactions for validity, providing its proof. The group of cosigners is called the verifier group, which regulates token pegging, detects fraud, and oraclizes network information.
The native chain used to create the bridge is the Stratos network, harnessing the power of EVM and referred to as the Exoswap bridge.
Exoswap bridge has a three-steps architecture, hovewer tokens logics differ in case of token original transfers. Let's introduce a quick example.
The native currency on the Stratos is STOS token. In case of Ethereum it's pegged representation will be STOS (means mintable). So STOS token is mintable token and native STOS is original. In combination it represent the following schema for user when he cross-chain transfer from Stratos to Ethereum:
- Locking STOS amount on the Stratos bridge;
- Obtain exoswap signatures for proof;
- Ethereum bridge mints exoswap token representation in the same equivalent as STOS token;
So it is always 1-1 representation for the token. The next scenario, when user wants to get a donored token back, next schema will be applied:
- Ethereum bridge burns STOS exoswap token representation;
- Obtain exoswap signatures for proof;
- Unlock STOS amount on the Stratos in the same equivalent;
In terms of smart contract functionality, only 2 transactions will be used:
Briefly:
- All cross chain tokens have 1-to-1 equivalent;
- Only two transactions used - enter (on source chain) and exit (on target chain);
- Each exit requires exoswap proof;
Token issuing flow
As example let's take Stratos to Ethereum flow
NOTE: same flow for all cross-chains EVM networks
Start flow:
- User send his crypto to a bridge on Stratos network (enter / enterETH);
- Stratos network will store info about this operation, will lock if token is original or burn if token is mintable;
- Exoswap verifier will see the commit result of enter operation and should ask SAO for validate a proof;
- SAO roundrobinly will sign the transactions with 2/3 voting power and will make it available for user;
- If bridge tx could cover execution fee, relayer will be used;
If no:
- (U6a) User obtain exoswap's signatures for next process;
- (U6b) User send transaction to a bridge on Ethereum network (exit) with obtained signatures;
If yes:
- (R6) Relayer send transaction on behalf to a bridge on Ethereum network (exit) with obtained signatures;
Rest flow:
- Ethereum network will store info about this operation, will unlock the 1-to-1 equivalent of tokens if token is original or mint 1-to-1 equivalent if token is mintable;
- User receive funds after successfull execution;
Smart contracts stack
Exoswap bridge maintains a set of smart contracts on Stratos, Ethereum, Binance, Matic, which handle the following:
- Bridge Token contract which is a exoswap token equivalent for donor token;
- Bridge Token Manager for verification 1-to-1 connection;
- Bridge Cosigner Manager verificator for exoswap;
- Bridge Router the main orchestrator for all 3 contracts above;