gotchoices / MyCHIPs

A cellular network of trust for implementing open source money based on private credit; Solves several issues associated with blockchain systems. Most notably, MyCHIPs is infinitely scalable and fully distributed.
http://gotchoices.org/mychips/index.html
Other
14 stars 10 forks source link

MyCHIPs

MyCHIPs is an open-source network protocol for implementing a novel kind of digital money based on private credit and quantified in units of CHIPs:

The CHIP Symbol: A CHIP

This is not a Bitcoin/blockchain derivative, but rather a whole new (and yet very old) approach that solves several notorious problems with public blockchain systems. Most notably, it is more fully distributed and infinitely scalable.

A Tiny CHIP Network

If blockchain-based coins can be thought of as a crypto-stock or crypto-equity, a digital CHIP would be more like a crypto-bond. Either one can be used as money, or a medium of exchange. However, a system based on private credit is more resilient to things like speculation, volatility, corruption, inflation, and deflation. So it is a better solution when considering these three closely related purposes of money:

- a medium of exchange,
- a store of value, and 
- a measure of value.

For introductory information on the algorithm, check out the MyCHIPs Papers.

Getting Started:

General documentation is found here.

To try out the software, jump in here.

At the current development state, you can launch a configurable number of server processes, as well as a network simulator to create bot users that will begin trading with each other. There is also a rudimentary admin console that allows you to browse the database, generate user connection tokens, and peruse trading contracts.

Project Background:

In 2017, I posted this as an empty project hoping to attract a team of participants. But there was not much traffic, and less interest. Nearly everyone interested in monetary reform seemed to now be chasing after big returns in Blockchain money. So I began programming the project myself.

Initially, this involved reviving some old tools I have successfully used on other projects in the past: Specifically, Wyseman and Wyselib for deployment of a backend database, and Wylib for a frontend GUI.

While Wylib is not the solution for an eventual user interface, it has been what I needed for an administrative console during development. And it can suffice for a crude user SPA until a dedicated mobile app can be built. As of Spring 2021, the BYU Capstone project produced a prototype app authored in Flutter/Dart. Unfortunately the websocket interface is not yet finished so it does not yet talk to the MyCHIPs server.

I originally kept the source closed for some time while I tried to work out an algorithm for performing a distributed lift (the credit clearing function that makes the system work). It also took me a while to figure out a contract and licensing structure I felt would make the system robust and resilient to attack. I want MyCHIPs to be free for everyone to use, but only if they will use it in good-faith commerce and trade as it is intended.

Current Project Status:

The holy grail of MyCHIPs has been a network implementation of the lift protocol, which is introduced in an intuitive way in this article and explained in some more technical detail in this article.

As of March, 2020, the software can successfully discover, compute and perform fully distributed lifts in a simulated network. This milestone was considered a "preliminary proof of concept" and triggered the release of this code subject to the attched LICENSE. The work continues to make the codebase production ready.

At the time of the public release of the source code, a study was commissioned to DSR Corporation to analyze the lift alorithm as proposed in the documentation and partially implemented in the software. As expected, they uncovered several issues that need improvement before the system can be expected to perform in a fault-tolerant way. Their work and results are summarized here.

In response to that study, this outline was drafted to determine how the algorithm could be improved to resolve the issues uncovered by the DSR study. That lead to the development of the version 1.x protocol. A followup work was recently completed at BYU to both validate the original DSR results, and evaluate the new, proposed protocol. The results prove suitable safety and liveness within a reasonable set of assumptions. The defense of that Master's thesis can be viewed here..

Development was begun in 2022 on a mobile app written in React Native. This facilitated the use of the existing JavaScript API and is progressing. The app can currently be loaded onto mobile devices from mychips.net, an example CHIP Service Provider site. Current focus is on completing the mobile app and fully implementing the lift and route discovery protocols on the backend.

Milestones Completed so Far

Want to help out? Clone this repo and follow the instructions to get a simulated network running and visualize credit lifts in the administrator console.

There is a current project roadmap in the TODO file. Let us know how you would like to participate!

Talent Needs:

Other Interesting Projects/Resources: