A relayer between cosmos and evm chains on Axelar testnet.
The relayer is currently deployed on the heroku server, so you don't have to run it. But here's how you can also run it in your local machine.
Make sure docker engine is running. We use docker for spin up local postgres db.
- Copy
.env.example
to.env
and fill all values. - Run
yarn
- Run
make up
to run postgres db container. - Wait until the db is ready to accept connection, then run
make prisma-push
to create database and tables. - Run
make prisma-generate
to generate db types. - Run
yarn start:dev
to start the relayer
The relayer has stored the cross-chain events in the database. It exposes an API for developers for the debugging purpose.
The API documentation in available here.
example:
ts-node scripts/test-axelar-callContract.ts mantle carbon swth1cnymmv74yff8llh2hlykx3wezcvmrmuqt44crd 0x0123