https://github.com/rechain-network-solutions/prediction-markets-backend
We accept donations through KatyaAI and forward a portion of the donations to other open-source projects that made Prophet possible.
https://github.com/rechain-network-solutions/prediction-markets-backend
market-intelligence oscript oscript-lib oscript-library oscript-package oscript-web oscript-weboscr postgresql postgresql-database prediction prediction-model predictive-analytics predictive-modeling typescript typescript-library typescript-react
Last synced: 6 months ago
JSON representation
We accept donations through KatyaAI and forward a portion of the donations to other open-source projects that made Prophet possible.
- Host: GitHub
- URL: https://github.com/rechain-network-solutions/prediction-markets-backend
- Owner: REChain-Network-Solutions
- License: mit
- Created: 2025-07-03T20:47:25.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-07-03T20:58:17.000Z (6 months ago)
- Last Synced: 2025-07-03T21:36:44.411Z (6 months ago)
- Topics: market-intelligence, oscript, oscript-lib, oscript-library, oscript-package, oscript-web, oscript-weboscr, postgresql, postgresql-database, prediction, prediction-model, predictive-analytics, predictive-modeling, typescript, typescript-library, typescript-react
- Language: JavaScript
- Homepage: https://tanushaaa.ru
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# ๐ฏ REChain Prediction Markets Backend
This is the backend core of the **REChain Prediction Markets** platform โ a decentralized infrastructure for event-based markets. It supports the creation, trading, resolution, and payout of predictions on real-world and on-chain outcomes.
## ๐ Features
- Market creation and trading engine
- Oracle-based event resolution
- Modular support for multiple event types
- Secure, decentralized backend logic
- Designed for integration with REChain frontend & DAO
## ๐ Project Structure
```
Prediction-markets-backend/
โโโ src/ # Backend services
โโโ contracts/ # Smart contracts for prediction logic
โโโ scripts/ # Deployment and automation scripts
โโโ tests/ # Unit and integration tests
โโโ docs/ # Documentation
โโโ README.md
```
## ๐ Getting Started
```bash
git clone https://github.com/REChain-Network-Solutions/Prediction-markets-backend.git
cd Prediction-markets-backend
npm install
```
## ๐งช Running the Backend
Use environment variables to configure the backend:
```env
PORT=3000
DATABASE_URL=mongodb://localhost:27017/prediction
PRIVATE_KEY=your_private_key
```
Start the development server:
```bash
npm run dev
```
## ๐งช Testing
```bash
npm test
```
## ๐ License
MIT ยฉ REChain Network Solutions