Developer Open-Sources Solana Prediction Market Smart Contract Built with Anchor
A developer has released an open-source prediction market smart contract on Solana, built using the Anchor framework and available on GitHub. The contract supports binary YES/NO outcome markets with bonding curve trading in SOL tokens, along with platform and creator fees, Metaplex metadata, and whitelist functionality. An optional backend co-signing feature allows for controlled market launches, while whitelisted users benefit from reduced fee tiers. The project includes a full stack implementation covering on-chain Rust logic, a TypeScript backend with WebSocket support, MongoDB state management, and a responsive frontend. Developers can clone the repository, run it locally against a validator or devnet, and explore a live demo at takes.fun.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in