Daily mystical predictions powered by sacred Kabbalah numerology, your unique Web3 soul signature, and the eternal Tree of Life.
- Daily Rituals - Receive mystical prophecies and earn KCODE tokens
- Daily Meditation - Unlock ancient wisdom and spiritual insights
- Wheel of Fortune - Spin for rewards with mystical energy
- Task System - Complete quests to earn tokens and unlock achievements
- Referral System - Invite friends and earn milestone rewards
- Social Integration - Connect Twitter, Telegram, and Discord
- Tree of Life - Unlock sacred Sephirot and mint unique NFTs (Coming Soon)
- Smart Contracts - On-chain token rewards and NFT minting
- Next.js 16 - React framework with App Router
- TypeScript - Type-safe development
- Tailwind CSS - Utility-first styling
- Radix UI - Accessible component primitives
- Wagmi - React hooks for Ethereum
- Viem - TypeScript Ethereum library
- Supabase - PostgreSQL database and authentication
- Next.js API Routes - Serverless API endpoints
- Sentry - Error tracking and monitoring
- Polygon Amoy Testnet - Layer 2 scaling solution
- Hardhat - Smart contract development
- Ethers.js - Ethereum library
- KCODE Token - ERC20 utility token
- Kabbalah NFT - ERC721 collectibles
- WalletConnect - Multi-wallet support
- MetaMask - Browser wallet integration
- Coinbase Wallet - Mobile wallet support
- Discord OAuth - Social authentication
- Telegram Bot - Bot verification
- Twitter API - Tweet verification
- Node.js 18+
- npm or yarn
- MetaMask or compatible Web3 wallet
- Supabase account
- Vercel account (for deployment)
- Clone the repository
git clone https://github.com/your-username/kabbalah-code.git
cd kabbalah-code- Install dependencies
npm install- Configure environment variables
cp .env.example .env.localEdit .env.local with your credentials:
- Supabase URL and keys
- Smart contract addresses
- Social integration credentials
- Sentry DSN (optional)
- Run development server
npm run devSee .env.example for all required variables:
- Blockchain: Chain ID, RPC URL, contract addresses
- Database: Supabase URL and keys
- Social: Discord, Telegram, Twitter credentials
- Monitoring: Sentry DSN
- Admin: Admin wallet addresses
Deploy contracts to Polygon Amoy:
cd contracts-deploy
npm install
npx hardhat compile
npx hardhat run scripts/deploy.js --network polygon-amoyUpdate contract addresses in .env.local
- Create Supabase project
- Run migrations from
supabase/migrations/ - Set up Row Level Security policies
- Configure authentication providers
- Production Checklist - Complete deployment guide
- Quick Deploy - Deploy in 30 minutes
- Sentry Setup - Error tracking configuration
- Test Sentry - Test error tracking
- Level System - User progression mechanics
- Wheel Spin Fix - Race condition solutions
- Security Audit - Security analysis
- Social Integrations - OAuth setup
- ะะพัะพะฒะฝะพััั ะบ ะฟัะพะดะฐะบัะตะฝั - Production readiness
- ะะฐัััะพะนะบะฐ Sentry - Sentry setup guide
- ะกะธััะตะผะฐ ััะพะฒะฝะตะน - Level system
- ะัะฟัะฐะฒะปะตะฝะธะต ัะฟะธะฝะพะฒ - Wheel spin fixes
- ะขะพะบะตะฝะพะผะธะบะฐ - Token economics
- ะะตัะธัะธะบะฐัะธั ะทะฐะดะฐะฝะธะน - Task verification
- ะ ะตัะตัะฐะปัะฝะฐั ัะธััะตะผะฐ - Referral milestones
- ะัะฟัะฐะฒะปะตะฝะธั ะฑะตะทะพะฟะฐัะฝะพััะธ - Security fixes
- Connect Wallet - Use MetaMask, WalletConnect, or Coinbase Wallet
- Complete Daily Ritual - Receive prophecy and earn 0.5 KCODE
- Daily Meditation - Unlock wisdom and earn 0.5 KCODE
- Spin the Wheel - Win KCODE tokens and multipliers
- Complete Tasks - Social connections, referrals, and more
- Invite Friends - Earn milestone rewards from referrals
- Level Up - Progress through 75 levels
- Unlock Sephirot - Mint unique NFTs (Coming Soon)
โโโ app/ # Next.js App Router
โ โโโ api/ # API routes
โ โโโ dashboard/ # Main dashboard
โ โโโ layout.tsx # Root layout
โโโ components/ # React components
โ โโโ dashboard/ # Dashboard components
โ โโโ ui/ # UI primitives
โ โโโ web3/ # Web3 components
โโโ lib/ # Utilities and helpers
โ โโโ api/ # API clients
โ โโโ db/ # Database utilities
โ โโโ points/ # Points calculation
โ โโโ referrals/ # Referral system
โ โโโ security/ # Security utilities
โ โโโ web3/ # Web3 utilities
โโโ contracts/ # Smart contracts
โโโ supabase/ # Database migrations
โโโ public/ # Static assets
- CSRF Protection - Token-based validation
- Rate Limiting - API abuse prevention
- Input Validation - Zod schema validation
- SQL Injection Protection - Parameterized queries
- XSS Protection - React auto-escaping
- Content Security Policy - Strict CSP headers
- Row Level Security - Database access control
# Run all tests
npm run test:all
# API health check
npm run test:api-health
# Contract tests
npm run contracts:test
# E2E tests
npm run test:e2e- Connect repository to Vercel
- Configure environment variables
- Deploy
vercel --prodnpm run build
npm start- Sentry - Error tracking and performance monitoring
- Vercel Analytics - Web vitals and performance
- Supabase Dashboard - Database monitoring
- Polygon Scan - Blockchain transactions
Contributions are welcome! Please read our contributing guidelines before submitting PRs.
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Kabbalah Wisdom - Ancient mystical teachings
- Polygon - Layer 2 scaling solution
- Supabase - Backend infrastructure
- Vercel - Deployment platform
- Next.js - React framework
- Community - All contributors and users
- Documentation: Check the docs folder
- Issues: GitHub Issues
- Discord: Join our community
- Twitter: @KabbalahCode
- Core gameplay mechanics
- Smart contract integration
- Social integrations
- Referral system
- Sentry monitoring
- Tree of Life NFTs
- Mobile app
- Mainnet deployment
- Advanced analytics
- Community governance
Built with โค๏ธ and mystical energy โจ
Discover your destiny through the sacred wisdom of Kabbalah