Skip to content

dethan3/StarkSip

Repository files navigation

StarkSip

Creators can sign in with email, auto-create an embedded wallet, receive small crypto tips, and get verifiable on-chain receipts (MVP).

Overview

  • Email sign-in; first login auto-creates an embedded wallet.
  • Public creator page at /@username to receive and showcase tips.
  • One-tap tipping with preset/custom amounts, message, and anonymous option.
  • Shareable receipt page for each tip; MVP uses mocked tx, real payment integration next.
  • Dashboard with stats and quick shortcuts.

For setup and architecture details, see SETUP.md and MVP_SUMMARY.md.

Quick Start

  1. Prepare a Supabase project and create three tables: users, tips, receipts.

  2. Create .env.local with:

NEXT_PUBLIC_SUPABASE_URL=your-supabase-url
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=your-supabase-key
NEXT_PUBLIC_SITE_URL=http://localhost:3000
  1. Install and run:
pnpm install
pnpm dev

Open http://localhost:3000 and follow the flow: sign-in → create wallet → set username and profile.

NPM Scripts (package.json)

  • pnpm dev: start dev server
  • pnpm build: build
  • pnpm start: run in production
  • pnpm lint: lint code

Primary Routes

  • /: home
  • /auth/login, /auth/sign-up: login/sign-up
  • /profile/setup, /profile/edit: first-time setup / edit profile (auth required)
  • /dashboard: creator dashboard (auth required)
  • /@username: creator public page
  • /receipt/[id]: receipt details

Environment Variables

# Supabase
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=

# Site
NEXT_PUBLIC_SITE_URL=

# (Optional) Chipi SDK environment
NEXT_PUBLIC_CHIPI_ENV=production  # or development

Note: This repo uses Supabase's new publishable key; legacy anon keys also work.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors