Bitcoin, Cryptocurrency, and Blockchains
Running a Bitcoin Node in Ubuntu
Full Node Installation
(instructions via https://bitcoin.org/en/full-node)
First, add the Personal Package Archive (PPA) for bitcoin software:
sudo apt-add-repository ppa:bitcoin/bitcoin sudo apt-get update sudo apt-get install bitcoind
Before using the Bitcoin Core daemon, bitcoind, you need to create its configuration file with a user name and password:
mkdir ~/.bitcoin touch ~/.bitcoin/bitcoin.conf chmod 600 ~/.bitcoin/bitcoin.conf
bitcoind to generate a unique "rpcpassword". Copy "rpcuser" and "rpcpwassword" into your configuration file:
echo rpcuser=bitcoinrpc >> ~/.bitcoin/bitcoin.conf echo rpcpassword=XXXXXX >> ~/.bitcoin/bitcoin.conf
Now you can start Bitcoin Core daemon with
To start the bitcoin node daemon when Ubuntu boots, edit your crontab file with
crontab -e and add
@reboot bitcoind -daemon to a new line at the end of the file.
Congratulations, you're a node on the bitcoin network! Over the coming hours, the bitcoin daemon will download something like 80GB of blockchain files to your ~/.bitcoin directory. If you want to store this on a different hard drive, just stop the bitcoin daemon with
bitcoin-cli stop, move the .bitcoin folder to the new drive, and use
ln -s to create a symlink at ~/.bitcoin that points to folder's new location.
bitcoin-cli getinfo get the number of connected peers bitcoin-cli getblockcount get total number of blocks retrieved
Installing a Bitcoin Wallet
Armory is a favorite bitcoin wallet among power users, but note that it's currently undergoing a development leadership change.
You can buy, sell, and store bitcoin at e.g. Coinbase and easily transfer bitcoin from Coinbase to your local wallet.
MAKE CERTAIN to create digital and paper backups of your Armory wallet to prevent your bitcoin from becoming unrecoverable in the event of a hard drive failure or accidental file deletion.
Accepting Bitcoin on your Website
Decentralized Applications (Đapps)
Mastercoin (now Omni)