Starknet Relay is a service that consumes Starknet withdrawals on L1. When the user bridges the tokens from L2 to L1, it is possible to automate the process of withdrawing the tokens on L1 by paying the gas fee on L2 to the wallet relayer. The relayer will detect that the user did the payment and then calls the withdrawal function when the message reaches L1
Install packages
yarn
Duplicate the example.env
file and rename it to .env
yarn start:dev
http://0.0.0.0:3000/api
http://0.0.0.0:3000/metric
http://0.0.0.0:3000/api/v1/gas-cost/{timestamp}
yarn test
- Start the services
cd e2e
- Start the services
make e2e-up
- Restore the database
make e2e-setup
- Run tests
make e2e-test