Welcome to TipForge β Creator Tipping Infrastructure built on Stellar blockchain.
Enable creators worldwide to receive instant USDC payments from fans across any platform, removing payment friction and geographic barriers.
TipForge is organized as three independent, tightly-integrated repositories:
1. Backend
Core system of intelligence and infrastructure
- REST API for all operations
- User authentication and creator management
- Payment orchestration and Stellar integration
- PostgreSQL database + Redis caching
- Source of truth for all business rules
Tech: Fastify, Node.js, TypeScript, PostgreSQL, Redis, Stellar SDK
Get Started:
git clone https://github.com/TipForge/backend-.git
cd backend
npm install
npm run prisma:migrate
npm run dev2. SDK
Clean abstraction layer for developers
- Type-safe client library wrapping backend APIs
- Framework-agnostic core (works with any JavaScript framework)
- Optional React hooks for seamless integration
- Utility functions for wallet, transaction, validation operations
- Npm package for easy integration into third-party apps
Tech: TypeScript, Stellar SDK, Zod, React (optional)
Get Started:
git clone https://github.com/TipForge/sdk.git
cd sdk
npm install
npm run build3. Frontend
User-facing web application
- Landing page and user onboarding
- Creator profile pages and dashboards
- Send tip flow (minimal UI, maximum simplicity)
- Creator earnings dashboard
- Responsive design with Tailwind CSS
Tech: Next.js, React, TypeScript, Tailwind CSS, Framer Motion, TanStack Query
Get Started:
git clone https://github.com/TipForge/frontend.git
cd frontend
cp .env.example .env.local
npm install
npm run devFrontend (Next.js)
β
SDK (TypeScript abstraction)
β
Backend (Fastify)
β
Stellar Blockchain
1. Fan clicks "Send Tip" in Frontend
2. Frontend calls SDK.createTip(creatorId, amount)
3. SDK validates input, sends request to Backend API
4. Backend validates auth, verifies creator wallet, builds Stellar transaction
5. Backend broadcasts transaction to Stellar network
6. SDK receives confirmation, returns to Frontend
7. Frontend shows success state, updates transaction history
- Backend defines API contracts first (
src/types/index.ts) - SDK wraps those contracts
- Frontend consumes stabilized SDK
- Backend = All logic, auth, payments, business rules
- SDK = Translation layer, validation helpers, utilities
- Frontend = Experience only, calls SDK, zero business logic
- Each repo builds, tests, deploys independently
- No hidden cross-repo coupling at runtime
- Clear boundaries between layers
git clone https://github.com/TipForge/backend-.git backend
git clone https://github.com/TipForge/sdk.git sdk
git clone https://github.com/TipForge/frontend.git frontendcd backend && npm install
cd ../sdk && npm install
cd ../frontend && npm installcd backend
npm run prisma:generate
npm run prisma:migrate# Terminal 1: Backend
cd backend && npm run dev
# Terminal 2: SDK (compile)
cd sdk && npm run build --watch
# Terminal 3: Frontend
cd frontend && npm run devBackend runs on http://localhost:3000
Frontend runs on http://localhost:3001 (or next available port)
- Node.js 20+ LTS
- PostgreSQL 14+
- Redis 6+
- Git
DATABASE_URL=postgresql://user:password@localhost:5432/tipforge
REDIS_URL=redis://localhost:6379
JWT_SECRET=your-secret-key
STELLAR_NETWORK=testnet
STELLAR_SERVER_SECRET=your-stellar-account-secret
USDC_CONTRACT_ID=contract-id
NEXT_PUBLIC_API_URL=http://localhost:3000
Each repo has comprehensive documentation:
- Backend: backend/README.md β API contracts, database schema, development guide
- SDK: sdk/README.md β API reference, usage examples, React hooks
- Frontend: frontend/README.md β Component structure, state management, development workflow
All repos follow these standards:
- TypeScript: Strict mode enabled (
strict: true) - Formatting: Prettier (100 char line width, single quotes)
- Linting: ESLint with TypeScript plugin
- Testing: Vitest for unit/integration tests
- Validation: Zod schemas for runtime type safety
npm run lint # Check style
npm run format # Auto-format code
npm run build # Verify TypeScript compiles
npm run test # Run tests- Backend β Define API contract in
src/types/index.ts - Backend β Implement endpoint and business logic
- SDK β Wrap the endpoint in
src/client.ts - Frontend β Call SDK from component, no direct backend calls
- All changes go through pull requests
- Link related PRs across repos
- Verify contracts match across backend β SDK β frontend
Deploy to production server or Docker container:
npm run build
npm startPublish to npm (when ready):
npm run build
npm publishDeploy to Vercel or Netlify:
npm run build
npm start- Fork the appropriate repo
- Create a feature branch:
git checkout -b feature/my-feature - Follow code standards (lint, format, test)
- Open a pull request with clear description
- Get review from team members
- Issues: Report bugs in the relevant repo's Issues tab
- Discussions: Start conversations in GitHub Discussions
- Documentation: Check repo READMEs first
TipForge is open source under the MIT License.
- β Instant USDC payments via Stellar
- β Multi-platform creator profiles (X, Instagram, TikTok, YouTube, GitHub, Twitch)
- β No geographic barriers or regional restrictions
- β Low transaction fees powered by Stellar
- β Simple onboarding for creators and fans
- β Creator dashboard with earnings tracking
- β Developer-friendly SDK for integrations
- β Type-safe TypeScript throughout
Phase 1 (Current) β MVP
- Creator registration and verification
- Send tip functionality
- Basic dashboard
Phase 2 β Scale
- Browser extension
- Mobile apps
- Payment links
Phase 3 β Ecosystem
- Subscriptions
- Donations
- Merchant tools
Built with β€οΈ by the TipForge team
Join us in making creator support frictionless, global, and accessible.