Nym DocsNetworkNetwork
OperatorsOperatorsAPIsAPIs
GitHubGitHub (opens in a new tab)Network ExplorerMatrix Logo
  • Introduction
  • Core Concepts
    • Required Architecture
    • Message Based Paradigm
    • Message Queue
    • Credentials
  • Binaries
  • Integration Options
  • Clients
    • Socks5 (standalone)
      • Setup
      • Usage
      • Config
      • Commands
    • Webassembly Client
    • Websocket (standalone)
      • Setup
      • Usage
      • Config
      • Examples
      • Commands
  • Tools
    • Nym-cli
      • Usage
      • Commands
    • Echo Server
    • TcpProxy Binaries (Standalone)
  • Nym VPN CLI
  • Interacting with Nyx
    • CLI Wallet
    • Cosmos Registry
    • Ledger Live
    • Rpc Node

  • Rust SDK
    • Importing
    • Development Status
    • Mixnet Module
      • Basic Examples
        • Simple Send
        • Builder Patterns
          • Ephemeral
          • With Storage
        • Configurable Network
        • Custom Network Topologies
          • Custom Topology Provider
          • Manually Overwrite Topology
          • Manually Overwrite Topology
        • Concurrent Send & Receive
        • Socks Proxy
        • Manually Handle Storage
        • Anonymous Replies
      • Message Helpers
      • Message Types
      • Troubleshooting
    • TcpProxy Module
      • Architecture
        • Single Connection
        • Multi Connection
      • Troubleshooting
    • Client Pool
      • Architecture
      • Example
    • FFI
    • Tutorials (Coming Soon)
  • Typescript SDK
    • SDK overview
    • Installation
    • Getting started
      • 1. mixFetch
      • 2. Mixnet Client
      • 3. Nym Smart Contracts
      • 4. Cosmos Kit
      • 1. Use mixFetch
      • 2. Send traffic over the mixnet
      • 3.1. Query mixnet contract for a list of mix nodes
      • 3.2. Basic wallet operations
      • 4. Cosmos Kit
      • General troubleshooting
      • ESbuild
      • Webpack
    • FAQ

    • Nym Connect
  • Licensing
  • Coc
Developers
Rust SDK
Mixnet Module
Basic Examples
Builder Patterns

Builder Patterns

Since there are two ways of creating an SDK client - ephemeral and with-storage - then there are two ways of applying the Builder Pattern to client creation.

Simple SendEphemeral

MIT 2025 © Nextra.