Testing
A comprehensive test page is available at /test-sdk:
Test Environment
A comprehensive test page is available at /test-sdk:
bun run dev
# Navigate to http://localhost:3000/test-sdkTest Features:
Real-time status monitoring
All 5 verification modules
OAuth flow testing
Programmatic verification
State management testing
Live test log
Running Tests
1. Basic Module Test:
Click "Email Module"
Connect wallet
Should complete successfully
2. OAuth Test (GitHub):
Ensure
GITHUB_CLIENT_IDandGITHUB_CLIENT_SECRETare setClick "GitHub Module"
OAuth popup opens
Authorize
Popup closes
Verification completes
3. OAuth Test (Twitter):
Ensure
TWITTER_CLIENT_IDandTWITTER_CLIENT_SECRETare setClick "Twitter Module"
OAuth popup opens
Authorize
PKCE flow completes
Verification succeeds
4. Programmatic Test:
Scroll to "Programmatic Verification"
Click any module button
Verification runs without modal
Result displayed below
See TESTING_GUIDE.md for detailed testing instructions.
Deployment
Production Checklist
Before deploying to production:
Environment Variables
Required variables:
Last updated