Comment on page
Running the docker service
This is the Zerowallet backend service that is responsible of Authentication and executing transactions on-chain.
git clone https://github.com/questbook/zero-wallet-backend-service.git
cd zero-wallet-backend-service
docker build . -t zero-wallet-backend-service
docker run --network=host zero-wallet-backend-service
This service exposes several API endpoints to be used in the frontend part, note that you should only change <DOMAIN> to the domain where you're deploying the service.
nonceProvider : http://<DOMAIN>/api/auth/getNonce
nonceRefresher : http://<DOMAIN>/api/auth/refreshNonce
authorizer : http://<DOMAIN>/api/auth/authorize
gasStation : http://<DOMAIN>/api/tx/send
transactionBuilder : http://<DOMAIN>/api/tx/build
scwDeployer : http://<DOMAIN>/api/tx/deploy
Last modified 11mo ago