Skip to content

Couldn't setup insight working for Bitcore 8 #584

@purplefox81

Description

@purplefox81

I am referring to the bitcore v8.0.0 at https://github.com/bitpay/bitcore/tree/v8.0.0

I am aware that bitcore v4.1.0 goes with insight-ui and insight-api
but it seems that I am unable to find which insight repository and which version of insight is the one I should use in bitcore v8

Q0) I install the out-of-box bitcore v8, port 3000 is listening, but curl localhost:3000 failed. curl http://localhost:3000/ gave me "Cannot GET /insight" so how to test/verify my local 3000 is working and what endpoint shall i use for the testing?

Q1) does bitcore v8 (given the url above) has any built in insight ui/api?
-- My guess is no, because i didnt find any

Q2) To support Bitcore v8, shall I install inisght or insight-ui + insight-api?
-- My guess is i should install https://github.com/bitpay/insight, am i right? anybody can confirm this?

Q2.1) for Insight at https://github.com/bitpay/insight, what is the configuration that I should add to bitcore.config.json?? I couldn't find any reference on bitpay or github discussing about that. My current bitcore.config.json is as follows.
{
"bitcoreNode": {
"pruneSpentScripts": true,
"chains": {
"BTC": {
"mainnet": {
"chainSource": "p2p",
"trustedPeers": [
{ "host": "127.0.0.1","port": 8333 }, { and some other peers here... }
],
"rpc": {
"host": "127.0.0.1",
"port": 8332,
"username": "X",
"password": "X"
}
}
}
}
}
}

Q2.5) for a team who is already familiar with the old insight-ui/insight-api, can they still use the old code in the old repo insight-ui/insight-api?

Q3) which version of insight works best with bitcore v8. OR which version of insight-api/ui if that is a better fit.

I find it quite lost in trying to close these gaps, perhaps some experts in this can give me a hand? Many thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions