💻
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
  • Private Transactions
  • Relayers
  1. Wallet SDK

Transactions

PreviousQuickSyncNextShielding

Last updated 10 months ago

Private Transactions

RAILGUN enables encrypted private transactions through . Once assets are shielded into the RAILGUN contract, there are several options:

  1. tokens privately to another RAILGUN wallet.

  2. Use a to interact privately with an external smart contract.

  3. tokens into any public wallet.

These transactions achieve a level of privacy, as their contents cannot be read by an external observer. For example, private transfers show no details of the tokens or amounts sent.

Relayers

In order to achieve full anonymity, RAILGUN uses a network of Relayers to submit transactions.

Relayers are external wallets that sign transactions on a user's behalf. Relayers pay gas fees for users, and they receive ERC-20 tokens as fees for the service.

If you want to send transactions through a Relayer, use .

Shielding
Transfer
cross-contract call
Unshield
in Etherscan
@railgun-community/waku-relayer-client