Connect Node
Connect Node
To connect via the gmet
RPC web server installed locally, follow the steps below:
gmet attach http://localhost:8588
To connect using the gmet
IPC file installed locally, follow these steps:
gmet attach $GMET_HOME/gmet.ipc
After downloading the binary and extracting it in $GMET_HOME, you can find a shell script file named gmet.sh
under the bin directory. The method to connect to the node via IPC file using gmet.sh
is as follows:
$GMET_HOME/bin/gmet.sh console
Node Settings
When using gmet.sh
, it is possible to pre-set node launch options by creating a file called.rc
{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
GMET_OPTS="--rpc.allow-unprotected-txs"
Setting up as described above and running gmet
, gmet
will result in being executed with the following command line options:
gmet --http.port 8588 --meta-testnet --syncmode full --rpc.allow-unprotected-txs
Last updated