Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.04 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.04 KB

Axelar Relayer for MultiversX blockchain.

Based on Amplifier API Docs: https://bright-ambert-2bd.notion.site/Amplifier-API-Docs-EXTERNAL-7c56c143852147cd95b1c4a949121851

Quick start

  1. Run npm install in the project directory
  2. Copy .env.example file to .env file and update the values
  3. Run docker-compose up -d
  4. Run npm start or npm start:axelar-event-processor

Dependencies

  1. Redis Server is required to be installed docs.
  2. PostgreSQL is required to be installed docs.
  3. For E2E tests you need dotenv-cli npm install -g dotenv-cli

In this repo there is a docker-compose.yml file providing these services so you can run them easily using docker-compose up -d

Tests

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Regenerating Typescript interfaces from OpenApi schema file

npx openapicmd typegen ./libs/common/src/assets/axelar-gmp-api.schema.yaml > ./libs/common/src/api/entities/axelar.gmp.api.d.ts