Need to create a bitcoin explorer using bitcoind. I am using bitcore and insight API for this purpose.
Currently running bitcoind in AWS Server with all port open. Need to connect this running bitcoind with bitcore and use insight-api and UI in different server.
This my bitcore-node.json file:
var configuration = {
datadir: '/home/.bitcoin',
network: 'testnet',
services: [
{
name: 'bitcoind',
module: Bitcoin,
config: {
spawn: {
datadir: '/home/.bitcoin',
exec: '/home/Downloads/bitcoin-0.16.1/bin/bitcoind'
}
}
},
{
name: 'web',
module: Web,
config: {
port: 4001
}
}
]
};
This is my bitcoin.conf
server=1
testnet=1
whitelist=127.0.0.1
txindex=1
addressindex=1
timestampindex=1
spentindex=1
zmqpubrawtx=tcp://127.0.0.1:28332
zmqpubhashblock=tcp://127.0.0.1:28332
rpcallowip=127.0.0.1
uacomment=bitcore
Need to Connect the Insight API to in the A server to Bitcoin in B server.