Standalone Next.js client that validates Pontmore escrow service invocation with a two-player dice wager.
The client reads the descriptor at https://standalone-escrow.onrender.com/pontmore/v1/descriptor,
uses the advertised HTTP endpoint and OpenAPI schema, signs NIP-98 HTTP auth events locally, and
submits an application_signed_result release decision after a dice roll.
npm install
npm run devOpen http://localhost:3002.
docker build -t pontmore/rollpot .
docker run --rm -p 3002:3002 pontmore/rollpot- Fetch the escrow descriptor server-side in
app/page.tsx. - Create a
two_partyescrow through the descriptor service endpoint. - Join the counterparty with the service-issued invitation token.
- Request per-participant Lightning funding instructions.
- Poll each participant's funding status.
- Roll dice and request release with a BIP-340 application signature over the canonical release message.