From: thepipeline_xyz
Building new primitives in the crypto space presents unique challenges and opportunities, especially for foundational infrastructure like liquidity protocols and layer-1 blockchains. Elixir Protocol, for example, focuses on providing decentralized liquidity for order books, aiming to address critical gaps in the market making landscape [00:01:49].
Founding Elixir Protocol: Identifying a Market Need
Phillip, the founder of Elixir Protocol, observed a recurring problem in the crypto space: blockchain startups and order-book-based exchanges consistently relied on a few centralized market makers for liquidity [00:01:27]. Traditional finance market making differs significantly from crypto; in traditional finance, profit centers are the P&Ls from market activity [00:02:10]. In crypto, market makers often break even on algorithmic performance, making money by charging exchanges and protocols for access to their market-making services [00:02:28]. This led to the realization that a decentralized, trustless protocol could fulfill this role [00:02:46].
Elixir’s Solution: Decentralized Order Book Liquidity
Elixir is building a modular DPOS (Delegated Proof-of-Stake) network designed to power order book liquidity [00:02:54]. It allows anyone to supply liquidity, which the protocol then algorithmically builds and deploys on order books to tighten bid-ask spreads and deepen liquidity [00:03:01].
Key features include:
- Trustless Liquidity Provision The protocol itself provisions liquidity on the back end [00:06:54]. Validators come to consensus, sending data to relay infrastructure for signing and transmission to exchanges [00:07:05]. This process is fully trustless, with funds sitting in a smart contract and signatures issued at that level [00:07:28].
- Similar Risk-Return Profile to AMMs Elixir aims to provide a near-identical risk-return profile to Uniswap V2 for liquidity providers (LPs) [00:03:21]. LPs earn a share of incentives exchanges are already paying out to professional market makers [00:03:55].
- Addressing the “Cold Start Problem” for Order Books Unlike Automated Market Makers (AMMs) which make it easy to bootstrap liquidity for long-tail markets [00:12:18], there wasn’t a trustless way to bootstrap liquidity for an order book before Elixir [00:07:54].
Advantages of On-Chain Order Books for User Experience
For users, the transition to on-chain Central Limit Order Books (CLOBs), especially on high-performance chains like Monad, offers significant improvements over traditional or even early DeFi experiences:
- Custody Users retain custody of their assets at all times, reducing counterparty risk [00:35:42]. This contrasts with centralized exchanges where funds are held by the exchange [00:35:52].
- Transparency and Fair Trading Users can be assured the exchange is not trading against them, as the code is verifiable on-chain [00:36:18]. This mitigates risks seen with models like FTX/Alameda where exchanges had built-in market makers that could exploit user positions [00:36:43].
- Lower Slippage Order books inherently offer better execution and drastically decrease slippage compared to AMMs, especially with high throughput and low gas fees [00:09:55].
- Streamlined Trading Experience On-chain CLOBs can enable “one-click trading” by issuing a signature for approvals, allowing users to trade without repeated authorizations [00:37:59].
Challenges and Solutions in Liquidity Provision
Toxic Flow and Impermanent Loss
One of the biggest complaints in crypto is the lack of liquidity, and a significant issue within DeFi liquidity is “toxic flow” [00:14:10]. This occurs when passive LPs lose money due to arbitrageurs exploiting price discrepancies between a pool and the fair market price [00:15:26]. This is analogous to impermanent loss in AMMs [00:16:19].
Solutions employed to mitigate toxic flow and improve profitability for LPs:
- Dynamic Fee Mechanisms AMMs like Kyber Swaps and Uniswap V3 have introduced dynamic fee rates for LPs. Pairs with high “toxicity” (volatile, hard-to-price assets) charge higher fees, while less toxic pairs (like stablecoin-to-stablecoin) charge very low fees [00:15:50].
- Spreads in Order Books For order books, the equivalent is the spread [00:17:13]. Market makers and protocols like Elixir dynamically adjust spreads: quoting wider during periods of higher volatility to protect LPs from toxic flow [00:17:20].
- Reduced Costs for Liquidity Providers Reducing the costs associated with supplying liquidity, such as gas fees for updating orders, makes it more inherently profitable for LPs [00:17:48].
On-Chain vs. Off-Chain Order Books with On-Chain Settlement
While full on-chain CLOBs exist, many leading DEXes, including dYdX, Vertex, and RabbitX, use an off-chain order book that settles on-chain [00:25:27].
- Speed and Cost The main advantage of off-chain order books with on-chain settlement is significantly faster and cheaper price quoting [00:30:01]. Constantly updating orders on a fully on-chain CLOB, even with low gas fees, can become prohibitively expensive for market makers [00:31:22].
- MEV and Manipulation Fully on-chain order books can be susceptible to manipulation via transaction spamming or MEV (Miner Extractable Value) tactics, affecting liquidations or order execution [00:30:26]. Off-chain order books with on-chain settlement mitigate some of these risks [00:30:45].
- Latency vs. Spread Every additional second of latency in updating orders necessitates wider quotes from market makers to compensate [00:26:08]. Off-chain systems allow for near-zero cost, sub-second updates, leading to tighter spreads [00:26:02].
Mitigating Market Making Information Leakage
Even with transparency, on-chain market making has unique challenges. While the order book itself is transparent (similar to centralized exchanges via APIs) [00:23:42], additional transparency comes from visible leverage positions [00:24:02]. If an attacker can see a market maker’s liquidation level, it creates an exploitable vulnerability [00:24:33].
Elixir addresses this with:
- Provable Randomness The protocol incorporates provable randomness to prevent predictability of future orders [00:28:21]. A variable, fluctuating between 0 and 1, influences the algorithm’s behavior (e.g., optimizing for 50/50 book balance vs. P&L) [00:28:30]. This randomness is verifiable retrospectively but unpredictable in real-time [00:29:02].
- Random Order Cancellation Randomly, one out of every five orders will not make it to the exchange [00:29:16]. This makes it economically unfavorable for bots to attempt to trade against Elixir’s algorithms [00:29:20].
Broader Challenges for Crypto Projects
Hiring and Talent Acquisition
Hiring top-quality, trustworthy individuals is often the biggest challenge for crypto startups [00:39:44]. Early on, projects may need to use headhunters to access specialized talent like Solidity Engineers [00:42:24]. As a project gains traction, inbound interest from candidates increases, alleviating this challenge [00:42:42].
Marketing and Branding for New Primitives
Explaining and positioning a new, complex primitive can be difficult [00:40:18]. Elixir tackled this by shifting its branding from a direct “powered by Elixir” model to a white-label “Fusion” product (e.g., Vertex Fusion) [00:41:04]. This allows exchanges to present Elixir’s functionality as their own core feature, enhancing their offerings without external branding clutter [00:41:07].
Regulatory Compliance
Operating with a U.S. presence, particularly in New York City, requires significant investment in ensuring regulatory compliance [00:43:39]. This is a substantial cost and focus area for many U.S.-based crypto projects to avoid legal crosshairs [00:43:10].
Community Building
A strong community is a vital asset for any crypto project [00:44:54]. While Elixir focuses on B2B2C, providing infrastructure to exchanges, fostering community engagement is crucial for long-term recognition and adoption [00:45:59]. A strong community attracts future partners and validators, as demonstrated by Elixir’s testnet with over 13,000 validators [00:47:05].
“Take on early stage risk and… be ruthless in your pursuit of it. Don’t give up when you’re pursuing it and it will come to life.” [00:49:06]
This ethos encourages builders to persist despite naysayers and challenges, a fundamental principle for pushing the crypto space forward [00:50:18].