此網頁僅供信息參考之用。部分服務和功能可能在您所在的司法轄區不可用。

DEX Trading: How to trade on OKX DEX

Decentralized exchanges have gained traction in the crypto community following the decentralized finance boom of 2020. In July this year, DEXs set a record high of $4.3 billion in trading volume — up 174% compared to June.

Decentralized exchanges serve as asset trading platforms and play a critical role in providing liquidity to the DeFi ecosystem. In OKX’s continued efforts to foster the DeFi ecosystem’s growth, we have launched the testnet of OKX DEX to offer a seamless, decentralized trading experience to our users.

If you want to learn how to trade cryptocurrencies on a decentralized exchange, this guide will help you get started with OKX DEX.

What is OKX DEX?

OKX DEX is a decentralized exchange powered by our own blockchain, called OKC. OKC is a set of open-source public blockchains aiming to promote large-scale commercial applications. As the first application in OKC, OKX DEX offers a borderless, decentralized trading platform with the following features:

  • Security: Secp256k1 elliptic curve algorithm is adopted to provide a highly secure environment for OKX DEX.
  • Noncustodial: Users have full access and control over their assets and wallets.
  • Order matching: OKX DEX adopts a call auction mechanism, ensuring that a trading pair only has one traded price in a block.

Users enjoy a more seamless trading experience and lower trading fees when trading on OKX DEX. Compared to public blockchains such as Ethereum, OKC focuses on providing a better, dedicated infrastructure for trading DApps and DEXs. This directly leads to lower costs for developers deploying their trading DApps and indirectly leads to lower trading fees for users.

Follow the steps below to start trading on OKX DEX.

Step 1: Log in to your OKX account

Go to the OKX homepage and click Login at the top right corner to enter your account details.

Step 2: Open the OKX DEX testnet

Navigate to Trade in the top menu on the OKX homepage and select DEX Trading under “Spot” to open the OKX DEX testnet.

Step 3: Create your OKC wallet

You need to create or import a wallet before you can start trading on OKX DEX. Scroll down to the “Quick Start” section of the OKX DEX page and click Create wallet under “1. Create OKC wallet.”

Next, you need to create a password with at least 10 characters. The password needs to include at least an uppercase letter, a lowercase letter and a number. After you acknowledge that OKX DEX will not save any of your passwords or related data, click Next to proceed.

The next step will allow you to generate and download/save your mnemonic phrase. Click I understand to proceed. Once you have backed up your mnemonic phrase in a secure location, click I have copied it. Verify now to proceed.

Perform the mnemonic phrase verification in the next step and click Confirm.

After verification, you can check and save your private key. Please note that users are fully responsible for safeguarding and protecting their private keys.

Step 4: Claim your DEX test tokens

Users can claim free testing tokens before they can try OKX DEX.

You can either visit the claim page from the OKX DEX page by clicking on Get testing currencies or by clicking on this link.

Now, you need to enter the address of your OKC wallet (that you created in the previous step) and click Confirm to receive your test tokens.

Step 5: Review your asset balance

You can now open the DEX trading dashboard from the main page by clicking on Start trading or by visiting this link.

On this screen, you can hover over the Wallet at the top right corner and click Asset Balance to view your test tokens.

All users receive 1 testnet Bitcoin (TBTC), 1,000 testnet OKB (TOKB), 1,000 testnet OK token (TOKT), 100 testnet USDK (TUSDK) — as shown below.

Step 6: Initiate a transaction

To start trading with these test tokens, go to the trading dashboard of OKX DEX and select the trading pair from the top bar to initiate a transaction. For this tutorial, we selected “TOKB/TUSDK.”

Step 7: Input transaction details and proceed

In this instance, we use TUSDK to purchase TOKB. You can enter the transaction details in the bottom right corner of the trading page and click Buy TOKB to proceed.

As shown below, we purchase 10 TOKB in this example by setting a limit order at 4.177, which means the cost to purchase 1 TOKB is 4.177 TUSDK. The total cost of our order is 41.77 TUSDK.

Finally, you need to enter the password for your wallet (that you created earlier) to confirm the transaction.

Step 8: Review your transaction

Go to Asset Balance from the “Wallet” drop-down list in the top menu and select Transaction Record to review completed transactions.

Build your own DEX

Apart from trading on OKX DEX, you can build your own decentralized exchange via OpenDEX. Powered by OKC, OpenDEX enables full on-chain matching and on-chain order-book management to make matching information more transparent.

免責聲明
本文章可能包含不適用於您所在地區的產品相關內容。本文僅致力於提供一般性信息,不對其中的任何事實錯誤或遺漏負責任。本文僅代表作者個人觀點,不代表 OKX 的觀點。 本文無意提供以下任何建議,包括但不限於:(i) 投資建議或投資推薦;(ii) 購買、出售或持有數字資產的要約或招攬;或 (iii) 財務、會計、法律或稅務建議。 持有的數字資產 (包括穩定幣) 涉及高風險,可能會大幅波動,甚至變得毫無價值。您應根據自己的財務狀況仔細考慮交易或持有數字資產是否適合您。有關您具體情況的問題,請諮詢您的法律/稅務/投資專業人士。本文中出現的信息 (包括市場數據和統計信息,如果有) 僅供一般參考之用。儘管我們在準備這些數據和圖表時已採取了所有合理的謹慎措施,但對於此處表達的任何事實錯誤或遺漏,我們不承擔任何責任。 © 2025 OKX。本文可以全文複製或分發,也可以使用本文 100 字或更少的摘錄,前提是此類使用是非商業性的。整篇文章的任何複製或分發亦必須突出說明:“本文版權所有 © 2025 OKX,經許可使用。”允許的摘錄必須引用文章名稱並包含出處,例如“文章名稱,[作者姓名 (如適用)],© 2025 OKX”。部分內容可能由人工智能(AI)工具生成或輔助生成。不允許對本文進行衍生作品或其他用途。

相關推薦

查看更多
P2P generic thumbnail
P2P

Quick wins in P2P trading: Top tips for buyers and sellers

Welcome to OKX's P2P trading guide. Whether you're an experienced hand in the crypto world or just starting out, revisiting the fundamentals can help set you up for success. In the fast-paced world of trading, a solid foundation can make all the difference.
2025年9月12日
6
Options trading generic thumb
Options
Strategies

A beginner's guide to multi-leg crypto option strategies

When you think of crypto options, you may be reminded of the YOLO all-in option plays that often flood social media feeds with their staggering amounts of gains and losses. While most traders will be focused on the potential leveraged gains that can be made with crypto options, they often forget that it only takes a couple of bad, risky trades for all the gains to be wiped over. That's where mitigation tools like multi-leg crypto option strategies come in.
2025年9月12日
新手
1
Non-technical indicators thumb
Strategies
Research

9 non-technical indicators that signal we're in a crypto bull market

Are we in a crypto bull market? From using advanced technical indicators to reading complex candlestick charts , this question seems best reserved for experienced crypto traders with a deep understanding of these tools. Fortunately, while is a valuable skill, it's certainly not the only option when it comes to sensing market trends and identifying potential bull markets. Thanks to the existence of alternative, non-traditional indicators, crypto enthusiasts with an eye for detail can gain valuable insights into the market. By exploring other non-technical data points, you can start to piece together the puzzle that is the overall crypto market sentiment and form your own informed opinion about the market's trajectory.
2025年9月12日
新手
OKX Wallet
Bitcoin
Options

Delta neutral options strategies: how to hedge a crypto portfolio

If you're familiar with long-term crypto trading, chances are you'll likely encounter instances when an ongoing catalyst causes huge portfolio volatility for your crypto holdings. While this might be acceptable for crypto traders who are more risk-tolerant, it can sometimes lead to dire situations like margin calls because of how volatility can propel a portfolio into liquidation.
2025年9月12日
Your money your choice
Strategies
Options

The options wheel strategy: get passive crypto gains in two steps

The world of cryptocurrencies is exciting, but let's face it, actively trading and scalping the crypto markets can be nerve-wracking, especially for beginner traders. Fortunately, with the options wheel strategy, crypto traders can breathe a sigh of relief. The two-step options strategy allows active crypto options traders to step back and take a more passive approach thanks to its simplicity.
2025年9月12日
高級
8
Crypto collar options explained thumbnail
Options
Strategies

Crypto cash-secured puts: selling put options for a better entry

Picture this: your price alert goes off as your preferred cryptocurrency has finally hit your target price and it's time to gain exposure to the specific token you've been eyeing. However, you hesitate — what if it goes lower and you end up catching a falling knife? Ultimately, you decide to adopt a wait-and-see approach and avoid trading crypto until prices settle amid volatility.
2025年9月12日
中級
2
查看更多