Skip to main content

Canonical Gora app flows

This page is for running your own local devnet / validator infrastructure. To build against the live Gora testnet you don’t need any of this — see Connect to the testnet. URLs like https://YOUR-NODE-URL below are placeholders for your own tunnel or reverse proxy (ngrok, Caddy, or any HTTPS tunnel works).
These are the three developer flows Project 08.8 supports. They are intentionally small because the first production apps can build on the same surfaces instead of copying internal scripts.

1. Off-chain computation with callback

Use this when a Gora app computes a result and the chain side is updated by a gateway or callback submitter. No user wallet signature is required.
The starter includes a chain-specific callback contract/program scaffold and returns both an off-chain callback object and a chain_callback intent. The chain callback includes operation.target and operation.params objects for gateway routing plus operation_schema for integration validation. The schema declares allowed operation keys plus required and allowed target/params fields for the starter callback. The compatibility target, method, and payload fields remain available as the target-chain wire encoding. Devnet callback status is visible through gora inspect callback, which combines Gora request output with Dev Bridge broadcast/submission events.

2. Mobile-initiated request with program-owned payout

Use this when mobile starts the interaction, the Gora app computes the outcome, and the app/program-owned chain component performs the payout. The raffle app is the current concrete example.
For the full Base, Solana, and Algorand walkthrough, use Raffle App. The short command block above is only the smallest local shape of the flow.

3. Agent-initiated transaction with mobile signing

Use this when the app/agent decides a user-paid transaction should happen, mobile signs it, and the Dev Bridge/operator submits it.
The generated template includes mobile_signing_request.signing_payload and submission_plan, so the node can publish it to the bridge without app-specific glue code.

Devnet operator command

Use narrower chain sets while developing:
Check status:
Status includes Gora, Dev Bridge, Base, Solana, Algorand, tool availability, and the current contract registry.

Self-serve QA

Run this after rebuilding the CLI and starting Devnet:
For local template-only validation:
The QA script creates all three canonical templates in a clean workspace, validates them, checks node and bridge health, and simulates a bridge mobile-signing submission with a mock chain submission plan.