How To Setup a xDai Node for Dark Forst

Опубликовано: 18 Апрель 2026
на канале: EthStaker
772
21

1. Download a compatible version of openethereum (currently using 3.0.1, some others are incompatible)

https://www.xdaichain.com/for-develop...

https://github.com/openethereum/parit...

2. Use an openethereum launch script with these parameters:

$HOME/openethereum --chain xdai --rpc --jsonrpc-apis=all --jsonrpc-cors=all --jsonrpc-interface=192.168.6.128

3. Verify with telnet that the port is open:

telnet 192.168.6.128 8545

If it doesn't respond then the rpc port isn't open.

4. Take private key, import it into geth to get the keystore file

Install geth

run with geth console

web3.personal.importRawKey("Private Key","")

(Second parameter is a password, leave it blank)

5. Import the keystore file into openethereum

move the keyfile you created in geth into an openethereum accessible directory.

./openethereum --chain=xdai account import UTC--2021-01-09T03-50-02.754276575Z--21b81f897c655f49e0edf333334f000d46050ac2

6. In Dark Forest, use a string like this:

http://192.168.6.128:8545/