0.01
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
A mountable Rails engine to create a payment server that can handle the money in your Bitcoin ecosystem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Introduction

Bitsy is under active development and not yet used in production.

Bitsy is a Rails engine to enable a Bitcoin payment server. Other applications in your ecosystem can talk to the app with Bitsy mounted to create "Payment Depots" with certain characteristics. A "Payment Depot" is a Bitcoin address, but the Bitsy will do certain things with the money it recieves.

Security

Since we're not used to handling actual money on the server, perhaps its best to keep it there the least amount of time possible. We should still make sure that our server is secure, but we can minimize the risk by moving the money quickly. That's what Bitsy was originally designed to do: be a forwarder of some kind.

Types of Payment Depots

The payment depot that will be available is the forwarder with specific characteristics, such as:

  • Ability to collect a tax on the payment (perhaps your site collects a fee), and forward the tax to the tax address
  • Send the rest to the "owner" (perhaps a merchant on your website)

There could be other types in the future, but this all I (Ramon Tayag) need for now.

Installation

From your Rails app, add the bitsy gem to your Gemfile. Then:

rails g bitsy:config
rake bitsy:install:migrations

You need to start the Rails app, sidekiq workers, and clockwork daemon, with the RAILS_ENV set in the environment.

Contributing

I suggest you do your development in this Vagrant box. I use it for my development.

  1. Fork it
  2. Copy spec/config.yml.sample to spec/config.yml and set where the path to you .bitcoin dir is (this is the place where bitcoin.conf, wallet.dat, etc live)
  3. Copy spec/dummy/config/bitsy.yml.sample to spec/dummy/config/bitsy.yml and set the correct username, password, host, port of bitcoind.
  4. Create your feature branch (git checkout -b my-new-feature)
  5. Commit your changes (git commit -am 'Add some feature')
  6. Push to the branch (git push origin my-new-feature)
  7. Create new Pull Request

If you find this useful, consider sharing some BTC love: 1PwQWijmJ39hWXk9X3CdAhEdExdkANEAPk