Skip to content

Latest commit

 

History

History
67 lines (45 loc) · 1.72 KB

File metadata and controls

67 lines (45 loc) · 1.72 KB

Uniswap Labs Web Interface

Accessing the Uniswap Interface

To access the Uniswap Interface, use an IPFS gateway link from the latest release, or visit app.uniswap.org.

Tech Stack

  • Build: Vite with experimental Rolldown support
  • Deployment: Cloudflare Workers via @cloudflare/vite-plugin
  • Edge Functions: Hono.js for SSR meta tags and OG image generation

Prerequisites

  • Node.js version - Use the version specified in .nvmrc. Run nvm use to switch.
  • Bun - Package manager
  • 1Password CLI - Required for environment variables (run bun lfg from monorepo root for full setup)

Running Locally

bun install
bun web dev

The dev server runs on port 3000 by default.

Using a different port may cause CORS errors for certain Uniswap Backend services.

Development Commands

Command Description
bun web dev Start development server
bun web build:production Production build
bun web preview Preview production build locally
bun web typecheck Run type checking
bun web test Run unit tests
bun web e2e Run E2E Playwright tests

Translations

To get translations to work you'll need to set up 1Password, and then:

eval $(op signin)

Sign into 1Password, then:

bun mobile env:local:download

Which downloads a .env.defaults.local file at the root. Finally:

bun web i18n:download

Which will download the translations to ./apps/web/src/i18n/locales/translations.

Further Documentation

See CLAUDE.md for detailed development guidance, architecture patterns, and workflows.