Bitcoin Raw Transaction Made Easy

Raw Transaction on Bitcoin-core lets you create and broadcast transaction through its Application Programming Interface  and Command Line Interface (or on a shell for nix users).   In this short post… we will be using few bitcoin-core commands such as, listunpentcreaterawtransaction,  signrawtransaction and signrawtransaction.  But before we start, make sure your blockchain is fully synced and you have enough bitcoin to play with.

In this example, we will send all spendable amount of bitcoins to wallet address 1ZXsXWvnGHey8Dv7dCYtfBAaeipP2QEBY with 0.00001 of bitcoin reward to miners for processing our transaction.

Step 1:  Pick which set of Bitcoins you want to send.  Use listunpsent command to get the transaction ID and vout index number.

Take note of the Transaction ID on RED  and Output Index on GREEN.  And also the 0.001 Bitcoins

Continue reading “Bitcoin Raw Transaction Made Easy”

Compiling Bitcoind on Raspberry Pi


A short step-by-step on how to compile Bitcoind on Raspberry Pi.

First thing you need to do is to increase the RPi’s Swap Size

$ sudo vim /etc/dphys-swapfile

Modify the line to change the setting from 100Mb to 500Mb.

Apply the changes
$ sudo dphys-swapfile setup
$ sudo dphys-swapfile swapoff
$ sudo dphys-swapfile swapon

Check the new swap size using free command
$ free

Update your Raspberry Pi’s packages
$ sudo apt-get update
$ sudo apt-get upgrade

Install all dependencies needed to compile the bitcoind
$ sudo apt-get install checkinstall subversion git git-core build-essential

$ sudo apt-get install libtool autotools-dev autoconf

$ sudo apt-get install libssl-dev libdb++-dev libminiupnpc-dev

$ sudo apt-get install libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libboost-all-dev

After successfully installing the packages, go to your preferred directory for downloading the bitcoind source code to compile.
$ cd ~
$ mkdir source
$ cd source
$ git clone git://
$ cd ~/source/bitcoin/src

Prepare the bitcoin source code from github
$ ./
$ ./configure --without-gui

Now… grab something to eat or to watch while compiling. It’s gonna take a long while to compile.

After a few (maybe hours)…  you may now configure your bitcoin.conf and run
$  ~/source/bitcoin/src/bitcoind -daemon


Watch out for my next post on setting-up bitcoind (bitcoin.conf settings)


For minimal configuration… create this file in ~/.bitcoin/bitcoin.conf

rpcuser={insert your preferred username}
rpcpassword={insert your preferred long hash password for security}


Toss some coins!! 🙂 BTC: 1Hb9ci7bcEQ5RNnKnUGEgWj7amBF37mEY6