- ✅ Dev server running at http://localhost:5175/
- ✅ Supabase database configured
- ✅ Environment variables set in
.env
Steps:
- Open http://localhost:5175/signup
- Fill in the form:
- Email:
test@example.com - Password:
Password123! - Handle:
john(will becomejohn@pyusd)
- Email:
- Click Sign Up
Expected Results:
- ✅ Loading animation appears
- ✅ Wallet is auto-generated
- ✅ Redirect to
/dashboard - ✅ Success message shows
Verify in Supabase:
-- Check user was created
SELECT * FROM auth.users WHERE email = 'test@example.com';
-- Check wallet was created
SELECT public_address FROM wallets
JOIN auth.users ON wallets.user_id = users.id
WHERE users.email = 'test@example.com';
-- Check handle was created
SELECT handle FROM handles
JOIN auth.users ON handles.user_id = users.id
WHERE users.email = 'test@example.com';Steps:
- Logout if logged in
- Go to http://localhost:5175/
- Login with:
- Email:
test@example.com - Password:
Password123!
- Email:
- Verify dashboard loads
Expected Results:
- ✅ Login successful
- ✅ Redirect to
/dashboard - ✅ Balance card displays (showing 0 PYUSD initially)
- ✅ Handle displays as
@john@pyusd - ✅ Wallet address shows (truncated:
0x1234...5678) - ✅ Copy button works
- ✅ Three action buttons: Send, Receive, History
Visual Checks:
- Premium gradient background
- Smooth animations on load
- Glassmorphism effect on card
- Responsive layout
Steps:
- On dashboard, click Receive button
- Modal should open with QR code
- QR code should encode your handle:
john@pyusd - Test download button
- Close modal
Expected Results:
- ✅ Modal opens with smooth animation
- ✅ QR code displays your handle
- ✅ Download QR button works
- ✅ Close button/backdrop click closes modal
Before you can test sending payments, you need funds in your wallet.
Steps:
A. Copy Your Wallet Address
- Go to dashboard
- Click copy icon next to wallet address
- Your address should be like:
0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb9
B. Get Arbitrum Testnet ETH (for gas fees)
- Visit: https://faucet.quicknode.com/arbitrum/sepolia
- OR: https://www.alchemy.com/faucets/arbitrum-sepolia
- Paste your wallet address
- Request testnet ETH
- Wait 1-2 minutes for confirmation
C. Get Test USDT Tokens (PYUSD proxy) Since PYUSD might not be on Arbitrum testnet yet, we use USDT:
- Visit: https://faucet.circle.com/ (if available)
- OR send testnet USDT from another wallet
- Contract:
0x6c3ea9036406852006290770BEdFcAbA0e23A0e8
D. Verify Balance
- Refresh dashboard
- Balance should update to show your USDT/PYUSD amount
- If not showing, check Arbiscan: https://arbiscan.io/address/YOUR_ADDRESS
Setup - Create Second User:
- Open incognito/private window
- Sign up another account:
- Email:
alice@example.com - Password:
Password123! - Handle:
alice(becomesalice@pyusd)
- Email:
- Note Alice's handle:
alice@pyusd
Test Sending:
- In your main account (john), click Send
- Fill form:
- To Handle:
alice@pyusd - Amount:
1(1 PYUSD)
- To Handle:
- Click Send Payment
- Confirm transaction
Expected Results:
- ✅ Handle validates (green checkmark)
- ✅ Amount validates (positive number)
- ✅ Confirmation modal appears
- ✅ Transaction submitted
- ✅ Success animation (confetti/checkmark)
- ✅ Transaction hash displayed
- ✅ Explorer link provided
- ✅ Balance updates after confirmation
Error Cases to Test:
- ❌ Invalid handle → Shows error
- ❌ Sending to self → Shows error
- ❌ Amount > balance → Shows insufficient funds
- ❌ Invalid amount (negative, zero) → Shows error
Steps:
- After sending payment, go to
/transactionspage - Or click History on dashboard
Expected Results:
- ✅ Sent transaction appears in list
- ✅ Transaction shows:
- ✅ Status badge (Pending → Confirmed)
- ✅ Recipient:
alice@pyusd - ✅ Amount:
1.00 PYUSD - ✅ Timestamp
- ✅ Transaction hash (truncated)
- ✅ "View on Explorer" link
- ✅ Click explorer link → Opens Arbiscan
- ✅ Transaction visible on blockchain
In Alice's Account:
- ✅ Login as Alice
- ✅ Check transactions page
- ✅ Received transaction appears
- ✅ Shows sender:
john@pyusd - ✅ Balance updated
CRITICAL TESTS:
A. Private Key Never Exposed
- Open DevTools (F12)
- Go to Network tab
- Clear network log
- Perform signup
- Check all network requests
- VERIFY:
encrypted_private_keyis NEVER in responses - VERIFY: Only
public_addressandhandleare sent to client
B. Authentication Required
- Logout
- Try to access
/dashboarddirectly - VERIFY: Redirected to login
- Try to access
/transactions - VERIFY: Redirected to login
C. SQL Injection Prevention
- Try handles with special chars:
'; DROP TABLE-- - VERIFY: Validation rejects invalid characters
- VERIFY: Only
[a-z0-9._-]@pyusdaccepted
D. XSS Prevention
- Try handle:
<script>alert('xss')</script> - VERIFY: Blocked by validation
- Display should escape HTML
Steps:
- Open DevTools (F12)
- Click device toggle (Ctrl+Shift+M)
- Test these viewports:
- iPhone SE (375px)
- iPhone 12 Pro (390px)
- iPad (768px)
- Desktop (1920px)
Checks for Each Viewport:
- ✅ All text is readable
- ✅ Buttons are touch-friendly (min 44px)
- ✅ Modals fit screen
- ✅ Forms are usable
- ✅ No horizontal scroll
- ✅ Navbar/header responsive
- ✅ Balance card scales properly
- ✅ Transaction list readable
Check Console:
- Open DevTools → Console tab
- Navigate through app
- VERIFY: No errors or warnings
Check Animations:
- ✅ Login page: Fade-in animation smooth
- ✅ Dashboard: Slide-up animation on mount
- ✅ Modals: Scale-in animation
- ✅ Success: Confetti or checkmark animation
- ✅ Loading states: Spinner shows during async ops
- ✅ Transitions: Page changes are smooth
Check Performance:
- ✅ Pages load quickly (<1s)
- ✅ No jank during animations
- ✅ Balance updates after transactions
- ✅ Refresh multiple times - no memory leaks
Steps:
# Build for production
npm run build
# Preview production build
npm run preview
# Open browser to preview URL
# Test all features againVerify:
- ✅ Build completes without errors
- ✅ All features work in production mode
- ✅ Environment variables loaded
- ✅ No console errors
- ✅ Assets optimized (check Network tab)
Fix:
- Ensure you have test tokens
- Check RPC URL is correct
- Wait for blockchain confirmation (15-30 seconds)
- Refresh page
Fix:
- Check you have ETH for gas fees
- Verify recipient handle exists
- Check PYUSD balance sufficient
- Try with smaller amount first
Fix:
- Handles are unique
- Try different handle
- Check Supabase
handlestable
Fix:
- Check Supabase credentials in
.env - Verify user exists in Supabase auth
- Check browser console for errors
Copy this checklist and mark as you test:
- ✅ User registration works
- ✅ Wallet auto-created on signup
- ✅ Handle saved correctly
- ✅ Login works
- ✅ Dashboard displays correctly
- ✅ Balance card shows wallet info
- ✅ QR code generation works
- ✅ Copy address button works
- ✅ Send modal opens
- ✅ Handle validation works
- ✅ Amount validation works
- ✅ Payment sends successfully
- ✅ Transaction hash returned
- ✅ Transaction history displays
- ✅ Explorer link works
- ✅ Received transactions show
- ✅ Private keys never exposed
- ✅ Protected routes work
- ✅ Mobile responsive
- ✅ Animations smooth
- ✅ No console errors
- ✅ Production build works
Use these test accounts:
| User | Password | Handle | |
|---|---|---|---|
| John | test@example.com | Password123! | john@pyusd |
| Alice | alice@example.com | Password123! | alice@pyusd |
| Bob | bob@example.com | Password123! | bob@pyusd |
After testing locally:
- ✅ All tests passing
- 📝 Document any bugs found
- 🔧 Fix critical issues
- 🚀 Deploy to production (see DEPLOYMENT.md)
- 🧪 Test on production
- 🎉 Launch!
Happy Testing! 🎊