Title: Bitcoin Insight API for an alt-coin - Auroracoin Post by: rippledj on January 03, 2015, 10:34:40 PM 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 Title: Re: Bitcoin Insight API for an alt-coin - Auroracoin Post by: SlipperySlope on January 06, 2015, 06:50:35 PM I modified Insight to work with the altcoin that I am developing.
Your problem communicating with your altcoin's version of bitcoind. Most likely it is not configured to accept RPC connections from Insight. Here is the configuration file that I used OK. Code: # this instance accepts incoming connections https://i.imgur.com/rGE2lAj.png PM me for more help as I am not watching this forum daily. -Steve |