Hello eveyone,
I'm trying to modify the bitcoin insight API for an altcoin (Auroracoin). I have tried to follow the instructions on this site (
http://devtome.com/doku.php?id=insightforaltcoins), and I'm an intermediate level programmer.
I have installed node, installed the bitcion-insight-api github repo and modified the networks.js file to match the genesis block of Auroracoin (
http://explorer.auroracoin.eu/b/1NC5uWRdz)
Here is my networks.js
However, when I try to run insight.js using the following command I get the following error:
-$ node insight.js
info: insight server listening on port 3001 in development mode
{ '0': [Error: Could not connect to bitcoin via RPC: connect ECONNREFUSED] }
error: Could not connect to bitcoin via RPC: connect ECONNREFUSED
{ '0': 'connecting to 127.0.0.1:18333' }
{ '0': 'connection refused for 127.0.0.1:18333' }
{ '0': 'unkown error with peer 127.0.0.1:18333 (disconnecting): Error: connect ECONNREFUSED' }
{ '0': 'disconnected from peer 127.0.0.1:18333' }
Any help with modifying the bitcoin-insight-api core to look for an alt-coin instead of bitcoin would be greatly appreciated!
Joseph