GithubHelp home page GithubHelp logo

psztorc / truthcoin Goto Github PK

View Code? Open in Web Editor NEW
372.0 63.0 58.0 44.11 MB

Trustless and Decentralized Bitcoin Prediction Marketplace

License: MIT License

Makefile 0.03% C++ 3.86% C 0.78% Python 2.51% R 6.72% HTML 86.10% Batchfile 0.01%

truthcoin's Introduction

Truthcoin: Decentralized Bitcoin Prediction Markets

This is the theoretical work behind the actual C++ implementation here.

Summary

Truthcoin is my ambitious project to create a trustless P2P prediction-marketplace. This is possible because, unlike most marketplaces, the end product of a prediction market (PM) is information. Bitcoin adds the second piece of the puzzle: the exchange of value. The end result is the first of its kind: a market for actual prediction-commodities, which have a value based on their accuracy and not based on the behavior of any administrator, rival trader, or counterparty.

Traditional PMs have been persecuted much in the same way as e-cash systems, and current Bitcoin alternatives require the user to trust the operator to:

  1. Keep funds safe.
  2. Create desirable markets.
  3. Accurately determine the outcome of markets.

Instead, Truthcoin's outcomes are determined by a vote weighted by present and past conformity, using in a new token-ownership-model. This theoretically produces a unique Nash Equilibrium of unanimous honesty. Moreover, incentives are to only create contracts which are useful (measured by trading volume), and unambiguous (measured by vote-similarity). Additionally, market liquidity is guaranteed to be permanently nonzero thanks to the LMSR. MSRs allow for simple, secure, realtime buying and selling.

What's going on!?

Look at some [Slide Shows](http://www.truthcoin.info/presentations/). [This written intro](https://github.com/psztorc/Truthcoin/raw/master/docs/1_Purpose.pdf) explains "what this is and why it is important". [The whitepaper](https://github.com/psztorc/Truthcoin/raw/master/docs/Truthcoin_Whitepaper.pdf) explains "how it works". Check out the [voting demo](https://lyoshenka.ocpu.io/truthcoindemo/www/). Read the [FAQ](http://www.truthcoin.info/faq/). Visit the [website](http://www.truthcoin.info/) and [forum](http://forum.truthcoin.info/).

You Can Help!

1. Read the documentation / code and ask questions to grow the FAQ! (Email me or pull into [the errata section](https://github.com/psztorc/Truthcoin/tree/master/docs#addendum--errata) or [the FAQ section](https://github.com/truthcoin/www.truthcoin.info/blob/gh-pages/faq/index.md) with any new questions). 2. Joining and posting to the forum. 3. Help test/improve the code. Or, work for money and use that money to hire someone who can test/improve the code!

Where is Everything?

Code: 'lib' folder Readings/Documentation/Purpose/Applications/Tech: 'docs' folder

The 'lib' folder also has html files which describe the outcome of function tests and demonstrations. These files were automatically generated from R code using R-markdown, and the .rmd files are included alongside the html files for reproducibility.

Contact

[email protected] https://twitter.com/Truthcoin

Donation Address: 1M5tVTtynuqiS7Goq8hbh5UBcxLaa5XQb8
I'm giving away all of this work for free. It was hard work!
Thanks to everyone who donated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.