logo

On-Chain App Building (devbase)

Add blockchain functionality to your app — without writing backend code or smart contracts.

What is devbase?

devbase is the engine that powers your app’s on‑chain logic. It’s invisible but powerful, making your app persistent, interactive and onchain‑ready.
Think of it like this:
  • You describe what you want your app to do (e.g., charge a fee, store game data — or both)
  • devbase automatically sets up the storage and wallet interactions for you

What Can You Do with devbase?

  • Payments: Charge users SOL or any SPL token to interact with your appNotion.
  • Prizes: Let winners claim prize money on‑chainNotion.
  • State & scores: Store scores, history or game statesNotion.
  • Vaults: Create vaults for pooled entry fees and payouts. Vaults are program‑controlled wallets that hold funds until conditions are met

How to Activate devbase

Simply include any transaction or payment-related request in your first prompt.
Example:
plain text
"Build a game where users pay 0.0001 SOL to roll a dice."
devbase will instantly:
  • Save & remember user actions
  • Add wallet support
  • Track payments & outcomes
No code. No contracts. Just prompt.

Understanding & Debugging

Once you trigger devbase, your app gets a schema (visible in Configuration → devbase).
Image without caption
You'll see your devbase schema in:
  • JSON schema – the structure of your app's stored data
    • "rules" are used to define the permission of the CRUD(Create, Read, Update, Delete) operations.
    • "fields" are the actual data structure that stored in devbase.
  • Plain language explanation – how your data and onchain logic work
Not sure how your backend works or something's breaking?
Switch to Brainstorm Mode and ask:
plain text
"Explain my devbase schema."
The AI will walk you through:
  • What triggers a transaction
  • How the transaction will be processed
  • Vault logic & payout rules
  • How the data is stored in my devbase

Receiving SOL Directly

Want to receive payments straight to your wallet?
Just include your wallet address in your prompt:
plain text
"Use wallet 9wQsiWeutYdHfWbErRnP2sNX4FMe9beDQvJdyKfWV28W to receive payments."
devbase will route funds to your wallet when users interact.

Using Vaults for Prize Pools & Payouts

Vaults are program-controlled wallets that hold funds until conditions are met.
Example prompt:
plain text
"Use a vault to hold 0.000001 SOL per game round. The winner can claim the pot."
devbase will:
  • Create the vault
  • Let you export the private key
  • Allow you to control when/how funds are released
Perfect for games, raffles, pooled bets, and more.

Summary – What's Possible with devbase

  • ✅ Instant wallet support
  • ✅ Persistent user data & state storage
  • ✅ Onchain payments & receipts
  • Vaults for complex payout logic
  • ✅ Full visibility & control over your app's backend logic