Launch an Endpoint Node

Download and Initialize an Endpoint Node (EN)

Unzip the provided ken binary package and copy the files into the klaytn folder. Note: Please download appropriate package starting with ken.

Mac 사용자의 경우, 다음 명령으로 다운로드한 파일을 압축 해제합니다.

$ tar zxf ken-baobab-vX.X.X-X-darwin-amd64.tar.gz
$ export PATH=$PATH:$PWD/ken-darwin-amd64/bin

Linux 사용자의 경우, 다음 명령으로 다운로드한 파일을 압축 해제합니다.

$ tar zxf ken-baobab-vX.X.X-X-linux-amd64.tar.gz
$ export PATH=$PATH:$PWD/ken-linux-amd64/bin

블록체인 데이터를 저장할 데이터 디렉토리를 만들어야 합니다. 이 튜토리얼에서는 홈 디렉터리에 kend_home 폴더를 생성하겠습니다.

$ mkdir -p ~/kend_home

EN 환경설정

설정 파일인 kend.confken-xxxxx-amd64/conf/에 위치합니다. For the details of configurable parameters, you can refer to the EN Configuration Guide. Baobab 테스트넷의 EN을 실행하려면, 다음과 같이 kend.conf 파일을 업데이트하시기 바랍니다.

# cypress, baobab은 NETWORK_ID를 명시하지 않은 경우에만 사용할 수 있습니다.
NETWORK = "baobab"
# NETWORK_ID를 명시하면 개인(private) 네트워크가 생성됩니다.
NETWORK_ID=
...
RPC_API="klay,net" # 추후 truffle을 위해 net 모듈을 열어야 합니다.
...
DATA_DIR=~/kend_home

EN 실행하기

EN을 시작하려면 다음 명령을 실행합니다.

EN 확인하기

EN이 구동 중인지 확인하려면 다음 명령을 실행합니다.

EN의 로그 확인

EN의 로그를 확인하려면 다음 명령을 실행합니다.

문제 해결

Please refer to the Troubleshooting if you have trouble in launching the Klaytn Endpoint Node.

Last updated

Was this helpful?