Skip to content

davidgu/dabcoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DabCoin

Proof-of-dab based cryptocurrency. It's like proof of work, but you can only mine blocks if the data from your device accelerometer indicates that you are dabbing. Contains both blockchain technology and artificial intelligence, as well as other associated buzzwords. A collaboration with Marcel O'Neil and Curtis Chong. Marcel wrote the React based front end and web wallet, Curtis wrote the dab-or-not-dab classifier, and I wrote the cryptocurrency network nodes and the API for clients to interact with the network. Written in 7 hours for TerribleHack XI.

Getting it Running

Front End

  1. Run yarn in the client/ directory to install required dependencies
  2. Edit client/src/Wallet.js, replacing all instances of http://one.dabcoin.1lab.me:5000 with the URL of your DabCoin node
  3. Run yarn run build in the client/ directory, and copy the resulting build directory to where it can be served by your web server

DabCoin Node

  1. Set up a virtualenv
  2. Install the dependencies specified in server/requirements.txt
  3. Edit the variable named mlURL in server/app.py to specify the URL of the classifier server
  4. Run the DabCoin node by executing flask run in the server/ directory

Classifier

  1. Instructions for setting up the classifer can be found in its repository

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published