Integrating bitcoinrpc