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
• 27,630 points
39 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,050 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
• 27,630 points
162 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,330 points
52 views
0 votes
1 answer

How to create a cryptocurrency based reward system using Ethereum?

I doubt that you'd need a decentralized ...READ MORE

answered May 30, 2018 in Blockchain by Shashank
• 10,330 points
83 views
0 votes
1 answer

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

yes all are over TCP/IP connections secured by TLS encryption in hashgraph architecture-hashgraph, ...READ MORE

answered Aug 6, 2018 in Blockchain by ariaholic
• 7,340 points
64 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
126 views
0 votes
1 answer
+1 vote
3 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,050 points
877 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,050 points
120 views