Tech Stack & Contracts

The technologies and smart contracts powering BaseFit.


BaseFit is built on a familiar, production-grade stack chosen for developer velocity and Base-native integration.

Tech stack

LayerTechnology
FrontendNext.js + React Native
StylingTailwind CSS + Framer Motion
StateZustand + TanStack Query
WalletCoinbase Wallet SDK + WalletConnect
BackendNode.js + Express + TypeScript
DatabasePostgreSQL + TimescaleDB
CacheRedis
BlockchainSolidity + Hardhat + Ethers.js
IndexingThe Graph
StorageIPFS + Pinata
HostingVercel (web) + AWS (backend)

Smart contracts

The on-chain logic is split across focused contracts on Base:

ContractResponsibility
BFITToken.solERC-20 token with mint/burn
SneakerNFT.solERC-721 with attribute storage
SneakerFactory.solMinting and breeding logic
ActivityTracker.solActivity verification & reward calc
RewardDistributor.solDaily reward distribution
Marketplace.solNFT trading with fee logic
StakingPool.solBFIT staking for rewards
TournamentManager.solTournament creation & prizes
GemSystem.solGem management and socketing
AntiCheatOracle.solActivity 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.