https://github.com/iotexproject/iotex-core-rosetta-gateway
Rosetta gateway server for IoTeX node
https://github.com/iotexproject/iotex-core-rosetta-gateway
Last synced: 9 months ago
JSON representation
Rosetta gateway server for IoTeX node
- Host: GitHub
- URL: https://github.com/iotexproject/iotex-core-rosetta-gateway
- Owner: iotexproject
- License: apache-2.0
- Created: 2020-06-18T21:15:27.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-23T11:34:27.000Z (about 3 years ago)
- Last Synced: 2025-07-08T19:15:11.626Z (11 months ago)
- Language: Go
- Homepage:
- Size: 335 KB
- Stars: 5
- Watchers: 10
- Forks: 4
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IoTeX Gateway for Rosetta
This repository implements the [Rosetta](https://github.com/coinbase/rosetta-sdk-go) for the [IoTeX](https://iotex.io) blockchain.
##### Supported Verions
|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|
## Run IoTeX mainnet node and Rosetta Gateway in a Docker
Please refer to [Deployment](https://github.com/iotexproject/iotex-core-rosetta-gateway/blob/master/docker/deploy) here.
## Build and test
To build the server:
make
To run tests:
make test
`make test` will automatically download and build the [rosetta-cli](https://github.com/coinbase/rosetta-cli) ,then run the gateway and validate it using `rosetta-cli`. More test details can be found here: [tests](https://github.com/iotexproject/iotex-core-rosetta-gateway/tree/master/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