Skip to content
@BeTheNation

BeTheNation

🌍 BeTheNation.Fun β€” Perpetual Prediction Markets for Countries

BeTheNation.Fun is a decentralized platform enabling users to speculate on the long-term economic performance of countries through perpetual prediction markets. Built on the Base blockchain, it offers transparent, permissionless, and automated trading on country-based markets using real economic indicators.


🧭 Overview

BeTheNation.Fun introduces a new type of prediction market: perpetual, decentralized, and based on economic fundamentals. Users can trade tokenized representations of country performance β€” going long or short β€” based on indicators like inflation, GDP growth, stock indices, and exchange rates. These contracts never expire, allowing positions to be held as long as desired.

Unlike traditional prediction markets where users bet on binary outcomes, BeTheNation.Fun quantifies macroeconomic predictions into tradable indices. For example, instead of predicting "Will interest rates rise?", traders can go long or short on a rate index that reflects central bank decisions. This turns policy speculation into an on-chain asset.

Don’t just bet β€” trade the future of nations.


😡 Problem We Are Solving

  • ⏳ Limited Flexibility: Fixed expiry dates force traders to close positions early.
  • πŸ’Έ Risk of Loss: Positions liquidated, traders lose everything when wrong.
  • πŸ•’ Expiration Pressure: Quick decisions limit long-term predictions.
  • πŸ”„ Lack of Engagement: Fixed expiry leads to disconnected, short-term focus.

πŸ’‘ Solution

BeTheNation.Fun offers:

  • πŸŒ€ Perpetual Markets: No expiry, hold positions as long as you want.
  • 🚫 No Liquidation Risk: No total loss when wrong, adjust positions freely.
  • πŸ“ˆ Continuous Trading: Speculate on long-term trends without deadlines.
  • βš–οΈ Balanced Risk: Periodic fees keep the market fair and stable.

βš™οΈ How It Works

  1. Tokenized Country Markets
    Each country is represented by a token linked to its economic performance.

  2. CountryScore Generation
    A score is calculated using key economic indicators: inflation, GDP, stock indices, exchange rate, etc.

  3. Open Long/Short Positions
    Traders speculate on the direction of the CountryScore by opening long or short positions.

  4. Funding Fee Mechanism
    Every 8 hours, funding fees are exchanged between longs and shorts to balance the market.

  5. Automated Profit Sharing
    Smart contracts distribute profits to traders and liquidity providers based on their positions.


✨ Key Features

  • πŸ” Perpetual Contracts – No expiry dates, stay in the market indefinitely.
  • πŸ“ˆ CountryScore – Dynamic score from real macro data.
  • 🧠 Leverage – Amplify returns (or risks) with leverage trading.
  • πŸ”„ Funding Fee Model – Align market incentives between long and short positions.
  • πŸ§‘β€πŸŒΎ Liquidity Provider Rewards – LPs earn from fees and market activity.
  • πŸ€– On-Chain Profit Sharing – No trusted intermediaries required.

πŸ§ͺ Tech Stack

Layer Stack / Tools
Frontend React.js, Tailwind CSS
Smart Contracts Solidity, Foundry, Wagmi, Viem
Blockchain Base (for testnet & launch)
Wallet Auth RainbowKit, MetaMask
Hosting Netlify / IPFS

πŸ”— Links


πŸ“š References & Inspirations

Noise.xyz

A decentralized platform where users trade trends and narratives as assets using real-time social data.
By integrating Kaito, a mindshare oracle, Noise tracks discussions from Twitter and allows speculation on cultural attention using up to 5x leverage.

πŸ”— https://noise.xyz

Relevance to BeTheNation.Fun:
Inspired the concept of turning non-traditional data (like social trends) into tradable markets. We adapted this approach to macro-economic indicators.


Polymarket

A decentralized platform for betting on real-world outcomes like elections, weather, and markets.

πŸ”— https://polymarket.com

Relevance to BeTheNation.Fun:
A strong UX/UI and clear example of decentralized prediction markets using oracles to settle markets β€” key inspiration for execution and structure.


πŸ›  How to Contribute

We welcome contributors to help shape the future of BeTheNation.Fun!

# 1. Fork the repository
# 2. Create a feature branch
git checkout -b feature/your-feature-name

# 3. Implement your changes

# 4. Push your branch
git push origin feature/your-feature-name

# 5. Submit a pull request

Pinned Loading

  1. Frontend-btn Frontend-btn Public

    TypeScript 4

Repositories

Showing 2 of 2 repositories

Top languages

Loading…

Most used topics

Loading…