This is web server that helps to interact with Tezos Block Chain. This server supports the following features:
- Forge operation (allow batch transactions)
- Inject transaction by passing raw transaction (forged operation) and signature
- Send transactions (allow batch transactions), using Vault signer to sign the transactions.
- Get the contract parameters schema
- Get the contract storage (allow deep into complex object/map parameter)
Check if postgres database, rabbitMq and vault server are running. If not, you could start the services by using docker-compose
.
docker-compose up -d postgres rabbitmq vault
docker-compose up api
NOTES: This step could be skipped if it already ran.
npm i
npm run build
NOTES: This is optional. Bunyan helps to format the logs, so it is easier to read and nodemon helps auto recompile the code while you are in dev mode.
npm i -g bunyan nodemon
npm run start | bunyan
npm run start:dev | bunyan
After running the server, access http://localhost:3333/api-docs/
to see the API's documentation.