HACD DEX User Manual

Hacash Wizard
Hacash.Diamonds
Published in
3 min readAug 28, 2023

This article contains the basic introduction and instruction of HACD DEX.

Introduction:

  • Settle via HAC
  • 3% transaction fee per trade
  • Complete transactions with an offline desktop wallet for enhanced private key security
  • Secure on-chain transactions of HAC and HACD through Hacash flawless readable contracts

Instruction:

Step 1: Log in to https://dex.hacash.diamonds/dex or https://dex.hacash.com/dex. The liquidity is shared between the two.

Step 2: Determine your role as a buyer or a seller. There are two trade paths, referred to as Path A and Path B.

Path A:

Buyer: Create a buy order to acquire specific HACD.

Seller: Check if there are suitable buy orders for your HACD to sell.

Path B:

Seller: Create a sell order to trade the HACD from the same address.

Buyer: Check if there are suitable sell orders for your desired HACD to buy.

Furthermore, there’s an additional method where buyers and sellers can execute transactions off-platform. Due to mutual distrust, these transactions can be conducted through DEX.

Step 3: Execute buy or sell actions using Path A or Path B.

Path A — Buyer:

  1. Click “BUY”.
  2. Input the address of the desired HACD you wish to buy (viewable through https://explorer.hacash.org/#hacdvs), your buying address, and your price for HAC (price must exceed 10 HAC).
  3. After confirmation, a “transaction body” will be generated. Download and open the desktop wallet, click “Sign the tx,” copy the transaction body to wallet “Transaction body hex string”, and input your private key for “Do sign on demand”, paste the “signed txbody” to “Tx body of signed”, and click the button “Confirm to buy”.
trascation body
Sign the tx
signed txbody
Tx body of signed

Path A — Seller:

  1. Click “I’m seller”.
  2. Download and open the desktop wallet, click “Sign the tx,” copy the transaction body to wallet “Transaction body hex string”, and input your private key for “Do sign on demand”, paste the “signed txbody” to “Tx body of signed”, and click the button “Confirm sell” to complete the trade.
I’m seller

Path B — Seller:

  1. Click “Sell”.
  2. Input the address of the HACD you want to sell, your selling address, and your price for HAC (price must exceed 10 HAC).
  3. After confirmation, a “data” will be generated. Download and open the desktop wallet, click “Sign some data”, copy the data to wallet “data for sign”, input your private key for “Do sign”, paste the “Signature data” and click the button “Confirm to sell”.
Sign some data

4. The sell order is signed by the buyer and a transaction body is generated. Copy the transaction body to wallet “Transaction body hex string”, and input your private key for “Do sign on demand”, paste the “signed txbody” to “Tx body of signed”, and click the button “Confirm sell” to complete the trade.

Path B — Buyer:

  1. Click “I’m buyer”.
  2. Download and open the desktop wallet, click “Sign tx,” copy the transaction body to wallet “Transaction body hex string”, and input your private key for “Do sign on demand”, paste the “signed txbody” to “Tx body of signed”, and click the button “Confirm to buy”.

--

--