Installing Insight bitcoin blockchain API on windows

Standard

How to install Insight Bitcoin Blockchain API on your local machine
insight is an open-source Bitcoin blockchain explorer with complete REST and websocket APIs that can be used for writing web wallets and other apps that need more advanced blockchain queries than provided by bitcoind RPC. The insight project is suppored by Bitpay.

This tutorial is a step by step guide on how to install the insight bitcoin blockchain api on your local windows machine. The Insight REST API provides you with a convenient, powerful and simple way to read data from the bitcoin network and build your own services with it.

Live demos of insight:

  • http://insight.bitpay.com/
  • http://chain.localbitcoins.com/
  • http://search.bitaccess.ca

Prerequisites

  • Windows Server, Windows 7 or Windows 8
  • Python 2.7.x or newer
  • Node.js
  • Git for windows
  • If you are running a 64bit windows 7 system you will need the 64-bit SDK
  • I also recommend Visual Studio 2012, But you can skip it if you are comfortable with windows CMD.

Step 1:
Once everything from above is installed either; Open a windows CMD window run as administrator.
Next in either window (VS or CMD) Type the following;

Step 2:
Locate your current bitcoind data directory, which is normally located at %APPDATA%\Bitcoin. Copy and paste this filepath to a notepad for later.

Step 3:
Type Windows Key-R and enter

This will launch the System Properties panel. ( if this does not work enter it into CMD and hit enter) Here, click on Environment Variables, and under User Variables, add the following:

If you are running on a different host, or set of ports, you will also need to set BITCOIND_HOST, BITCOIND_PORT, and BITCOIND_P2P_PORT as appropriate. Once done, click OK on both the Environment Variables and System Properties windows to save your changes and close them out.

Step 4:
Open up a command window and run……

You can run it on start up by adding to your Start up program group in Windows.

Result:
After running insight, it should start parsing the blockchain data from the bitcoind data directory you specified (at BITCOIND_DATADIR).

You can do other things during this time, although i would not recommend shutting down the computer without first terminating the parsing function.

Related work: https://bitcointalk.org/index.php?topic=737782.0

Book release : Blockchain Programming in C#

Standard

A book on Block chain programming with C# has been released. It contains chapters on bitcoin transactions, key generation and storage, ownership, assets and more. You will need Visual Studio 2013 and Bitcoin Core, both are free to download from the web.  The book contains many programming examples and the audience of the book are programmers and technical minded people.

The first chapters can be read here: https://aois.blob.core.windows.net/public/Blockchain%20Programming%20in%20CSharp.pdf

You can read more about the book here: https://bitcointalk.org/index.php?topic=926087.0