For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connect Node

노드 연결

로컬에 설치한 gwemix RPC 웹서버를 통해서 연결하는 방법은 아래와 같습니다.

gwemix attach rpc:http://localhost:8588

로컬에 설치한 gwemix IPC 파일을 통해서 연결하는 방법은 다음과 같습니다.

gwemix attach {data_folder}/gwemix.ipc

바이너리를 다운로드 받아서 {data_folder}에서 압축을 풀면 bin 디렉토리 아래 gwemix.sh라는 쉘스크립트파일을 찾을 수 있습니다. gwemix.sh를 이용하여 IPC 파일을 통해서 노드에 연결하는 방법은 다음과 같습니다.

{data_folder}/bin/gwemix.sh console

노드 설정

gwemix.sh를 사용할 경우 {data_folder}에 .rc라는 파일을 생성하여 노드 실행 옵션을 미리 설정하는 것이 가능합니다.

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"

위와 같이 설정하고 gwemix를 실행하면 gwemix 는 아래와 같은 실행줄 옵션을 가지고 실행되게 됩니다.

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

Last updated