Skip to content

zunmax/zama-og-nft

Repository files navigation

Zama OG NFT Claim - Suspended Account Solution

A solution for suspended X account holders to claim their Zama OG NFT.

How It Works

  1. Zama team creates an allowlist of X account IDs for users who couldn't claim due to suspension
  2. Users connect their Guild.xyz wallet (where their suspended X account is linked)
  3. The app fetches linked X IDs from Guild.xyz and checks against the allowlist
  4. If eligible, users submit a destination wallet address with a signature
  5. Zama team uses the mint function to send NFTs to the submitted wallets

Setup

  1. Install dependencies: npm install
  2. Copy env.example to .env.local and fill in your Supabase and WalletConnect credentials
  3. Run the SQL in supabase-schema.sql to set up your database
  4. Add eligible X account IDs to the allowlist table
  5. Run npm run dev to start the development server

Environment Variables

  • NEXT_PUBLIC_SUPABASE_URL - Supabase project URL
  • NEXT_PUBLIC_SUPABASE_ANON_KEY - Supabase anon key
  • NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID - WalletConnect project ID

About

A solution for suspended X account holders to claim their Zama OG NFT.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors