Axelar Relayer for MultiversX blockchain.
Based on Amplifier API Docs: https://bright-ambert-2bd.notion.site/Amplifier-API-Docs-EXTERNAL-7c56c143852147cd95b1c4a949121851
- Run
npm install
in the project directory - Copy
.env.example
file to.env
file and update the values - Run
docker-compose up -d
- Run
npm start
ornpm start:axelar-event-processor
In this repo there is a docker-compose.yml
file providing these services so you can run them easily using docker-compose up -d
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Make sure to have protoc
installed https://grpc.io/docs/protoc-installation/.
Then you can compile the files using:
TS_ARGS=('lowerCaseServiceMethods=true'
'outputEncodeMethods=false'
'outputJsonMethods=false'
'outputClientImpl=false'
'snakeToCamel=true')
protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto\
--ts_proto_out=./libs/common/src/grpc/entities\
--proto_path=./libs/common/src/assets\
--ts_proto_opt="$(IFS=, ; echo "${TS_ARGS[*]}")"\
./libs/common/src/assets/amplifier.proto
Check out these resources for more information: