Jon’s Lisk Update — June 2020
Here is my update for the month of June 2020.
Overview
This month, I spent most of my time overseeing and contributing to the development of Lisk DEX, Lisk DEX UI and the official implementation ldex.exchange.
The mission of lisk-dex
is to support a decentralized free market in which any group of people can list their tokens for trading directly against the Lisk blockchain in a decentralized way and without artificial entry barriers. My focus this month was thus to improve the user experience of Lisk DEX and to support multiple custom markets so that users can easily switch between them and get information about each one.
These changes allow lisk-dex-ui
to serve as a client application which can connect to essentially any decentralized lisk-dex
market. Launching new sidechains and then pointing the lisk-dex-ui
client application to them is now relatively simple and I plan to write a tutorial about how to do this in the near future.
Tech improvements
Lisk DEX UI
- [By Sachin] Improvements to exchange price/quantity estimator.
- [By Jong] Add support for second mechanism for getting the price history. Now the price history can be fetched directly from blockchain transactions and calculated on the front end or it can be fetched from the backend DEX node. The blockchain price is more decentralized but won’t support pagination the future. Blockchain-based price calculations can only be used to derive the most recent price history.
- [By Korben3, Sachin and Jong] UI improvements (show token units, show wallet addresses more clearly, loading progress indicators, cleaned up spacing, cleanup buttons, etc…).
- [By Sachin] Added ‘info’ icons to improve the UX.
- [By Sachin] Added new modal which shows info about each market (including fees, DEX members, DEX addresses, etc…).
- [By Jong] Added support for switching between multiple markets. Any new market added to the config file will be visible in the UI and user can now switch between them.
- [By Jong and Sachin] Improve session management so that user can be logged into multiple markets at the same time and easily trade on any of them.
- [By Jong] Added detailed instructions on how to run from source in README.
- [By Ruslan] Made a new design/layout for Lisk DEX UI.
Lisk DEX
- [By Jong] Improved how the recent price history in the
/prices/recent
endpoint is calculated. - [By Jong] Fix issue with refund not being issued if user sent a market order on an empty market. This fix was applied retroactively (blockchains were re-processed) so the affected user ended up getting their refund.
- [By Jong] Added
minimum partial take
threshold; this prevents any possible order wastage through excessive blockchain fees which used to pose a risk for market makets. This vulnerability was discovered byjong
but it was classified as low-level because it was very expensive and unreliable for an attacker to carry out and the attack did not yield any financial reward for the attacker. - [By Jong] Other minor improvements.
Donations
- Sachin (Lisk DEX UI): 1500 LSK
- Ruslan (Lisk DEX UI): 300 LSK
- Lisk DEX bug bounty: 800 LSK
Other News
This month, the largest group in the Lisk ecosystem, the Elite group has been dismantled. The activists who are behind this change have agreed to include me as part of their new 10-member group called Lisk Initiative
.
As part of this change, jong
delegate will now share 20% of rewards with voters (in accordance with the rules of the Lisk Initiative
). In addition to continued project work, I also intend to continue to donate some tokens to support independent Lisk contributors on a discretionary basis.
Note that this article is likely to be the last one in the Jon's Lisk Update
series — I will keep writing updates but in different format, likely in collaboration with the Lisk Initiative
.
Please vote for jong
To keep jong
in the top 101, please vote 10081147774228851351L