Skip to main content

Examples

These examples are meant to be rebuilt during demos and copied when starting a real app. Each one shows the boundary between:
  • the off-chain Gora app
  • the app manifest and policy
  • any chain contracts, programs, or applications
  • mobile or operator signing
  • local Devnet deployment

Available examples

ExampleWhat it provesStatus
Raffle appMobile/operator initiated app with Base, Solana, and Algorand on-chain treasuries. The off-chain app picks a winner and the winner-chain contract pays 5%.Reference demo

How to use examples

For a livestream or internal external-demo rehearsal, prefer this loop:
  1. Start Devnet on the VM.
  2. Rebuild the example from a clean checkout.
  3. Deploy or resolve each chain component through the documented commands.
  4. Deploy the off-chain Gora app.
  5. Exercise the app from CLI first.
  6. Exercise the same app from mobile after the CLI path works.
The examples intentionally keep app logic outside the Gora node. If a new example requires edits to crates/protocol-core, apps/gora-node/dev-bridge/server.mjs, or the iOS app for app-specific logic, treat that as a platform gap to fix before the demo.