How do I connect to a private network from ethereum wallet? I was able to create a private network from geth command line using custom genesis file but now wanted my ethereum wallet to point to custom genesis file of the private network.Currently I am able to point my etherem wallet to either the mainnet or testnet but not private network.
I did find the following instructions on github mist browser Readme file but haven't been able to make much progress
To run a privatenet you need to have geth installed separately and run it with the ipcpath flag: $ geth --networkid 1234 --ipcpath /Users/you/Library/Ethereum/geth.ipc --datadir ...
A private network is composed of multiple Ethereum nodes that can only connect to each other. In order to run multiple nodes locally, each one requires a separate data directory ( --datadir ).
You can use MetaMask to send a transaction on your private network. Open MetaMask and connect it to your private network RPC endpoint by selecting Localhost 8545 in the network list. Choose one of the following test accounts and import it into MetaMask by copying the corresponding private key.
Ensure your Ethereum Wallet is closing.
On your terminal.
$ geth --networkid "1234" --datadir "/some/other/path" --ipcpath "/Users/<username>/Library/Ethereum/geth.ipc" console
Reopen your Ethereum Wallet.
See: Ethereum Wallet – Developer Preview
If your want to reconnect to mainnet or testnet. Just type this "$ geth console
" in your terminal.
You need to download geth and Ethereum mist wallet , and install them.
Then go to the folder where you want to start the blockchain and follow these steps:
Start command prompt
here
Start another command prompt
here
Start Ethereum Wallet. Make sure it opens in private network
for Mining
You can get a video tutorial for the same here.
Hope it helps you!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With