Bitcoin
BTC

How to Trade Bitcoin the Correct Way on a Decentralized Exchange

By Fabio Canesin, Co-Founder of Nash

Despite being created over ten years ago, Bitcoin is still riddled with confusion and uncertainty. While Goldman Sachs just listed five reasons to avoid bitcoin, Bloomberg analysts have predicted its value to double to $20K this year. 

With all the conflicting information out there on bitcoin, a place to start would be finding a way to trade bitcoin on a decentralized exchange to avoid losing valuable security that larger centralized exchanges take away from users.

Existing decentralized exchanges can’t handle Bitcoin 

Cross-chain is a huge problem for decentralized exchanges (DEXes). Bitcoin is especially difficult to integrate into DEXes since it lacks full smart contract support. 

One solution is “token wrapping” or creating a representation of Bitcoin on another blockchain, such as “wrapped Bitcoin” on Ethereum. 

When you trade wrapped Bitcoin, your real Bitcoin is left with a custodian outside the wrapped Bitcoin smart contract. If a custodian is compromised, the Bitcoin that backs the wrapped token could be stolen, whether the custodian is a centralized party or not. Alternatively, an attacker could mint unlimited amounts of the wrapped token to destroy its value.

Atomic swaps are another proposed solution. These are non-custodial, but cannot scale to large, fast-moving markets with order books.

For an atomic swap to be safe, both trading parties must monitor chains closely throughout the entire transaction, meaning that a user needs to know in advance when exactly an order will be filled. This defeats the point of orders placed above or below the current price level, which constitute most of the volume on a large exchange.

Atomic swaps are more like an over-the-counter deal, which is more suited for infrequent block trades, not day-to-day user activity. Their speed disadvantage means market efficiency is compromised and true market price is hard to achieve. The resulting setup can be very discouraging for price-sensitive traders.

Bitcoin trading done right on a decentralized exchange

An initial version of a non-custodial protocol based on state channels will allow users to trade real (not wrapped) Bitcoin at speeds that compete with centralized exchanges, offering genuine markets with order books. 

To do this, an exchange can employ a fast off-chain matching engine that manages state channels across different blockchains. Users make trades and the matching engine updates their balances for each blockchain, which are periodically written to the chain itself. This avoids speed bottlenecks that result from blockchain architecture. User balances can only be updated when they have provided cryptographic signatures for individual trades, so funds are always under the user’s control. 

This is a non-custodial system that bypasses the speed and compatibility limits of individual blockchains while making small sacrifices in decentralization. To counteract these, it’s imperative to employ a provably fair system.

Bitcoin does not support full smart contracts, but it does offer more simple hashed time-locked contracts (HTLCs) and other scripting primitives. These form the basis of the Lightning Network, a state channel solution for Bitcoin allowing faster asset transfers.

This solution represents a revolutionary new Bitcoin trading protocol that allows for much greater security with no significant performance cost. Once a Bitcoin trading state channel is open, the experience is like trading on a centralized exchange. 

This way, Individuals and institutions looking to trade Bitcoin no longer have to exchange security for speed and liquidity.

Fabio Canesin is Co-Founder of Nash, a non-custodial exchange and management platform for cryptocurrencies and other digital assets.

The views and opinions expressed herein are the views and opinions of the author and do not necessarily reflect those of Nasdaq, Inc.

In This Story

BTC

Other Topics

Cryptocurrencies