Closed jimni1222 closed 2 years ago
I updated Dockerfile to make docker image for rosetta-klaytn.
I used Postman to test whether it runs normally in Online and Offline, respectively, on the mainnet and testnet. Here you can see details about a few endpoints tested.
You can build docker image with below command
docker build --platform=linux/amd64 -t rosetta-klaytn:latest .
You can run docker container with below command
docker run --platform linux/amd64 --rm --ulimit "nofile=100000:100000" -e "MODE=ONLINE" -e "NETWORK=TESTNET" -e "PORT=8080" -e "KEN=http://x.x.x.x:8551" -p 8080:8080 -p 30303:30303 rosetta-klaytn:latest docker run --platform linux/amd64 --rm --ulimit "nofile=100000:100000" -e "MODE=OFFLINE" -e "NETWORK=TESTNET" -e "PORT=8081" -e "KEN=http://x.x.x.x:8551" -p 8081:8081 rosetta-klaytn:latest
You can modify "MODE=ONLINE" to "MODE=OFFLINE" and "NETWORK=TESTNET" to "NETWORK=MAINNET".
"MODE=ONLINE"
"MODE=OFFLINE"
"NETWORK=TESTNET"
"NETWORK=MAINNET"
You need to use ecsign of the SDK if you want to generate a signature to combine.
ecsign
closes https://github.com/klaytn/rosetta-klaytn/issues/17
I updated Dockerfile to make docker image for rosetta-klaytn.
I used Postman to test whether it runs normally in Online and Offline, respectively, on the mainnet and testnet. Here you can see details about a few endpoints tested.
You can build docker image with below command
You can run docker container with below command
You can modify
"MODE=ONLINE"
to"MODE=OFFLINE"
and"NETWORK=TESTNET"
to"NETWORK=MAINNET"
.You need to use
ecsign
of the SDK if you want to generate a signature to combine.closes https://github.com/klaytn/rosetta-klaytn/issues/17