💡 Decentralized Q&A platform rewarding knowledge sharing EVM compatible
StarkOverflow EVM is a decentralized Q&A platform combining EVM smart contracts on Base Sepolia with Filecoin perpetual storage via Lighthouse SDK.
Tech Stack Smart Contracts: Solidity on Base Sepolia (0x4A1058b3E8EDd3De25C7D35558176b102217EA22) Frontend: React + TypeScript + Vite EVM Integration: Wagmi + Viem (migrated from Starknet) Auth: Privy for wallet connection Storage: Lighthouse SDK (@lighthouse-web3/sdk) for Filecoin
Architecture: We implemented a dual-layer storage strategy: metadata lives on-chain (cheap), content lives on Filecoin (permanent). When users create questions or answers, the content is automatically uploaded to Filecoin via Lighthouse SDK, and only the CID is stored on-chain. This keeps gas costs minimal while ensuring content permanence.
Filecoin Integration Lighthouse SDK was crucial - it abstracts Filecoin storage deals into simple lighthouse.upload() calls. Every upload creates a perpetual storage deal, ensuring our Q&A content survives forever without recurring costs. We built automatic CID-to-URL conversion in our type mapping layer for seamless content retrieval.
Notable Hack The project was originally Starknet-based. We completely rewrote the contract provider from Starknet-react to wagmi/viem while maintaining the same interface - a full blockchain migration mid-development! We also created a transparent CID conversion layer that automatically transforms contract data (CIDs) to displayable content (URLs) without the UI knowing.
Result: Fully decentralized Q&A where content is permanent, censorship-resistant, and verifiable on-chain through CIDs.

