Back to list
gabrielantonyxaviour

database

by gabrielantonyxaviour

Intent-based DEX using Move 2.0 enums where solvers compete to fulfill swap/limit/TWAP orders optimally

0🍴 0📅 Jan 14, 2026

SKILL.md


name: database description: Add/remove/edit data or run migrations or make changes in our supabase tables (project)

NEVER: Use Playwright, create manual SQL scripts, or use local DB

Project ID: qrsdodlbzjghfxoppcsp

IMPORTANT: All tables/views/functions MUST be prefixed with velox_

Active tables (off-chain data):

  • No tables created yet. Create tables as needed with velox_ prefix.

Auth: Using SERVICE ROLE KEY (no RLS)

  • RLS is DISABLED on all velox_ tables
  • No Supabase auth - wallet-based auth handled by Privy
  • User identified by wallet address (primary key)

Environment Variables (server-side only):

  • SUPABASE_URL - Supabase project URL
  • SUPABASE_KEY - Service role key (NOT anon key)
  • NO NEXT_PUBLIC_* Supabase variables

Supabase Client Setup (server-side only):

import { createClient } from '@supabase/supabase-js'

const supabase = createClient(
  process.env.SUPABASE_URL!,
  process.env.SUPABASE_KEY!
)

Schema operations:

cd frontend

# Create migration
npx supabase migration new description

# Push to remote
npx supabase db push

# Regenerate types (always after schema change)
npx supabase gen types typescript --project-id qrsdodlbzjghfxoppcsp > types/supabase.ts

# Check current schema
npx supabase db dump --remote --schema-only

Check types:

See frontend/types/supabase.ts for current schema TypeScript types

Always execute commands directly. Never generate scripts for manual execution.

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon