Skip to main content
Version: 1.x

Examples

These deployed examples show different ways to build on Nitrolite. Use the live apps to understand the product flow, then inspect the source repositories for integration details.

note

Stack and SDK details reflect the linked repositories when this page was added. The repositories are the source of truth if an example changes after deployment.

Co-Sign Checkout front page

Co-Sign Checkout

A shared checkout demo where two participants create a cart, co-sign checkout actions, move funds into an app-session cart, propose purchases, close the cart, and withdraw remaining shared-wallet funds.

Functionality

  • Two-party shared cart and approval flow.
  • Shared Wallet plus Checkout Cart app session.
  • Purchase proposals, cart close, and wallet withdrawal.
  • YUSD and YELLOW on Ethereum Sepolia.

Stack

  • Next.js, React, TypeScript, Tailwind CSS.
  • Supabase rooms, proposals, and events.
  • Vercel deployment with scheduled proposal expiration.
  • MetaMask SDK and viem.

SDKs

  • @yellow-org/sdk
  • @yellow-org/sdk-compat
Nitrolite Store front page

Nitrolite Store

A content-store reference app with a Go backend and browser frontend. The shopper connects MetaMask, opens a store app session, adds funds, buys catalog content, reads purchased content, and withdraws the remaining balance.

Functionality

  • MetaMask shopper identity with backend app signing.
  • Frontend-constructed app-session updates.
  • Catalog purchase and content gating.
  • YUSD and YELLOW pricing on Ethereum Sepolia.

Stack

  • Go service serving API and built web UI.
  • React, Vite, TypeScript frontend.
  • SQLite persistence, Docker, Railway.
  • MetaMask and viem in the browser.

SDKs

  • github.com/layer-3/nitrolite/sdk/go
  • @yellow-org/sdk
Nexus P2P Transfer front page

Nexus P2P Transfer

A workshop-style content app that demonstrates wallet connection, Nitrolite session setup, balance polling, and instant peer-to-peer support payments to post authors.

Functionality

  • MetaMask connection and Sepolia network selection.
  • Nitrolite client session with balance polling.
  • Small support transfers to author wallets.
  • YUSD and YELLOW asset selection.

Stack

  • Preact with Hooks, TypeScript, and Vite.
  • CSS Modules for app styling.
  • viem for wallet access and amount conversion.
  • Vercel-hosted static frontend.

SDKs

  • @yellow-org/sdk
  • @yellow-org/sdk-compat