This repository implements the Rosetta for the IoTeX blockchain.
iotex-core-rosetta-gateway | iotex-core | rosetta-specifications | rosetta-cli |
---|---|---|---|
master | v1.1.0 | v1.4.2 | v0.4.1 |
v1.1.x | v1.1.0 | v1.4.2 | v0.4.1 |
Please refer to Deployment here.
To build the server:
make
To run tests:
make test
make test
will automatically download and build the rosetta-cli ,then run the gateway and validate it using rosetta-cli
. More test details can be found here: tests
To clean-up:
make clean
To build the Docker image from your local repo:
docker build -f ./docker/dev/Dockerfile . -t iotexproject/iotex-core-rosetta-gateway
To run the Docker image:
docker run -p 8080:8080 -e "ConfigPath=/etc/iotex/config.yaml" iotexproject/iotex-core-rosetta-gateway