Langstroth

QUOIN - The on-chain HIVE/HBD desktop trading app I have been vibe coding

by @igormuba · 0 votes · 0.000 HBD
<img src="https://i.ecency.com/DQmNot795GeA3pTJ6ksfNHunxP1g4YW76tCzf8JossyPCmS/quoin_banner.png" alt="" /> I have been vibe coding another personal project on my free time. This one is called **QUOIN**: [https://quoin.my/](https://quoin.my/) QUOIN is a desktop app for trading on Hive's internal HIVE / HBD market. I decided to build it because I like trading interfaces with a price ladder, particularly the SuperDOM style interface where you can see the book vertically and interact directly with price levels. Hive has its own internal market, so I thought: why not build the trading app I would like to use for it? It is an initial release. There are known bugs and surely unknown bugs too. I am not presenting it as a finished professional trading platform and obviously I am not promising anyone will make money with it. It is a usable first version of an idea I find interesting, and I think some people on Hive may find it useful too. # Swap, Trade and Pro QUOIN has three screens depending on how much control you want. **Swap**, basic, other frontends have it. It is the simple one. You enter how much HIVE or HBD you want to trade, the app walks the current order book, estimates what you receive and shows the worst price before anything is sent. You can set slippage and simulate first. ![](https://i.ecency.com/DQmcpZULgzJ3vrRKkaUTzYGWp16wByCv2QfXqRHFrwZFPrW/quoin_swap.png) **Trade** is the regular order ticket, many other frontends have it. You can create limit, aggressive-limit and fill-or-kill orders and cancel open orders. **Pro** is where the more interesting part is: the SuperDOM. Giving the internal market a SuperDOM, the sole reason for this app to exist! I used to trade on the brazilian stock market and I am used with the SuperDOM interface and can't trade confidently without! It is what professional and flow order following traders use to have an edge! It is also used to easily book range orders to profit from market volatility! I highly encourage you to search more about what SuperDOM is and how it works, it is truly a wonder trading and it baffles me so many big exchanges do not have it!!! ![](https://i.ecency.com/DQmNot795GeA3pTJ6ksfNHunxP1g4YW76tCzf8JossyPCmS/quoin_superdom.png) >(excuse my ugly interface, the pro screen is composable, I just dragged and drop the tools I use the most for trading, you can rearrange them as you want!!) The ladder shows bids and asks vertically. You click a price territory once to preview an order and click again to send it. It is like trading but on the book. The panels can be moved, resized and added to the workspace. # Stop orders It also has local stop-limit watchers. Hive does not provide native stop orders, so QUOIN watches the market locally while the app is open and submits a bounded limit order when the trigger crosses. It also handles a price jumping across the trigger, but it is not a guaranteed fill: a fast gap can leave the limit order resting. Very useful, I used to use on the brazilian stock market to stop losses or catch pumps on fast intraday news-led movements! # Signing with Keychain Mobile For the initial release, QUOIN pairs with Keychain Mobile through HiveAuth. You scan a QR once and approve each order on your phone, or scan the QR code individually for each orders if you don't want to authenticate. ![](https://i.ecency.com/DQmYxRdDVZHqdwkooEjcDQCPsa78vK6cTJuQ6gKB4qgfvg3/quoin_hiveauth_flow.png) QUOIN does not need its own backend for this flow. All runs in your computer + your phone (for the keychain signing). The desktop app builds the Hive operation and encrypts the signing request. The HiveAuth relay moves the encrypted request to Keychain Mobile. You review it, approve it on your phone and Keychain broadcasts the transaction. There is also a more manual fallback where QUOIN generates a local `hive://` QR for each operation. Personally I recommend signing in (with the QR code under settings) so you just need to approve the transactions […]