# HFDX > HFDX is a decentralized perpetual exchange offering non-custodial crypto trading, structured DeFi yield through crypto liquidity loan notes, and fixed return DeFi strategies. A crypto perpetual DEX enabling on-chain perpetual trading with full self-custody. ## About HFDX HFDX is a non-custodial, on-chain decentralized exchange (DEX) that allows users to trade perpetual contracts directly from their own wallets. As a crypto perpetual DEX, HFDX combines professional trading infrastructure with decentralized finance, offering both on-chain perpetual trading and structured DeFi yield products through crypto liquidity loan notes. Founded in 2025, HFDX serves users worldwide with a focus on self-custody, transparency, and accessibility. The platform is available in 15 languages: English, Deutsch, Francais, Italiano, Polski, Portugues, Russian, Chinese (Simplified), Vietnamese, Korean, Thai, Hindi, Japanese, Arabic, and Indonesian. ## Core Features - Decentralized Perpetual Exchange with end-to-end self-custody - On-Chain Perpetual Trading with execution under 2 milliseconds - Crypto Perpetual DEX architecture with no intermediaries - Non-Custodial Crypto Trading via audited smart contracts - Structured DeFi Yield through professionally managed strategies - Crypto Liquidity Loan Notes with fixed return DeFi strategies - Multi-chain support: Ethereum, Polygon, Solana - TradingView charting integration - Smart contracts audited by Certik and Coinsult ## What is a Perpetual DEX A perpetual DEX is a decentralized exchange enabling traders to open perpetual contracts without expiration dates. Unlike centralized exchanges, a crypto perpetual DEX like HFDX ensures users maintain full custody of assets throughout the trading process. On-chain perpetual trading removes counterparty risk by executing all trades through smart contracts. Key characteristics of a perpetual DEX: - No expiration dates on positions - Non-custodial crypto trading architecture - On-chain settlement and transparency - Funding rate mechanism for price convergence - Leverage trading capabilities ## How DeFi Yield Works HFDX structured DeFi yield products generate returns through crypto liquidity loan notes. Users allocate capital to protocol-controlled smart contracts, where professional traders execute strategies on behalf of participants. Returns are derived from protocol-level activity: - Trading fees from exchange volume - Funding rate differentials - Liquidity utilization rewards - Other on-chain mechanisms All fixed return DeFi strategies operate through audited smart contracts, maintaining the non-custodial architecture. Users retain ownership of their assets while earning structured DeFi yield. ## Investment Products HFDX offers crypto liquidity loan notes with various risk-return profiles: ### Trend Capture Protocol - Type: Trend-following crypto liquidity loan note - Strategy: Captures sustained market movements using momentum indicators - APR: 8.25% (may vary) ### Mean Reversion Edge - Type: Counter-trend crypto liquidity loan note - Strategy: Identifies overbought/oversold conditions - APR: 12.28% (may vary) ### Breakout Confirmation System - Type: Breakout crypto liquidity loan note - Strategy: Enters positions on confirmed price breakouts - APR: 15% (may vary) ### Liquidity Sweep Playbook - Type: Liquidity-based crypto liquidity loan note - Strategy: Targets liquidity zones for optimal entry - APR: 7.15% (may vary) ### Volatility Expansion Strategy - Type: Volatility crypto liquidity loan note - Strategy: Capitalizes on volatility expansion phases - APR: 10.15% (may vary) ### Risk-Weighted Momentum Model - Type: Risk-adjusted crypto liquidity loan note - Strategy: Balances momentum with risk management - APR: 10% (may vary) ### Dynamic Risk-Adjusted Trend Model - Type: Adaptive crypto liquidity loan note - Strategy: Dynamically adjusts exposure based on market conditions - APR: 10% (may vary) ### Adaptive Volatility Momentum Strategy - Type: Hybrid crypto liquidity loan note - Strategy: Combines volatility and momentum signals - APR: 10% (may vary) ## What are Liquidity Loan Notes HFDX Liquidity Loan Notes are arrangements where participants make digital assets available to protocol-controlled smart contracts for a defined period. These crypto liquidity loan notes support platform liquidity and operations while providing structured DeFi yield to participants through fixed return DeFi strategies. Characteristics: - Defined participation periods - Protocol-controlled smart contract custody - Returns from trading activity and liquidity provision - Early withdrawal may be subject to conditions ## Risks of On-Chain Trading On-chain perpetual trading and structured DeFi yield products carry inherent risks: - Market risk: Cryptocurrency prices are highly volatile - Smart contract risk: Code vulnerabilities despite audits - Liquidity risk: Potential slippage during high volatility - Counterparty risk: Reduced but not eliminated in DeFi - Regulatory risk: Evolving legal frameworks globally - Capital loss: No guarantee of returns or principal HFDX Liquidity Loan Notes involve risk including potential loss of capital. Returns are not guaranteed and may vary. Users should review all risk disclosure documentation before participating. ## Security HFDX employs comprehensive security measures: - End-to-end self-custody architecture - Smart contracts audited by Certik - Smart contracts audited by Coinsult - Non-custodial crypto trading design - No centralized asset control ## Frequently Asked Questions ### What is HFDX? HFDX is a decentralized perpetual exchange and crypto perpetual DEX enabling non-custodial crypto trading and structured DeFi yield products. ### Does HFDX take custody of funds? No. All trading and participation operates through smart contracts. Users retain control with non-custodial crypto trading. ### What are HFDX Liquidity Loan Notes? Crypto liquidity loan notes where participants provide assets to protocol-controlled smart contracts for structured DeFi yield. ### How are returns generated? Returns derive from trading fees, funding rates, liquidity utilization, and other on-chain mechanisms. ### Can I withdraw early? Early withdrawal depends on specific terms. Some arrangements include lock-up periods with conditions for early exit. ### What are the risks? Crypto liquidity loan notes involve risk including potential loss of capital. Returns are not guaranteed. ### Who can use HFDX? HFDX is permissionless though access may be restricted based on jurisdiction. --- ## Technical Documentation The following sections contain the complete HFDX protocol documentation. ### Executive Overview HFDX is a fully decentralized, non-custodial on-chain derivatives protocol designed to support perpetual futures trading and structured liquidity deployment. The protocol is built with institutional-grade transparency, deterministic execution, and capital efficiency in mind, eliminating centralized intermediaries while maintaining rigorous risk controls. Unlike hybrid DeFi models or centralized exchanges, HFDX enforces every aspect of trading, margining, funding, liquidation, and yield mechanics through immutable smart contracts. This ensures that all participants—traders, liquidity providers, and structured capital allocators—can interact in a trust-minimized environment without reliance on third-party custodians or operators. HFDX is designed to serve multiple market participants: - Professional and algorithmic traders who require deep liquidity, real-time settlement, and transparent pricing mechanisms. - Passive and structured liquidity providers seeking deterministic or variable yields derived from perpetual trading activity. - Institutional auditors, integrators, and treasury departments who demand formalized risk assumptions, predictable capital allocation, and verifiable on-chain accounting. The protocol's architecture emphasizes capital efficiency, where liquidity is pooled rather than isolated across multiple derivative markets. By doing so, HFDX reduces idle capital and allows more productive deployment while maintaining protocol-level solvency guarantees. ### Core Concepts & Definitions #### Perpetual Futures Contracts A Perpetual Futures Contract is a derivative instrument providing continuous exposure to an underlying asset without a fixed expiry. Unlike traditional futures, perpetuals do not settle on a predetermined date, allowing positions to remain open indefinitely. HFDX's implementation of perpetuals is cash-settled and fully collateralized on-chain, ensuring that all obligations are met deterministically. Key operational mechanics include: 1. Leverage — Traders post collateral while borrowing notional exposure from the protocol's unified liquidity pool. This allows efficient use of capital while maintaining systemic solvency. 2. Funding Rate — A periodic transfer between long and short positions ensures the perpetual price aligns with an external reference (spot index). Funding rates are continuously computed on-chain to prevent price drift. 3. On-Chain PnL Settlement — Profit and loss are marked-to-market in real-time using oracle prices, enforced directly by smart contracts. This eliminates counterparty credit risk and ensures transparent, deterministic outcomes. 4. No Expiry — Positions persist until either voluntarily closed by the trader or force-liquidated due to insufficient margin. Mathematical Representation: Notional Exposure = Collateral x Leverage This fundamental relationship ensures that the maximum exposure of a trader is always proportional to the collateral committed and the leverage chosen. #### Non-Custodial Architecture HFDX is designed with strict non-custodial principles, meaning: - Users retain full ownership of assets through externally owned accounts (EOAs) or smart wallets. - Smart contracts execute only within explicitly defined boundaries, preventing unauthorized access to funds. - No operator, DAO, or governance body can seize or freeze user assets. This design reduces counterparty risk, eliminates rehypothecation possibilities, and ensures maximum transparency and security. By restricting trust to the underlying code, HFDX allows both retail and institutional participants to engage without exposure to centralized failures. #### Unified Liquidity Pool The Liquidity Pool is the backbone of HFDX, serving as both capital provider and risk absorber. - It backs leveraged positions by lending liquidity to traders in proportion to their margin. - It absorbs trading PnL, ensuring that all gains and losses are settled without external intervention. - It generates yield for liquidity providers and structured instruments like LLNs. Unified vs Isolated Pools: Traditional DEX derivatives platforms often fragment liquidity across individual markets, leading to inefficient capital deployment. HFDX unifies liquidity, enabling: 1. Higher capital efficiency — idle liquidity in one market can support risk in another. 2. Conservative margining — dynamic allocation ensures solvency while optimizing leverage. 3. Predictable yield mechanisms — LPs and LLNs benefit from aggregated trading activity rather than single-market exposure. #### Liquidity Loan Notes (LLNs) Liquidity Loan Notes are structured instruments designed for deterministic yield generation. They convert variable revenue streams—trading fees, funding payments, borrowing interest—into fixed returns over a defined term. Key characteristics: - Non-transferable and locked for a predefined maturity period - Fully on-chain and auditable - Targeted for institutional treasuries or entities requiring fixed, predictable returns LLNs allow institutions to engage with HFDX without exposure to the variable PnL of liquidity provision, offering predictable, contractually enforced yield. ### Protocol Architecture HFDX follows a modular design with separation-of-concerns, ensuring each protocol component is auditable, maintainable, and upgradable without compromising system integrity. #### Core Components - User Wallet: Asset custody, transaction signing - HFDX Router: Centralized execution gateway for all trades - Margin Engine: Risk, leverage, and margin computation - Liquidity Pool: Capital provisioning and loss absorption - Funding Module: Funding rate computation and periodic settlement - Oracle System: Provides external price indices - Liquidation Module: Force closes positions under margin breach - LLN Manager: Lifecycle management of Liquidity Loan Notes This architecture ensures clear separation between: - User interaction — Router & Wallet - Risk calculation and margin enforcement — Margin Engine - Capital management — Liquidity Pool & LLN Manager - External data integration — Oracle System - Position resolution — Liquidation Module The modularity allows for incremental upgrades while preserving immutable core logic. ### Trading Module #### Trade Lifecycle The trading lifecycle in HFDX is fully on-chain and deterministic: 1. Wallet Connection & Authentication — Users connect via EOA or smart wallet, ensuring transaction integrity. 2. Market Selection — Predefined risk parameters, including leverage limits, margin requirements, and asset eligibility. 3. Trade Submission via Router — Central execution gateway enforces atomicity of order placement. 4. Initial Margin Validation — Ensures sufficient collateral before position creation. 5. Liquidity Reservation — Allocates pool liquidity to back the leveraged trade. 6. Position Creation & On-Chain Recording — Smart contracts log all position parameters, including collateral, notional, and leverage. 7. Continuous Monitoring & Funding Accrual — Funding rates are applied continuously to maintain perpetual price alignment. 8. Voluntary Close or Forced Liquidation — Positions may be closed by users or liquidated based on maintenance margin thresholds. #### Margin & Liquidation Mechanics Initial Margin (IM): IM = Notional / Leverage Maintenance Margin (MM): MM = Notional x Maintenance Ratio Liquidation Condition: Equity <= MM Liquidation Price (Simplified Long Position): P_liq = Entry Price x (1 - (IM - MM) / Notional) These formulas quantify the risk envelope for each trade and allow predictable liquidation mechanics, essential for institutional risk management. #### Funding Rate Model Funding rates align perpetual prices with the external spot index: Funding Rate = Clamp(k x (Mark Price - Index Price) / Index Price, Min, Max) Where: - k — Dampening coefficient controlling rate sensitivity - Min/Max — Thresholds that prevent extreme capital outflows during volatility Funding is applied periodically, creating a self-correcting mechanism that stabilizes the perpetual market. ### Liquidity Pools & Capital Efficiency #### Pool Accounting The Liquidity Pool in HFDX is the protocol's central capital engine, responsible for both backing leveraged positions and absorbing PnL fluctuations. Unlike isolated margin accounts, HFDX pools liquidity across all markets, improving capital efficiency while ensuring solvency. Key internal mechanisms: 1. Normalized Asset Accounting — All assets in the pool are tracked in a unified internal denomination, enabling consistent calculation of utilization, margin, and risk exposure. 2. Continuous Utilization Monitoring — Utilization ratios are computed in real-time: Utilization Ratio = Borrowed Liquidity / Total Pool Liquidity High utilization increases risk, triggering conservative margin adjustments and dynamic funding rates. 3. Risk-Weighted Exposure — Each asset is assigned a risk weight based on volatility and liquidity. This ensures that the pool can absorb losses even under extreme market stress. 4. Dynamic Liquidity Allocation — Capital is dynamically allocated to active positions while maintaining reserves for liquidations, funding payments, and LLN obligations. By centralizing liquidity, HFDX maximizes capital efficiency, reduces idle funds, and improves yield distribution predictability. #### LP vs LLN Comparison HFDX supports two primary forms of capital deployment: Liquidity Providers (LPs) and Liquidity Loan Notes (LLNs). Liquidity Providers (LP): - Yield: Variable, dependent on trading activity and pool utilization - Lockup: Flexible, can deposit/withdraw - Risk Exposure: Direct exposure to pool PnL + utilization risk - Suitability: Active DeFi participants Liquidity Loan Notes (LLN): - Yield: Fixed, contractually enforced over term - Lockup: Fixed until maturity - Risk Exposure: Protocol-level only (deterministic) - Suitability: Institutional treasuries and conservative capital allocators LPs benefit from variable yield, capturing upside from trading activity and funding payments. LLNs provide predictable returns by transforming variable revenue into a fixed APR, suitable for treasury or institutional accounting purposes. ### Liquidity Loan Notes — Structured Finance Model #### LLN Lifecycle LLNs are engineered as fixed-term structured products, with a lifecycle designed for clarity and predictability: 1. Subscribe — Institutions lock capital into LLNs at issuance. 2. Lock — Capital is fully committed for a defined term. 3. Accrue — Interest or yield accrues deterministically based on trading fees, funding payments, and borrowing fees. 4. Mature — Upon maturity, accrued yield is finalized on-chain. 5. Redeem — Principal and yield are returned automatically to the investor. This lifecycle ensures auditability, predictable cash flows, and full collateralization of obligations. #### Yield Formula Yield for LLNs is calculated on-chain as: Accrued Yield = Principal x APR x (Elapsed Time / 365) Where: - Principal = Locked capital at subscription - APR = Annualized percentage rate derived from protocol revenue streams - Elapsed Time = Days since subscription Yield Sources: - Trading Fees — Fees collected from perpetual contract execution - Funding Payments — Transfers between longs and shorts accrued to the protocol - Borrowing Fees — Interest generated by leveraged positions LLNs convert these variable streams into deterministic, contractually guaranteed returns, appealing to institutional balance sheets. ### Returns, Accounting & Settlement HFDX's accounting system is fully on-chain and deterministic, enabling third-party verification and eliminating opaque reconciliation processes: 1. Continuous Accrual — Funding, fees, and trading profits/losses are computed per block. 2. Scheduled Settlement — LPs and LLNs are settled periodically, ensuring accurate payout distribution. 3. Atomic Payout Execution — Principal and accrued yield are distributed automatically, eliminating settlement risk. Benefit: Auditors and institutions can reconcile positions in real-time without relying on centralized reporting. ### Fee Structure HFDX enforces a fully on-chain, transparent fee model: - Trade Fee: Triggered on execution of trades. Recipients: Liquidity Pool + Treasury. - Funding Fee: Triggered on periodic funding settlement. Recipient: Counterparty Side. - Liquidation Fee: Triggered on forced close of positions. Recipients: Keepers / Liquidators. - LLN Fee: Triggered on yield structuring. Recipient: Treasury. All fee events are smart contract-enforced, auditable, and deterministic, ensuring clarity for institutional participants. ### Security Model & Auditing HFDX's security philosophy is built on minimal trusted roles and immutable core logic, while providing upgradeable periphery through governance: - Core Logic — Immutable smart contracts enforce all trading, margining, and liquidation rules. - Periphery Modules — Upgradeable via on-chain governance to allow feature enhancements. - Formal Invariant Design — Key system properties, such as pool solvency and margin invariants, are formally specified and enforced. Recommended Security Processes: - Multi-round external audits by top-tier firms - Continuous monitoring of smart contract performance - Incentivized bug bounty programs for community participation This multi-layered security framework is critical for institutional adoption and regulatory confidence. ### Risk Framework HFDX recognizes several systemic and operational risks, mitigated through rigorous on-chain enforcement: - Extreme Volatility: Mitigated by conservative margin ratios, dynamic funding rates. - Oracle Latency / Manipulation: Mitigated by oracle redundancy and integrity checks. - Smart Contract Vulnerabilities: Mitigated by formal verification, audits, and multi-layer testing. - Liquidity Utilization Spikes: Mitigated by utilization limits and dynamic liquidation triggers. All risk controls are deterministic, on-chain, and verifiable, providing institution-grade assurance. ### Comparative Analysis — HFDX vs Hyperliquid Custody: - HFDX: Fully non-custodial - Hyperliquid: Semi-custodial Liquidity: - HFDX: Unified on-chain pools - Hyperliquid: Exchange-managed Transparency: - HFDX: Fully on-chain - Hyperliquid: Partial Structured Yield: - HFDX: Native LLNs - Hyperliquid: Not available Auditability: - HFDX: Deterministic, block-level - Hyperliquid: Limited Analysis: HFDX prioritizes full transparency and non-custodial risk minimization, while Hyperliquid relies on partial custody and isolated market liquidity. LLNs provide a distinct structured finance capability absent in most competing protocols. ### Audit Appendix — Protocol Invariants HFDX enforces several key invariants to ensure systemic integrity: - Pool Solvency: Pool assets always >= aggregate trader equity - Oracle Freshness: External price feeds validated per block - Margin Invariants: IM and MM strictly enforced - LLN Collateralization: Principal and yield obligations are fully backed These invariants enable real-time verification and institutional confidence. ### Jurisdictional & Compliance Notice HFDX is permissionless infrastructure. Users are responsible for adhering to local regulatory, tax, and legal requirements. HFDX does not provide custody or financial advice and operates without centralized oversight. ### No Advice Disclaimer This document is informational only and does not constitute financial, legal, or tax advice. Participation in HFDX carries risk, and users should conduct their own diligence prior to engaging with the protocol. --- ## Legal - Terms and Conditions: https://hfdx.xyz/terms-and-conditions - Privacy Policy: https://hfdx.xyz/privacy-policy - Risk Disclosure: https://hfdx.xyz/risk-disclosure ## Contact - Website: https://hfdx.xyz - Email: support@hfdx.xyz - Telegram: https://t.me/HFDXTrading - Twitter/X: https://x.com/HfdxProtocol ## Optional - Cookies Policy: https://hfdx.xyz/cookies-policy