Please describe your proposed solution.
Centralized order book exchanges allow fast trading but they often lack solvency proofs and ownership guarantees for your assets. Think FTX or MtGox.
Decentralized AMM exchanges are mostly secure, but those are quite slow and expensive due to slippage and “gas” fees.
Hydra L2 solution requires all parties to participate and be always online with milliseconds response, otherwise the Hydra head is closed. It’s not feasible for a large number of clients who can go offline at any moment.
COSMEX uses a novel approach that uses multiple star-shaped two-party Hydra-like state channels. This solution allows parties to join and leave trading whenever they want without disrupting others.
How does it work in a nutshell?
- Alice deposits funds into a Cosmex smart contract to open a state channe
- Alice trades off-chain using Cosmex's API as if she were using a regular exchange
- When Alice is ready to close the channel and withdraw her funds, she can send a transaction with the latest signed snapshot on-chain to initiate the proces
- To keep the channels balanced, Cosmex periodically arranges on-chain transactions that transfer funds between parties
- If Alice doesn't cooperate, Cosmex closes the channel
Overall, Cosmex's channel system provides a secure and efficient way for traders to trade off-chain with the added benefit of reducing transaction fees and increasing transaction speeds.
It's faster and cheaper than on-chain trading, yet still secure and provably solvent.
No slippage, no front-running, no flash-loans, no IOUs. Your keys – your crypto.
We will publish:
- a full whitepaper with detailed protocol description
- state channel smart contracts
- a proof of concept implementation of the exchange