Seamlessly manage crypto wallets with automated features and secure blockchain integration
On signup, a secure Solana wallet (public/private key pair) is generated and stored safely with enterprise-grade encryption.
Powered by Solana Web3.js for fast and reliable on-chain transactions with minimal fees and lightning-fast confirmations.
Built with Hono and deployed on Cloudflare Workers for unmatched scalability, performance, and global edge distribution.
Uses Turso + SQLite + Drizzle ORM for secure key management, transaction tracking, and data persistence.
Developed with TanStack Start for a responsive, smooth, and delightful user experience.
Frontend | 🔥 TanStack Start + React + TypeScript |
Backend | ⚡ Hono (Cloudflare Workers) |
Database | 🗃️ Turso (SQLite + Drizzle ORM) |
Blockchain | 🌐 Solana Web3.js |
Styling | 🎨 TailwindCSS + Radix UI |
State Management | 🐻 Zustand + TanStack Query |
Authentication | 🔒 JWT + bcryptjs |
Validation | ✅ Zod |
bonk-bot/
├── 📱 apps/
│ ├── 🖥️ web/ # Frontend application
│ │ ├── src/
│ │ │ ├── components/ # UI components
│ │ │ ├── routes/ # Page routes
│ │ │ ├── hooks/ # Custom hooks
│ │ │ ├── store/ # State management
│ │ │ └── lib/ # Utilities & API
│ │ └── package.json
│ └── 🔧 server/ # Backend API
│ ├── src/
│ │ ├── routes/ # API endpoints
│ │ ├── services/ # Business logic
│ │ ├── middlewares/ # Custom middleware
│ │ ├── lib/ # Database & utilities
│ │ └── types/ # Type definitions
│ └── package.json
├── 📦 package.json # Root configuration
└── 🔧 turbo.json # Turborepo config
- 📋 Node.js >= 18
- 🧊 Bun >= 1.2.18
- 🔑 Cloudflare Account (for deployment)
- 🗄️ Turso Database (for production)
-
Clone the repository
git clone https://github.com/AdityaTote/bonk-bot.git cd bonk-bot
-
Install dependencies
bun install
-
Set up environment variables
# Copy environment files cp apps/server/.env.example apps/server/.env cp apps/web/.env.example apps/web/.env
-
Configure your environment
- Add your database connection string
- Set up Solana RPC endpoints
- Configure JWT secrets
# 🔥 Start all applications in development mode
bun run dev
# 🎯 Start specific application
bun run dev --filter=web # Frontend only
bun run dev --filter=server # Backend only
# 🏗️ Build all applications
bun run build
# 🎯 Build specific application
bun run build --filter=web
bun run build --filter=server
-
Generate database migrations
cd apps/server bun run drizzle:generate
-
Apply migrations
bun run drizzle:migrate
cd apps/server
bun run deploy
cd apps/web
bun run build
bun run deploy
POST /api/v1/auth/signup
- Create new account with walletPOST /api/v1/auth/signin
- User authenticationGET /api/v1/auth/me
- Get user profile
POST /api/v1/transactions/send
- Send SOL tokensGET /api/v1/transactions/history
- Transaction history
We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- 🌐 Solana for the blazing-fast blockchain
- ⚡ Hono for the lightweight web framework
- 🔥 TanStack for amazing React tools
- ☁️ Cloudflare for edge computing
- 🗄️ Turso for the distributed SQLite
Made with ❤️ by Aditya Tote
⭐ Star this repo if you found it helpful!