Truth backed by Bitcoin
Clone or download
Pull request Compare This branch is 131 commits ahead of arsenische:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
styleguide
test
vendor/assets
.env.sample
.gitignore
.rspec
.travis.yml
Dockerfile
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
bitcoinocracy.service
config.ru
docker-compose.yml
gulpfile.js
package-lock.json
package.json

README.md

README

Build Status

Bitcoinocracy is a project that aims to determine the truth backed by real monetary value and to facilitate decentralized decision making in the Bitcoin eco-system.

It is absolutely transparent, free and doesn't require user registration.

Just sign the statements with non-empty bitcoin addresses to express your opinion.

Data structure

Argument
	statement
	validity

Signature
	argument_id
	bitcoin_address_id
	is_negation?
	signature

BitcoinAddress
	bitcoin_address
	balance

Algorithm

For each argument calculate validity: validity = sum(pro bitcoin balances) - sum(con bitcoin balances)

Docker-compose instructions

Build:

docker-compose build

Before you run it, please copy the file .env.sample to .env and edit it to configure the environment.

Run:

docker-compose up

You might also need to run the database migrations in your docker container in order to update the database schema:

rake db:migrate

or (if you run it for the first time):

ADMIN_EMAIL='your@email.address' ADMIN_PASSWORD='your-admin-password'; rake db:migrate