From Whitespace (Hackerspace Gent)
Jump to: navigation, search

Revbank is an awesome banking system developed at revspace. And now we have it as wel! Currently it's in a prototype state, but any money you put in it is safely backed up!



revbank is running on kimball. The software is located in "/opt/revbank". There is an dedicated user account: 'revbank'. This account has the following macro in ~/.profile

revbank () {
cd /opt/revbank/


There is a temporary client installed in the bar. This will be replaced by a beagleboard.


Every time a transactions is made the 'revbank.accounts' file gets pushed to github. This file contains the balance of all the accounts. No purchase information is published. In the future github will be replaced by a private gitserver.

User manual[edit]

Starting up revbank[edit]

  1. boot up the computer on the bar
  2. Wait till the thing logs in to revbank

Using revbank[edit]

Depositing money[edit]

  1. input 'deposit'
  2. input <amount>
  3. input <account>
  4. if its the first time you use this account, input 'yes' to create the new account

Buying a drink[edit]

  1. scan drink / input <amount>
  2. input <account>


This is a complete list of all the commands

   <productID>                     Look up product from database
   <amount>                        Withdraw or enter price manually
   <account>                       [Pay with your account and] show balance
   deposit [<amount>]              [Create and] deposit into an account
   give [<account>] [<amount>]     Transfer money to user's account
   take [<accounts>] [<amount>]    Take money from users (equal parts)
   list                            List accounts and balances
   shame                           Display Hall of Shame (negative balances)
   undo [<id>]                     Undo a certain transaction
   help                            The stuff you're looking at right now :)
   examples                        Show some usage examples
   abort                           Abort the current transaction
   edit                            Edit product list
   restart                         Attempt to restart the revbank shell
   exit                            exit revbank


Barcodes can be generated here:
Be shure to set Symbology to 'Code 128', and make barcodes at least 4 chars long.



No such file or directory at /opt/revbank/revbank line 148.


cd /opt/revbank


 Use of uninitialized value $a[0] in lc at ./revbank line 174, <$in> line 1.

Solution: Remove empty lines from the revbank.accounts file

Can't locate Term/ReadLine/ in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at ./revbank line 6.


sudo apt-get install libterm-readline-gnu-perl