Skip to content

LayerTwo-Labs/truthcoin-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Truthcoin-rs

A Rust implementation of the Truthcoin protocol, providing a decentralized oracle and prediction market system.

Features

  • Outcomes resolve without a central server (ie, "oracle problem" is solved)
  • Trade via MSR (no counterparty, just one signed message)
  • Anyone can make markets on anything, or trade on anything

Getting Started

Prerequisites

  • Rust 1.70 or higher
  • Cargo package manager

Installation

git clone https://github.com/yourusername/truthcoin-rs.git
cd truthcoin-rs
cargo build --release

Running Tests

cargo test

Project Structure

  • src/chain_objects/ - Blockchain-related data structures
  • src/crypto/ - Cryptographic operations
  • src/custom_math/ - Mathematical utilities and consensus algorithms
  • src/r-code/ - R language reference implementations

Documentation

Generate and view the documentation locally:

cargo doc --no-deps --open

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Original Truthcoin whitepaper
  • Rust community and crate authors

About

p2p prediction markets in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published