How to connect to a private network from an ethereum wallet?

How to connect to a private network from an ethereum wallet? I managed to create a private network from the geth command line using a custom genesis file, but now I wanted my ethereum wallet to point to a custom private network genesis file. Currently, I can point my etherem wallet to either a network or a test network, but not a private network.

I found the following instructions in the Readme file for the github mist browser, but could not make significant progress.

To start privatenet you need to install geth separately and run it using the ipcpath flag: $ geth --networkid 1234 --ipcpath / Users / you / Library / Ethereum / geth.ipc --datadir ...

+5
source share
2 answers
  • Make sure your Ethereum wallet is closed.
  • At your terminal.

    $ geth --networkid "1234" --datadir "/some/other/path" --ipcpath "/Users/<username>/Library/Ethereum/geth.ipc" console

  • Open your Ethereum Wallet.

See: Ethereum Wallet - Developer Preview

If you want to connect to a network or test network. Just enter this " $ geth console " into your terminal.

+4
source

You need to download geth and Ethereal Misty Wallet and install them.

Then go to the folder where you want to run the blockchain, and follow these steps:

  • Run command prompt here

    • $ mkdir chaindata li>
    • $ geth --datadir =. / chaindata init genesis.json
    • $ geth --datadir =. / chaindata --fast --cache = 1024
  • Run another command prompt here

    • $ geth attach
  • Launch the Ethereum Wallet. Make sure it opens on a private network.

  • for mining

    • $ miner.start (3);
    • $ miner.stop ();

You can get a video tutorial for the same here .

Hope this helps you!

+1
source

Source: https://habr.com/ru/post/1247252/


All Articles