A decentralized prediction market platform built on Ethereum where users can create, trade, and resolve prediction markets using META tokens. The platform implements automated market making for fair price discovery and provides an intuitive interface for market participation.
- Decentralized Prediction Markets: Create and participate in prediction markets for any future event
- META Token Integration: Native platform token with faucet functionality for easy onboarding
- Automated Market Making: Implements LMSR (Logarithmic Market Scoring Rule) for efficient price discovery
- Real-Time Market Data: Track market prices, trading volumes, and positions
- Secure Smart Contracts: Built with OpenZeppelin standards and comprehensive security measures
- Wallet Integration: Seamless connection with MetaMask and other Web3 wallets
- Frontend: React.js, TailwindCSS
- Blockchain: Solidity, OpenZeppelin
- Web3 Integration: ethers.js
- Development: Vite, Node.js
- Smart Contracts:
- MetaToken (ERC20)
- PredictionMarket (Core Logic)
- Chainlink Keeper Integration
-
Clone the repository:
git clone https://github.com/0xmetaschool/Prediction-market.git
-
Install dependencies:
cd Prediction-market npm install
-
Start the development server:
npm run dev
Open your browser and navigate to http://localhost:5173.
![]() |
![]() |
![]() |
![]() |
-
Connect Wallet:
- Connect your Web3 wallet (MetaMask recommended)
- Ensure you're on the correct network
-
Get META Tokens:
- Use the faucet to get META tokens
- Wait 24 hours between faucet claims
-
Participate in Markets:
- Browse available prediction markets
- Create new markets
- Buy/Sell positions
- Track your portfolio
-
Market Resolution:
- Markets are resolved based on real-world outcomes
- Claim winnings from resolved markets
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For questions and support, please open an issue in the GitHub repository.