Onchain Chronicles

DeFi ·

DeFi 101 covers DEXs, AMMs, lending, oracles, governance, and cross-chain liquidity risks

The various mechanisms, market actors, products, rules and economic incentives governing the trading and pricing of an asset constitute the market structure.

The Block

Decentralized Finance (DeFi) functions as a collection of blockchain-based financial services, substituting conventional intermediaries with automated smart contracts. This ecosystem facilitates activities such as lending, trading, borrowing, liquidity provision, and governance, yet it introduces inherent risks stemming from code, collateral, oracles, liquidity, bridges, and market volatility.

Crypto markets present numerous methods and apparatuses for trading digital assets. Market participants have the option of utilizing either centralized or decentralized platforms, each presenting distinct advantages and disadvantages. This overview examines the core elements driving price movements within the crypto market, including the venues, the involved entities, and the financial instruments. Furthermore, it addresses the principal characteristics of these markets and the various hazards that traders must be aware of. It must be noted that this material is strictly for informational purposes and should not substitute for counsel from professionals in finance, law, or taxation.

The distinction between Centralized Exchanges (CEXs) and Decentralized Exchanges (DEXs) is important when discussing crypto trading. CEXs operate much like a standard trading account, where users typically deposit their crypto onto the platform, allowing the exchange to act as a venue for transactions and bridging connections between various blockchains and their end-user base. Conversely, when using DEXs, users generally bypass depositing their assets into a centrally managed exchange account; trades can occur directly from the user's private wallet, most frequently mediated by smart contracts.

Beyond the CEX versus DEX divide, several systems exist to consolidate supply and demand for a specific asset. A common method employed by many crypto exchanges is the order book, where participants submit orders specifying the desired price for buying or selling the asset. When matching buy and sell orders are present, the exchange facilitates the execution of a trade. An alternative approach, often seen on DEXs, utilizes an Automated Market Maker (AMM). These AMMs rely on liquidity pools, which are collections of crypto assets deposited into smart contracts; users interact with this pool, and the transaction price is determined by a mathematical function based on the available liquidity.

Crypto pricing is structured similarly to foreign exchange, utilizing pairs. For instance, in the BTC/USDT pair, the buyer receives BTC while paying with USDT. In this pairing, BTC functions as the base currency, and USDT serves as the quote currency, meaning the pair's valuation indicates the quantity of USDT needed to acquire one unit of BTC. Once a participant grasps the makeup of a trading pair, they understand the currency they are acquiring, surrendering, and at what rate.

The method of trade finalization also requires differentiation. CEXs usually maintain internal records of customer holdings and execute trades without logging every transaction onto the blockchain; on-chain movements typically only happen when assets enter or leave the exchange, as internal platform trades are processed internally. In contrast, many DEXs execute and finalize trades via smart contracts on the relevant blockchain, although some aspects of the order matching or routing might occur off-chain. The former method generally offers quicker processing, whereas settlement on the blockchain is constrained by the underlying chain's throughput and associated costs.

Three standard order types form the foundational vocabulary of crypto trading. A 'market' order directs the platform to execute a buy or sell immediately at the best available prices, though the actual execution price is contingent upon existing liquidity. With a 'limit' order, the trader sets either the highest price they are willing to pay or the lowest price they will accept. Lastly, a 'stop' order activates another order once a predetermined price level is reached, though this does not guarantee the execution at that specified trigger price. Traders will also encounter descriptive terms related to their trading style, such as 'scalping', 'swing' or 'buy and hold', which should not be interpreted as mandatory guidelines.

An obvious extension of this discussion involves the ability for customers to take long or short positions on a crypto asset. Taking a long position means betting on an asset's value increasing, frequently achieved through direct purchase. Conversely, a short position allows a trader to profit from a price reduction, although losses can occur if the price moves contrary to the initial bet. By employing margin or borrowed funds, a customer can amplify their market exposure beyond their initial capital commitment; while this can yield greater returns, it simultaneously magnifies potential losses.

Perpetual futures ('perps') are another instrument designed to permit traders to gain exposure to future asset price movements without a fixed expiration date. These instruments incorporate periodic funding payments between long and short positions to help keep contract valuations aligned with the underlying market. Depending on the prevailing funding rate and the trader's stance, they may either pay or receive these payments. If a substantial portion of the market exhibits high leverage, the probability of forced liquidations increases during swift price shifts. These events, in turn, can generate buying or selling pressure that pushes the market further up or down, potentially causing a cascade of liquidations. Although futures and options can offer a measure of defense when employed to hedge existing exposures (and naturally, they can also be used to boost speculative risk), they carry significant hazards themselves.

It becomes apparent from the preceding analysis that participants require access to adequate liquidity for efficient entry and exit from positions. On CEXs, market makers play a vital role by submitting buy and sell quotes, thereby assisting in maintaining liquidity and narrowing spreads. Similarly, many DEXs depend on external parties supplying crypto to their liquidity pools in exchange for a share of the trading fees generated.

Further operational aspects of crypto markets warrant attention. Among the more notable forms of market manipulation are several specific practices. Additionally, various other entities participate in the crypto market, including crypto custodians, information aggregators, governmental and regulatory bodies, and ETF issuers.

Finally, the methods by which crypto enterprises can secure financing are worth reviewing. As with any industry, venture capital (VC) and private equity (PE) firms can invest in crypto-related undertakings and offer a spectrum of services beyond merely injecting capital. Moreover, considerable innovation has taken place regarding how crypto-native businesses can obtain funding; raising capital through the distribution of a project's native tokens via an ICO is one such method. The emergence of DEXs and CEXs has also facilitated IDOs and IEOs, respectively. In certain instances, investor groups may combine to form a DAO to collectively raise and deploy funds.

The structure of the crypto market is underpinned by a diverse collection of organizations that will continue to evolve over time. The range of fundraising avenues available to crypto businesses also necessitates careful consideration.

The development of DeFi, utilizing smart contracts to bypass traditional intermediaries, reflects a broader trend toward disintermediation within financial systems. This technological shift is evident across various market structures, from the operational mechanics of CEXs and DEXs to the novel funding mechanisms like ICOs and DAOs.

Why it matters

For readers interested in DeFi infrastructure, understanding the distinction between CEX and DEX execution mechanisms is crucial for assessing counterparty risk and settlement finality. This foundational knowledge helps in evaluating the true decentralization and operational risks inherent in different DeFi protocols.

defi

Related coverage

Back to the ledger

24