BaseFit is built on a familiar, production-grade stack chosen for developer velocity and Base-native integration.
Tech stack
| Layer | Technology |
|---|---|
| Frontend | Next.js + React Native |
| Styling | Tailwind CSS + Framer Motion |
| State | Zustand + TanStack Query |
| Wallet | Coinbase Wallet SDK + WalletConnect |
| Backend | Node.js + Express + TypeScript |
| Database | PostgreSQL + TimescaleDB |
| Cache | Redis |
| Blockchain | Solidity + Hardhat + Ethers.js |
| Indexing | The Graph |
| Storage | IPFS + Pinata |
| Hosting | Vercel (web) + AWS (backend) |
Smart contracts
The on-chain logic is split across focused contracts on Base:
| Contract | Responsibility |
|---|---|
| BFITToken.sol | ERC-20 token with mint/burn |
| SneakerNFT.sol | ERC-721 with attribute storage |
| SneakerFactory.sol | Minting and breeding logic |
| ActivityTracker.sol | Activity verification & reward calc |
| RewardDistributor.sol | Daily reward distribution |
| Marketplace.sol | NFT trading with fee logic |
| StakingPool.sol | BFIT staking for rewards |
| TournamentManager.sol | Tournament creation & prizes |
| GemSystem.sol | Gem management and socketing |
| AntiCheatOracle.sol | Activity validation oracle |
Security
Contracts are slated for independent audits (e.g. Certik / OpenZeppelin) before launch, backed by a bug bounty program. Always interact only with official contract addresses published by the BaseFit team.