How to create a private bitcoin network using bitcore

0 votes

I'm trying to create a private bitcoin network using bitcore. But bitcore sync's data either with bitcoin livenet or testnet. I couldn;t find any bitcore documentation which will allow me to create a network from scratch.

I followed the instruction from below link

https://bitcore.io/guides/full-node

{
  "network": "livenet" or "testnet" || what do i have to put for private network?
  "port": 3001,
  "https": true
}
Sep 6, 2018 in Blockchain by digger
• 26,740 points
1,063 views

1 answer to this question.

0 votes

I think you need to add your custom info in the bitcore-node.json which is created in your node directory

{
  "network": "livenet",  // your coins network name
  "port": 3001,          // your coins port
  "services": [
    "bitcoind",          // required services
    "web"
  ],
  "servicesConfig": {
    "bitcoind": {
      "datadir": "/home/user/.bitcoin",         //your coins directory
      "exec": "/home/user/bitcoin/src/bitcoind" //your coins executable
    }
  }
}

So changing

"network": "livenet"

to whatever yours is called should do the job. Now you should be able to run your custom node with a different network.

answered Sep 6, 2018 by slayer
• 29,350 points

Related Questions In Blockchain

0 votes
1 answer

How to create a Genesis Block in a Private Network?

{     "nonce": "0x0000000000000042",     "difficulty": "0x000000100",     "alloc": {     },     "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",     "coinbase": "0x0000000000000000000000000000000000000000",     "timestamp": "0x00",     "parentHash": ...READ MORE

answered Jul 12, 2018 in Blockchain by digger
• 26,740 points
1,809 views
0 votes
1 answer
+1 vote
1 answer

How can I initiate a transaction on ethereum private network using mobile device?

There is no android wallet to connect ...READ MORE

answered Apr 18, 2018 in Blockchain by Shashank
• 10,400 points
705 views
0 votes
3 answers
+1 vote
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,450 points
1,147 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,705 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,237 views
+1 vote
4 answers

How to connect peers to a private network using geth?

Follow the below steps to connect peers ...READ MORE

answered Jul 13, 2018 in Blockchain by slayer
• 29,350 points
13,396 views
0 votes
1 answer

How to monitor Ethereum private network?

geth should be started with --metrics. try the ...READ MORE

answered Jul 11, 2018 in Blockchain by slayer
• 29,350 points
1,340 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP