BhavyaS-Supra

Supra Dex V3 — Design skill for Claude Code

Design community

Uniswap V3 style DEX forked and adapted for Supra MultiVM EVM — built end-to-end in 45 mins using the supra-solidity-skill (Claude Code).

How to install Supra Dex V3

This entry records only its repository, not the path inside it, so there is no exact command to give. Open BhavyaS-Supra/supra-dex-v3 and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Supra Dex V3 does

Uniswap V3 style DEX forked and adapted for Supra MultiVM EVM — built end-to-end in 45 mins using the supra-solidity-skill (Claude Code). Foundry contracts, 28 tests passing, Next.js swap frontend with StarKey wallet.

Alternatives in Design

  • Frontend Design — Create distinctive, production-grade frontend interfaces with high design quality 94.1k ★
  • Export Diagram — Export a diagram-design HTML file to .svg and .png next to the source 27.2k ★
  • Theme Swap — Recolour an extracted site's design around a new brand primary 3.6k ★

README

Supra V3 DEX

A Uniswap V3-style concentrated-liquidity DEX for Supra's EVM MultiVM chain: a fork of the real `Uniswap/v3-core` and `Uniswap/v3-periphery` contracts, built with Foundry, plus a basic Next.js + StarKey swap frontend.

**Nothing in this repo has been deployed anywhere.** Contracts are built and tested locally only; deployment scripts exist under `contracts/script/` for you to run when you're ready.

Structure

supra-dex-v3/
├── contracts/     Foundry project - forked + adapted Uniswap V3 core & periphery
└── frontend/      Next.js 16 + viem + wagmi swap UI, StarKey-first wallet connect

What's in the fork

  • Core (contracts/src/core): SupraV3Factory, SupraV3Pool, tick/oracle/swap math libraries — forked from Uniswap/v3-core@v1.0.0, kept on Solidity 0.7.6 to preserve the original's overflow-sensitive math exactly as audited.
  • Periphery (contracts/src/periphery): SupraV3SwapRouter, SupraV3PositionManager, QuoterV2, TickLens — forked from Uniswap/v3-periphery@v1.3.0.
  • Simplified position NFT: the real on-chain animated SVG renderer was dropped in favor of SupraV3PositionDescriptor, which returns a plain JSON tokenURI with the position's real fields (tokens, fee, tick range, liquidity).
  • Entry-point contracts were renamed (UniswapV3PoolSupraV3Pool, etc.); the math libraries keep their original names since there's no reason to rename generic utilities.

See `contracts/README.md` for build/test/deploy commands.

Frontend

Basic swap UI only (no liquidity-management screen): connect wallet (StarKey first, MetaMask fallback), pick tokens from an env-configured list, get a live quote from `QuoterV2`, approve if needed, swap via `SupraV3SwapRouter.exactInputSingle`.

cd frontend
pnpm install
cp .env.local.example .env.local   # fill in addresses after you deploy
pnpm dev

Until `contracts/script/*.s.sol` have been run and the resulting addresses filled into `frontend/.env.local`, the s