https://github.com/multiversx/axelar-mvx-relayer
https://github.com/multiversx/axelar-mvx-relayer
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/multiversx/axelar-mvx-relayer
- Owner: multiversx
- Created: 2023-12-05T10:48:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-18T07:01:46.000Z (over 1 year ago)
- Last Synced: 2025-02-18T08:22:13.661Z (over 1 year ago)
- Language: TypeScript
- Size: 741 KB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](https://redis.io/).
2. PostgreSQL is required to be installed [docs](https://www.postgresql.org/).
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
```bash
# 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`