Categorygithub.com/iotexproject/iotex-core-rosetta-gateway

# README

IoTeX Gateway for Rosetta

This repository implements the Rosetta for the IoTeX blockchain.

Supported Verions
iotex-core-rosetta-gatewayiotex-corerosetta-specificationsrosetta-cli
masterv1.1.0v1.4.2v0.4.1
v1.1.xv1.1.0v1.4.2v0.4.1

Run IoTeX mainnet node and Rosetta Gateway in a Docker

Please refer to Deployment here.

Build and test

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

Develop iotex-core-rosetta-gateway with Docker

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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewBlockchainRouter returns a Mux http.Handler from a collection of Rosetta service controllers.

# Constants

No description provided by the author