When DeFi meets prediction markets.
FateFi uses Solana smart contracts to manage automated token swaps based on prediction market outcomes. The system:
- Monitors prediction market prices/probabilities via on-chain oracles
- Executes swaps when user-defined thresholds are crossed
- Provides a risk management layer on top of prediction markets
Users deposit tokens (e.g. SOL), choose a market (e.g. "Will ETH be above $4k by June?"), and define:
- Target Token – the asset to swap into if the prediction passes a set threshold.
- Downside Plan – the asset to swap into (usually a stablecoin) if the prediction weakens.
📈 If the prediction crosses a positive threshold (e.g. >65%), the user swaps into a bullish asset.
📉 If it drops below a protective threshold (e.g. <35%), they swap into safety.
Think of it as a speculation-aware automated risk manager.
The core logic is built with Anchor framework and integrates with various DeFi protocols for token swaps.
cd front-end
npm install
FateFi contracts address: GfJp5WgVVvSkxdAGSRKEgfjZXdDKPWorNKBQ7sWFE5uD
cd front-end
npm run dev
- Connect your Solana wallet using the wallet adapter
- Select a prediction market to participate in
- Define your target token and downside plan
- Set your threshold parameters
- Deposit tokens to activate your strategy
- Monitor your positions in the dashboard
You're invited to join this project ! Check out the contributing guide.
If you're interested in how the project is organized at a higher level, please contact the current project manager.
Developers
![]() Mohammed JBILOU |
![]() Sacha DUJARDIN |
![]() Lucas LECLERC |
![]() Elie STROUN |
---|
🚀 Don't hesitate to follow us on our different networks, and put a star 🌟 on
PoC's
repositories
Made with ❤️ by PoC