Skip to content

PoCInnovation/PBW-hackathon-2025

Repository files navigation

Logo

FateFi

When DeFi meets prediction markets.

How does it work?

FateFi uses Solana smart contracts to manage automated token swaps based on prediction market outcomes. The system:

  1. Monitors prediction market prices/probabilities via on-chain oracles
  2. Executes swaps when user-defined thresholds are crossed
  3. 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.

Getting Started

Installation

cd front-end
npm install

Quickstart

FateFi contracts address: GfJp5WgVVvSkxdAGSRKEgfjZXdDKPWorNKBQ7sWFE5uD

cd front-end
npm run dev

Usage

  1. Connect your Solana wallet using the wallet adapter
  2. Select a prediction market to participate in
  3. Define your target token and downside plan
  4. Set your threshold parameters
  5. Deposit tokens to activate your strategy
  6. Monitor your positions in the dashboard

Get involved

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.

Our PoC team ❤️

Developers


Mohammed JBILOU

Sacha DUJARDIN

Lucas LECLERC

Elie STROUN

Organization

LinkedIn logo Instagram logo Twitter logo Discord logo

Website logo

🚀 Don't hesitate to follow us on our different networks, and put a star 🌟 on PoC's repositories

Made with ❤️ by PoC

About

FateFi: when Defi meets prediction markets

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •