If possible, I would like to use parity with my private ethereum network.
This answer (https://ethereum.stackexchange.com/a/9148/4575) provides us a solution that geth will run on the background and parity will pull information from geth.
[Q] Is it possible to run only parity (geth won't run on the background) that is connect to the private etheum network and do mining, deploy contract, send transactions etc.?
If yes is there any well explained tutorial related to adding private network peers to Parity and make Parity to connect into the private network's chain instead of the public ethereum's chain.
Is this link might help me?https://github.com/ethcore/parity/wiki/Configuring-Parity. If yes which parameters should I focus on to change?
Also how could I add admin.addPeer("enode://<id>@<ip>:<port>?discport=0"); and provide the --networkid to Parity to allow it to connect into the private network like we could do in geth?
Example by using geth as follows I can connect into my private network:
id="<enodeId>";
datapath="/MyEthereumEbloc"
geth --networkid 23422 --datadir="$datapath" --rpccorsdomain '*' --rpc --rpcaddr "localhost" --rpccorsdomain="*" --rpcport="8545"--bootnodes enode://$id@<ip>:<port>
Please note that I was not able to find any tutorial related make parity connect into private ethereum network, which might be very helpful.
Thank you for your valuable time and help.
--network-idandenode://<id>@<ip>:<port>?discport=0of the node that will allow me to connect into the private network. By usinggethI am able to connect into it. So I was wondering by using same information and chain-data created bygeth, couldparityconnect into the private network? – alper Mar 13 '17 at 15:56reserved_onlytofalse. – q9f Mar 13 '17 at 19:04myGenesis.jsonfile same asCustomGenesis.jsonthat used undergeth init CustomGenesis.json? for example: https://gist.github.com/avatar-lavventura/378fb95285c91d40bf6f1b9f4bf2acd2@5chdn – alper Mar 14 '17 at 01:14gethconsole was working but inparity,parity consoledoes not exist – alper Mar 17 '17 at 12:32parity --chain parity.json --network-id 23422 --bootnodes enode://<enode-id>@<IP>:<port#>It gives following output2017-03-17 15:56:19 0/ 0/25 peers 5 KiB db 7 KiB chain 2 KiB queue 4 KiB syncbut nothing happens. – alper Mar 17 '17 at 12:58parity --chain parity.json --network-id 23422 --reserved-peers myPrivateNetwork.txtseems didn't work as well on my case :( When I use geth I can add the peer asadmin.addPeer("enode://enode@IP:port?discport=0");, but parity also does not accept?discport=0inside myPricateNetwork.txt. – alper Mar 18 '17 at 05:08