This is effectively a replacement for the safe-transaction-service which only provides the required capability of accumulating signatures ready for execution. it is designed to be easy to run independently even if all you have is an rpc endpoint.
After checking out the repo, install dependencies and build the project:
npm i
npm run build
Once the project is built, you can run it:
node dist/index.js
We also provide a docker image if you prefer:
docker run -it --rm ghcr.io/usecannon/safe-cannon-app-backend -e RPC_URLS=...
The RPC_URLS
environment variable is an optional comma separated list of RPC
endpoints for the networks you wan't to include that are not listed by viem.
RPC_URLS=https://mainnet.infura.io/abc123,https://optimism.infura.io/abc123 node dist/index.js