Skip to content

PredictFi is a blockchain-based prediction market platform that allows users to forecast real-world events using a custom ERC-20 token. Built for transparency and decentralization, it enables trustless event creation, token-based participation, and secure outcome resolution — all powered by smart contracts.

Notifications You must be signed in to change notification settings

APSK22/Predictfi

Repository files navigation

PredictFi

PredictFi is a blockchain-based prediction market platform that enables users to forecast real-world events and transact using ERC20 tokens. Built with Next.js and integrated with ThirdWeb, PredictFi ensures transparency, security, and decentralization in prediction-based transactions.

Features

  • Decentralized Prediction Market – Users can predict outcomes in various categories, including sports, politics, and finance.
  • Blockchain-Powered Transactions – Smart contracts handle predictions and payouts, ensuring complete fairness and immutability.
  • ERC20 Token Integration – Transactions and rewards are conducted in standard ERC20 tokens.
  • Seamless User Experience – Built with Next.js for a fast, responsive, and scalable interface.
  • ThirdWeb Integration – Simplifies blockchain interactions, making deployment and token management efficient.

Technologies Used

  • Next.js – React-based framework for server-side rendering and optimized performance.
  • Solidity – Smart contract development language for Ethereum.
  • ThirdWeb – Simplifies blockchain deployment and interactions.
  • ERC20 Standard – Ensures compatibility with Ethereum-based tokens.
  • Foundry (Forge) – Smart contract testing and deployment framework.
  • Tailwind CSS – Modern utility-first styling for a clean UI.

Getting Started

Prerequisites

Ensure you have the following installed:

Installation

Clone the repository and install dependencies:

git clone https://github.com/yourusername/predictfi.git
cd predictfi
npm install  # or yarn install

Running the Development Server

Start the development server with:

npm run dev  # or yarn dev

Visit http://localhost:3000 in your browser to access the application.

Smart Contract Deployment

PredictFi utilizes Solidity smart contracts for secure predictions and payouts. Deploy contracts using ThirdWeb:

yarn deploy  # Deploy contracts to the blockchain

Ensure you have a valid Ethereum wallet (e.g., MetaMask) connected.

Learn More

Deployment

PredictFi is optimized for deployment on Vercel. To deploy:

git push origin main  # Push changes to the main branch

Then, connect your repository to Vercel for automated deployment.

License

This project is licensed under the MIT License.

Contact

For inquiries or contributions, please contact [your email or GitHub profile].

About

PredictFi is a blockchain-based prediction market platform that allows users to forecast real-world events using a custom ERC-20 token. Built for transparency and decentralization, it enables trustless event creation, token-based participation, and secure outcome resolution — all powered by smart contracts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published