Are you a BitCoin user and do you happen to have many wallets and have a hard time to track their whole balance like me? If your answer is yes then you might find useful my latest project called OpenBank!

OpenBank is a Laravel and Angular based web application that you can use to keep track of your BitCoin public keys, your total balance and so forth. All the data is collected in realtime and will be shown to you on its web interface.

As a friend of mine wrote on another blog post, a picture is worth a thousand words , so here’s a screenshot.

You can find OpenBank source code on github.

Completely Safe

OpenBank is completely safe. Only your wallets public keys ( or XPUB keys if you happen to have hd wallets ) are stored on the database, therefore even if a malicious third party will succeed to hack into your system, he won’t get any sensitive data out of it.

If you don’t want your internet provider, hosting provider or dedicated server provider to be able to connect your ip address ( thus your identity ) to your public keys, just install OpenBank on your Raspberry Pi and run it on your own home network!

How does it work?

Two cron jobs are responsible for updating the current BitCoin price ( either in EUR or USD, you can change your preferred currency in the settings panel ) and the balance of each of the public keys you registered into the system.

If you have an XPUB key with more than 50 addresses bound to it, you’ll need to get an API key from blockonomics and put it in your settings panel.

Installation

1. Checkout this git repository to your server.

git clone https://github.com/evilsocket/openbank.git

2. Install dependencies.

For details about installing composer see Getcomposer.org.

cd openbank composer install

3. Setup environment.

Copy .env.example to .env and edit to your needs.

4. Fix permissions.

Make sure the storage directory is writable for your web server.

5. Initialize database.

php artisan key:generate php artisan migrate php artisan db:seed --class=CurrenciesTableSeeder

6. Create the cronjob

Install the needed cronjob:

*/1 * * * * /usr/bin/php /var/www/openbank/www/artisan schedule:run

Open OpenBank in your browser, register your account and enjoy.