Waves node with Rosetta API compatible middleware
We implemented the very first version of Rosetta API middleware for Waves Protocol. The API supports all endpoints – API reference is available on Postman Docs
This middleware implements Rosetta API specifications for Waves blockchain.
The docker image inherits settings from Waves Node Docker Image.
Build docker image
The simplest way to build an image is to run the following command:
docker build . -t waves-rosetta-api
Additional properties are described here.
Running docker image
docker run -v /waves-data:/var/lib/waves -v waves-config:/etc/waves -p 6869:6869 -p 6862:6862 -p 8080:8080 -e JAVA_OPTS="-Dwaves.rest-api.enable=yes -Dwaves.rest-api.bind-address=0.0.0.0 -Dwaves.rest-api.port=6869 -Dwaves.wallet.password=myWalletSuperPassword" -e WAVES_NETWORK=stagenet -ti waves-rosetta-api
API call examples are shown here.
Waves node image configuration process is described here
Middleware configuration is stored in
- Transaction fees are counted as one
Operationbecause of lack of data about sponsored asseets
/construction/payloadsrequires an additional field
public_keyto generate a transaction
- Does not support assets issued on the Waves blockchain
- Supports only one signature in Construction API