Skip to main content

Uniswap's 'Code Isn't Guilty' Victory: The Federal Ruling That Could Shield Every DeFi Developer

· 8 min read
Dora Noda
Software Engineer

On March 2, 2026, a federal judge in Manhattan did something that will echo through courtrooms and codebases for years to come: she told investors who lost money on scam tokens that Uniswap — the protocol, its founder, and its venture backers — bore zero legal responsibility for their losses. The case, Risley v. Universal Navigation Inc., was dismissed with prejudice, meaning the plaintiffs can never refile it. For every developer who has ever deployed an open-source smart contract and wondered whether they could be sued into oblivion for what strangers did with it, this ruling rewrites the risk calculus.

Four Years of Litigation, One Decisive Answer

The saga began in April 2022 when retail investor Nessa Risley, joined by a class of plaintiffs, filed suit in the U.S. District Court for the Southern District of New York. Their target list read like a crypto industry who's-who: Uniswap Labs (legally Universal Navigation Inc.), founder Hayden Adams, and blue-chip venture firms including Andreessen Horowitz (a16z), Paradigm, and Union Square Ventures.

The plaintiffs' complaint was built on real pain. They alleged losses across 38 different tokens — instruments used in "rug pull" and "pump-and-dump" schemes between 2021 and 2022. Their legal theory was straightforward: Uniswap built and maintained the marketplace where these scams occurred, profited from trading fees, and should therefore be liable under federal securities laws and state consumer protection statutes.

Judge Katherine Polk Failla first dismantled the federal claims in a 2023 ruling, finding that the unidentified scam token issuers — not Uniswap — were the appropriate defendants. What remained were state-law claims: aiding and abetting fraud, unjust enrichment, and violations of consumer protection laws. On March 2, 2026, those fell too.

The Core Doctrine: Infrastructure Is Not Complicity

Judge Failla's reasoning cut to the heart of a question that has haunted DeFi since its inception. She ruled that because Uniswap is a decentralized, permissionless protocol run by autonomous smart contracts, its developers and investors cannot be held responsible for third parties' misuse of the platform.

The language was notably forceful. Failla wrote that it "defies logic" to hold the drafter of a smart contract liable for a third party's misuse — a standard that, if adopted broadly, would essentially immunize open-source protocol developers from platform liability claims.

This distinction is critical: the court separated the creation of infrastructure from the acts committed on that infrastructure. A highway builder is not liable for a bank robbery getaway. A telephone company does not bear responsibility for fraud conducted over its lines. And now, by judicial precedent in one of America's most influential federal courts, a smart contract developer is not an aider and abettor of scams that exploit their code.

Why "With Prejudice" Changes Everything

Legal observers have focused heavily on the dismissal standard. "With prejudice" means the case is permanently closed — the plaintiffs cannot reformulate their arguments and try again. In practical terms, this transforms the ruling from a temporary reprieve into a durable legal shield.

For Uniswap Labs and Hayden Adams, it closes a chapter that threatened to impose liability reaching into the hundreds of millions of dollars. For the broader DeFi industry, it establishes a reference point that defense attorneys will cite in every future case attempting to hold protocol developers responsible for third-party fraud.

The Contrasting Case: When DAOs Do Face Liability

The Uniswap ruling does not grant blanket immunity to every entity in DeFi — a point that legal analysts at the European Fund Recovery Initiative (EFRI) have emphasized. The contrasting case of Samuels v. Lido DAO illustrates exactly where the line falls.

In that Northern District of California case, Judge Vince Chhabria denied Lido DAO's motion to dismiss, ruling that the DAO could be treated as a general partnership under California law. The critical difference: venture capital firms including Paradigm, Andreessen Horowitz, and Dragonfly Digital Management were alleged to have "taken an active role in management" of the protocol through governance participation.

Where Uniswap deployed autonomous smart contracts and stepped back, Lido's institutional backers allegedly made ongoing governance decisions that shaped the protocol's operations. The court found this level of involvement could create partnership liability for the sale of unregistered securities.

The takeaway is nuanced but clear: writing code earns protection; governing a protocol may not.

Discovery in the Lido case is ongoing, with summary judgment motions expected by August 2026. The outcome could further clarify where autonomous code ends and actionable governance begins.

Criminal Law Catches Up — but in Both Directions

The Uniswap civil ruling arrived at a moment when criminal prosecution of DeFi developers remained intensely contested. Consider the current landscape:

Tornado Cash: In August 2025, a Manhattan jury convicted co-founder Roman Storm of conspiracy to operate an unlicensed money-transmitting business — but deadlocked on money laundering and sanctions charges. Prosecutors have filed for a retrial on the unresolved counts, targeting October 2026. Meanwhile, a coalition of 65+ crypto organizations has petitioned President Trump to drop all charges, arguing that "Storm's work on Tornado Cash represents the publication of open-source software — not a financial crime."

Samourai Wallet: Developers Keonne Rodriguez and William Lonergan Hill pleaded guilty to operating an unlicensed money transmission business, agreeing to forfeit nearly $238 million. Their case demonstrated that even in a more crypto-friendly regulatory environment, custodial elements and direct facilitation of money transmission carry real criminal risk.

DOJ Policy Shift: In April 2025, Deputy Attorney General Todd Blanche issued the "Ending Regulation-by-Prosecution" memorandum, and in August 2025, Acting Assistant Attorney General Matthew Galeotti announced that the DOJ would no longer pursue unlicensed money transmission charges against developers who create decentralized digital asset trading platforms. This represented a significant philosophical retreat from the aggressive stance of prior administrations.

Legislative Reinforcement: The Blockchain Development Act

Just days before the Uniswap ruling, on February 26, 2026, a bipartisan group of lawmakers introduced the Promoting Innovation in Blockchain Development Act. Representatives Scott Fitzgerald (R-WI), Ben Cline (R-VA), and Zoe Lofgren (D-CA) crafted legislation to amend criminal code Section 1960, establishing that the statute applies only to entities that actually control customer assets or transmit funds on behalf of customers.

The bill directly addresses the core problem exposed by the Tornado Cash and Samourai Wallet prosecutions: Section 1960 was designed for traditional money services businesses under the Bank Secrecy Act, not for software developers who build noncustodial, peer-to-peer tools. Under the proposed legislation, developers who create open-source software would not be classified as money transmitting business operators solely for writing code that enables users to transfer their own funds.

If enacted, this bill would transform the DOJ's policy memoranda into statutory law — a far more durable protection that cannot be reversed by the next administration.

What This Means for DeFi Builders

The convergence of the Uniswap ruling, DOJ policy shifts, and proposed legislation creates the most favorable legal environment for DeFi developers since the industry's inception. But the protections are not unlimited. The emerging legal framework draws clear lines:

Protected activities:

  • Deploying open-source smart contracts on permissionless networks
  • Building automated market makers, lending protocols, and DEX interfaces
  • Developing noncustodial wallet software and privacy tools
  • Publishing code that users independently choose to interact with

Activities that still carry risk:

  • Active governance participation that constitutes management (Lido precedent)
  • Operating services that custody or control user funds (Samourai precedent)
  • Continuing to facilitate transactions after receiving specific knowledge of sanctions violations (Tornado Cash prosecution theory)
  • Front-end interfaces that selectively curate or promote specific tokens

The distinction boils down to a principle that Judge Failla's ruling crystallizes: code is speech, deployment is publication, and neither constitutes participation in the fraud that third parties commit.

The Unresolved Frontier

Several critical questions remain unanswered. The Uniswap ruling is a district court decision — influential but not binding on other courts, and subject to potential appeal challenges. The Lido case may produce a ruling that either reinforces or complicates the governance-versus-code distinction. And the Blockchain Development Act faces the uncertain fate of all legislation in a politically divided Congress.

Perhaps most importantly, the ruling does not address the question of regulatory compliance. The SEC withdrew its Wells Notice against Uniswap Labs in 2025, but the agency has not formally conceded that DEX protocols fall outside its jurisdiction. Future enforcement actions — particularly those targeting front-end operators or fee-collecting entities — could test the boundaries of the Failla doctrine.

For now, however, the message from the Southern District of New York is unambiguous: if you write code and release it to the world, you are not your users' keeper. In a legal landscape that has been defined by uncertainty since DeFi's earliest days, that clarity alone is transformative.


BlockEden.xyz builds the infrastructure that DeFi developers depend on — from RPC endpoints to data indexing — so builders can focus on code, not compliance uncertainty. Explore our API marketplace to power your next protocol.