💻
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
  • Use cases
  • Get the Recipe Builder
  • Links
  1. Cookbook SDK

Cookbook Overview

RAILGUN Cookbook: Convert your dApp into a zkApp

PreviousBroadcastersNextRecipe Guide: Write a zkApp

Last updated 1 year ago

The is an open-source project developed by RAILGUN contributors.

RAILGUN Cookbook enables web3 developers to build simple zkApps that are compatible with RAILGUN private balances on Ethereum, Arbitrum, Polygon and more.

With Cookbook, users can activate your smart contract privately and anonymously.

Use cases

RAILGUN Cookbook converts a series of smart contract calls into a "Recipe" that can have both ERC-20 and NFT inputs/outputs. There are a variety of use cases that are possible – all entirely private and anonymous through the RAILGUN Privacy System:

  • PRIVATE Vault Deposits

  • PRIVATE Stablecoin Minting

  • PRIVATE Liquidity Provisioning (LP)

  • PRIVATE Liquid Staking

  • PRIVATE Wrapping/Unwrapping tokens

  • + many more

Get the Recipe Builder

yarn add @railgun-community/cookbook@2.6.0

Links

Git repo:

RAILGUN C
ookbook
https://github.com/Railgun-Community/cookbook