Connect Node

Node Connection

The method to connect through the locally installed gwemix RPC web server is as follows.

gwemix attach rpc:http://localhost:8588

The method to connect through the locally installed gwemix IPC file is as follows.

gwemix attach {data_folder}/gwemix.ipc

Downloading and unzipping the binary {data_folder}, the shell script file called gwemix.sh is located under the bin directory. The method to connect to a node through an IPC file using gwemix.sh is as follows.

{data_folder}/bin/gwemix.sh console

Node Settings

When using gwemix.sh, it is possible to set node execution options in advance by creating a file called .rc in {data_folder}.

PORT=8588
DISCOVER=1        # 1 for enable discovery mode, 0 for disable discovery mode
TESTNET=1         # 1 for Testnet or remove this line for Mainnet
SYNC_MODE=full
GWEMIX_OPTS="--rpc.allow-unprotected-txs"

Set up as above and run gwemix, gwemixwill run with the following run line options.

gwemix --http.port 8588 --wemix-testnet --syncmode full --rpc.allow-unprotected-txs