cosmos-sdk/docs/kr/clients/lite/getting_started.md

1.1 KiB
Executable File

REST 서버 시작하기

REST 서버를 가동하기 위해서는 다음과 같은 파라미터 값을 정의해야 합니다:

파라미터 형태 기본 값 필수/선택 설명
chain-id string null 필수 연결할 체인의 chain-id
node URL "tcp://localhost:46657" 필수 연결할 풀노드의 주소
laddr URL "tcp://localhost:1317" 필수 REST 서버를 가동할 주소
trust-store DIRECTORY "$HOME/.lcd" 선택 체크포인트와 검증인 세트를 저장할 디렉터리

예를 들어::

gaiacli rest-server --chain-id=test \
    --laddr=tcp://localhost:1317 \
    --node tcp://localhost:26657

Gaia-Lite RPC에 대한 추가적인 정보를 원하시면 Swagger 문서를 확인하세요.