Original title: "Gliaswap, a DEX demonstration project on Nervos, will be launched soon"
Original source: Nervos Chinese Community
After two After months of closed development, we are proud to announce that Gliaswap, a new cross-chain DEX demo, is coming to the Nervos ecosystem.
Gilaswap is a demonstration project built on Layer 2 of Nervos, showing the Nervos ecology and the huge potential of Interoperability 2.0. This is an important step towards Nervos DeFi infrastructure and decentralized exchanges. Gliaswap can make it easier and more efficient for users to trade and earn encrypted assets on various chains.
Gliaswap is an open source project based on the terms of the MIT License, so anyone is welcome to copy, modify and display their own version . Currently, Gliaswap has been deployed on our testnet Aggron: https://docs- old.nervos.org/dev-guide/testnet
The current blockchain and cryptocurrency industry is particularly fragmented. Users who want to trade in the decentralized world may find that when they participate in DeFi, they must install wallets on various chains and create accounts on different chains. Thanks to the support of pw-sdk, on Gliaswap, you don't need to install a CKB-specific wallet or create a CKB-specific account. Instead, you can simply use your existing wallet and account to connect to Gliaswap.
Gliaswap can support most mainstream wallets, such as most Ethereum wallets and Tron wallets and more. And Gliaswap can operate in a "non-custodial" manner, which means you don't need to deposit assets with a third party. Simply connect your Ethereum wallet and you can start placing orders or injecting Gliaswap's liquidity.
Currently, Gliaswap, an open source DEX, already supports Metamask and WalletConnect in the Alpha version of the test network, and we are actively working on supporting it More wallets and public chains.
One simple step, you can use Ethereum assets to buy CKB!
Gliaswap supports one-step cross-chain transactions between Ethereum and Nervos, which means that users When exchanging your own ETH for CKB, you only need to sign a transaction once. This action will be carried out in a decentralized manner with the help of the Force Bridge cross-chain protocol. At present, some DEXs have integrated cross-chain functions.
However, users usually need to make two or three transactions on these DEXs to complete this process, and users also need to have current Some cross-chain knowledge to conduct these transactions makes it difficult for new users to join. In Gliaswap, user experience is our top priority in this demonstration project. Through Force Bridge, we will bring users a new cross-chain experience. Just connect your MetaMask wallet on Gliaswap and use your ether to buy CKB in one transaction!
This is very similar to the experience of trading on a centralized exchange, or even better, because users do not need to create a new account, deposit their assets into a third-party wallet, but use their own wallet to control all their assets.
Through a more friendly environment, let everyone trade and make profits on Gliaswap
Limit orders are now supported
p>
On Gliaswap, you can arrange your buy and sell orders. In most automated market maker (AMM) DEXs, users can only exchange tokens instantly at market prices, which is not enough for professional traders.
Using the trading platform of Gliaswap, a demonstration project, you can use A specific range (such as an asset's price range) to seamlessly schedule recurring buy or sell orders. Your order will be automatically matched with other orders or liquidity pools. In the Alpha version, you can already place limit orders on the chain. In addition, of course we also provide market price pending orders, which will help you better understand the current market.

Inject or withdraw liquidity through price limit
If you are an automated liquidity provider, you can also earn transaction fees in the pool on Gliaswap. But what is different from other Amm pools is that Gliaswap provides a brand new way for liquidity providers to minimize impermanent losses.
When you deposit your assets in the liquidity pool, if there is any change in the asset price, impermanent losses will occur. Larger price changes bring larger impermanent losses. But on Gliaswap, you can still deal with impermanent losses. Because you can set a price range, that is to say, when the price increases or decreases within the range you set, your liquidity can be automatically injected or withdrawn from the pool. In the next version of Gliaswap, we will release this feature.
Another great thing here is that there is no centralized matching contract or matching party on Gliaswap, so anyone can come and become a deal miner (deal miner) and match orders.
Like a system executor, matching miners will retrieve order cells and flow pool cells on the entire chain , and then race to match those orders by submitting matching transactions. The winner of this matching competition will receive the transaction commission requested in the order. However, since CKB does not charge any fees for failed transactions, other matching miners have nothing to lose.
We open source a simple matching miner software to meet basic purposes. How to deploy as a matching miner can be found in our GitHub: https://github.com/glias/deal -maker-cli
This software is just a starting point for you to develop own solution. You can maximize returns by discovering and implementing your optimization strategies.
Gliaswap is adopted It is the Glia protocol, which is an open source protocol for decentralized exchanges on Nervos CKB. The goal is to establish a networked liquidity layer, which will allow various businesses to share the liquidity network of CKB assets based on this.
In the Glia protocol both orders and flow pools represent flows sex. Any order represents the user's commitment to exchange a certain asset for another specified asset at a certain price, and then the liquidity pool represents the commitment of many users. The Glia protocol standardizes the format of orders and the format of liquidity pools to standardize these commitments. Any dApp—not only DEXs, but other dApps that require integrated trading functions—can share liquidity by following the format specified in the Glia protocol. This will allow for a huge pool of "network liquidity" on Nervos.
Gliaswap will be the first DEX to adopt the Glia protocol. We believe that while many dApps are built on top of the Glia protocol, Gliaswap will leverage network liquidity to provide our users with the best prices and fastest trading experience.
The following is the roadmap of Gliaswap, an open source demonstration project. Will continue until Q2 2021.
December 2020
< /p>
-Support sUDT/CKB limit orders and cross-chain transactions on the test network
2021 Q1
2021 Q1
p>
-AMM flow pool supporting sUDT/CKB on testnet
2021 Q2
-Support sUDT/ sUDT limit order and pool
Now, in the Nervos ecosystem The MAKE team, which builds developer tools, has made a Gliaswap demo and made it open source.
December 17th (Thursday) morning Beijing time , at Nervos and Cointelegraph events, Nervos core developers will demonstrate the Gliaswap demo live. Everyone is welcome to come and watch! https://www.youtube.com/watch?v=X2rqb1f7ZKI&feature =youtu.be
For more information about Gliaswap, welcome friends to come and explore:https://github.com/glias
Original link
Welcome to join the official BlockBeats community:
Telegram Subscription Group: https://t.me/theblockbeats
Telegram Discussion Group: https://t.me/BlockBeats_App
Official Twitter Account: https://twitter.com/BlockBeatsAsia