💻
Developer Guide
  • Wallet SDK
    • Wallet Overview
    • Getting Started
      • 1. Start the RAILGUN Privacy Engine
      • 2. Build a persistent store for artifact downloads
      • 3. Load a Groth16 prover for each platform
      • 4. Add networks and RPC providers
      • 5. Set up a debug logger
    • Private Wallets
      • RAILGUN Wallets
      • View-Only Wallets
      • Encryption Keys
    • Private Balances
      • Balance and Sync Callbacks
      • Updating Balances
      • QuickSync
    • Transactions
      • Shielding
        • Shield ERC-20 tokens
        • Shield base token
        • Shield NFTs
      • Private Transfers
        • Private ERC-20 Transfers
        • Private NFT Transfers
      • Cross-Contract Calls
      • Unshielding
        • Unshield ERC-20 tokens
        • Unshield base token
        • Unshield NFTs
      • UX: Private Transactions
    • Broadcasters
  • Cookbook SDK
    • Cookbook Overview
    • Recipe Guide: Write a zkApp
      • "Step" — A smart contract call
      • "Recipe" — Steps in series
      • "Combo Meal" — 2+ Recipes
    • Use your zkApp privately
  • Engine SDK
    • Engine Overview
  • ZK Account Abstraction
    • Account Abstraction Overview
    • Getting started with the contracts
    • Wallets
    • State Structure
    • Example Primitives
Powered by GitBook
On this page
  1. Cookbook SDK

Recipe Guide: Write a zkApp

dApp -> zkApp in 3 easy steps

PreviousCookbook OverviewNext"Step" — A smart contract call

Last updated 1 year ago

Hey there, enterprising Web3 chef.

Welcome to the exciting new world of RAILGUN zkApps.

With RAILGUN, you can give users the gift of privacy for nearly any decentralized app that runs via smart contracts. Cookbook makes it easy — numerous automated tests and code-validation help to ensure that users' funds will be safe every "Step" of the way.

How it works

The RAILGUN Cookbook gives you the tools to write a "Recipe" to convert your dApp into a zkApp — for users. Your Recipe can interact with any smart contract using your private balance in .

A Recipe contains a series of smart contact calls that are combined into a multi-call, which is actuated using , or any RAILGUN-compatible wallet.

private and fully anonymous
RAILGUN
Wallet SDK