Documentation

Running the service

Once you configured your paymaster service, you can simply running it by typing:

cargo run --bin paymaster-service -- --profile=path/to/my-profile.json

You should see an output similar to

Output example

Starting RPC server at 0.0.0.0:12777
Swap interval reached, try to swap tokens to STRK
Nothing to swap for token 0x..., omit it
Successfully prepared 0/1 token swaps
Check interval reached, try to rebalance
Successfully updated 2/2 relayer balances
No relayers below trigger balance, skipping rebalance for this round
Nothing to execute, skipping
2 enabled relayers