A cutting-edge decentralized prediction platform on the Base network, reimagining how users engage with high-stakes outcomes.
Momentum Markets allows participants to lock in ETH or ERC20 tokens on Base Sepolia, directing 95% of each contribution to a shared Momentum Pool that grows with community input. The remaining 5% supports the ecosystem:
- 3% for liquidity
- 1% for development
- 1% for community incentives
This ensures sustainability without mid-event exits.
- Dynamic Market Cap Scaling: The market cap scales with participation (e.g., $700K on Team 1 reaches 7x), boosting individual stakes.
- Reward Distribution: At the event's close, successful predictors earn $BMM tokens based on their contribution's share of the winning pool.
- Multi-Token Support: Bet with ETH or any ERC20 token.
- Oracle Integration: Uses Chainlink price feeds to get accurate USD values for tokens.
momentum-markets/
├── contracts/
│ ├── MomentumMarkets.sol
│ └── TeamToken.sol
├── logs/
├── erc20_deployer.py
├── momentum_markets_deployer.py
├── logger.py
├── main.py
├── requirements.txt
└── README.md
The main contract that handles:
- Event creation and management
- Betting with ETH or ERC20 tokens
- Fee distribution
- Event settlement
- Reward calculations and distribution
ERC20 token representing a team in a betting event:
- Minted to winners after event settlement
- Owned by the MomentumMarkets contract
- Represents a user's stake in the Momentum Pool
GET /
- Root endpointPOST /deploy-token
- Deploy a new ERC20 tokenGET /token/{contract_address}
- Get token detailsPOST /mint-tokens
- Mint more tokensGET /balance/{contract_address}/{address}
- Check token balance
POST /deploy-momentum-markets
- Deploy the Momentum Markets platformPOST /deploy-team-tokens
- Deploy team tokens for an eventPOST /create-event
- Create a new betting eventPOST /settle-event
- Settle an event by determining the winnerGET /event/{event_id}
- Get event details
- Clone the repository
- Install dependencies:
pip install -r requirements.txt
- Configure environment variables in a
.env
file:BASE_TESTNET_RPC_URL=https://sepolia.base.org PRIVATE_KEY=your_private_key ACCOUNT_ADDRESS=your_account_address ETH_USD_PRICE_FEED=chainlink_eth_usd_price_feed_address
- Run the API server:
uvicorn main:app --reload
- Deploy the Momentum Markets platform
- Create an event and deploy team tokens
- Place bets on a team using ETH or ERC20 tokens
- After the event concludes, settle the event
- Winners can claim their rewards
MIT
For inquiries, please contact the Momentum Markets team.