# Zafeguard Developer Docs Official documentation for Zafeguard — the visual blockchain workflow platform. Each link returns the raw markdown source of the corresponding page; the same URL without `.md` serves the rendered HTML version. ## Top-level - [Overview](https://docs.zafeguard.com/intro.md): Zafeguard — visual crypto workflow automation with 80+ blockchain components, MPC key security, and real-time execution streaming. - [Platform overview](https://docs.zafeguard.com/intro/platform-overview.md): What Zafeguard gives you — MPC made easy for any developer, a visual workflow canvas, true multi-chain coverage from one key, and a path from hosted to fully self-hosted with the same SDK. ## SDK Reference - [Overview](https://docs.zafeguard.com/sdk.md): Zafeguard ships two SDKs — the @zafeguard/caller-sdk for triggering platform workflows and components, and the @zafeguard/mpc-sdk for participating in MPC ceremonies client-side. - [API Reference](https://docs.zafeguard.com/sdk/api-reference.md): Complete REST API reference for Zafeguard — all SDK, workflow, workspace, and authentication endpoints. - [Authentication](https://docs.zafeguard.com/sdk/authentication.md): API keys, key types, and scopes for the Zafeguard SDK. - [Overview](https://docs.zafeguard.com/sdk/cluster-agent.md): The cluster node that holds one MPC share and runs ceremonies on behalf of Embedded Agent clients (or your own custody backend). Concepts, when to deploy, where it fits. - [Configuration](https://docs.zafeguard.com/sdk/cluster-agent/configuration.md): Every MPC Agent config knob — identity, license, intra-cluster transport, storage, API auth, rate limits, policy webhooks, performance & limits. - [Deployment](https://docs.zafeguard.com/sdk/cluster-agent/deployment.md): Docker compose for a local 3-node cluster, Kubernetes manifests for production, and the bare-metal pattern for institutional setups. - [How it works](https://docs.zafeguard.com/sdk/cluster-agent/how-it-works.md): Cluster topology, ceremony coordination, the gossip + identity layer, and what the agent does (and doesn't) on every external request. - [Integration patterns](https://docs.zafeguard.com/sdk/cluster-agent/integration-patterns.md): Connect your cluster to the right client surface. Embedded Agent for device + cloud agents, ClusterAgent client for server-side custody, hybrid for both. - [API reference](https://docs.zafeguard.com/sdk/cluster-agent/reference.md): Complete ClusterAgent client API — connect, sessions, key shares, presignatures, recovery bundles. Every method, every option. - [Cryptographic foundations](https://docs.zafeguard.com/sdk/cryptographic-foundations.md): Every primitive the SDK implements, mapped to the paper or standard that defines it. Useful for security review, regulator engagement, and developers who want to understand what's underneath the API. - [Derivation paths](https://docs.zafeguard.com/sdk/derivation-paths.md): How hierarchical key derivation works in threshold MPC — when to use a derivation path, the standard path layouts (BIP-32, BIP-44, BIP-84), and the precise rules for signing and verifying against a derived sub-key. - [Overview](https://docs.zafeguard.com/sdk/embedded-agent.md): The high-level facade in @zafeguard/mpc-sdk for the warm-cold wallet shape — one device share, N cloud-agent shares, threshold signing across the cohort, with an optional presignature pool that batches the heavier round. - [Presignature pool](https://docs.zafeguard.com/sdk/embedded-agent/offline-signing.md): Pre-mint presignatures online, then consume them on later sign() calls to cut the per-signature cohort round-trips from two to one. Manual mint, opt-in auto-refill, plus export / import for cold-storage handoff. - [Quick start](https://docs.zafeguard.com/sdk/embedded-agent/quick-start.md): A minimal end-to-end Embedded Agent integration in under 30 lines — create, sign, verify, export, restore. - [Recovery](https://docs.zafeguard.com/sdk/embedded-agent/recovery.md): Embedded Agent state survives process restarts, device swaps, share rotation, and cohort emergencies. Pick the path that matches the failure mode you're handling. - [API reference](https://docs.zafeguard.com/sdk/embedded-agent/reference.md): Complete EmbeddedAgent and LoadedKeyShare API — every constructor option, every method, every error. Pair with the tutorials in this section for the full usage. - [Storage](https://docs.zafeguard.com/sdk/embedded-agent/storage.md): Storage adapters that persist the EmbeddedAgent state across process restarts — in-memory, encrypted file, hardware-key-wrapped. - [Topology](https://docs.zafeguard.com/sdk/embedded-agent/topology.md): Choose the cohort that fits your trust model — single-agent for the simplest 2-of-2 wallet, multi-agent for redundancy and threshold flexibility. - [Execute Component](https://docs.zafeguard.com/sdk/execute-component.md): Execute any Zafeguard component standalone via the SDK — CallBuilder pattern, inputs, config, delivery modes, and retry behavior. - [Execute Workflow](https://docs.zafeguard.com/sdk/execute-workflow.md): Trigger Zafeguard workflow runs, inspect stage results, stream live status, and manage components with the WorkflowClient SDK. - [MCP Server](https://docs.zafeguard.com/sdk/mcp.md): Connect Claude Desktop, Claude Code, or any MCP-compatible client to your Zafeguard workspace. Execute workflows and components, and let your AI assistant build workflows on the canvas directly. - [MPC SDK](https://docs.zafeguard.com/sdk/mpc-sdk.md): Zafeguard MPC SDK (@zafeguard/mpc-sdk) — run threshold-MPC key generation, signing, and recovery client-side. Two entry points: EmbeddedAgent for the warm-cold wallet shape and ClusterAgent for raw cluster access. - [Plugins](https://docs.zafeguard.com/sdk/plugins.md): Extension points for recovery, storage, and hardware-backed sealing — P256Plugin, PasswordRecoveryPlugin, SocialRecoveryPlugin, EncryptedFileStorage, HardwareWrappedStorage. - [Post-Quantum Signing](https://docs.zafeguard.com/sdk/post-quantum-signing.md): Single-party post-quantum digital signatures via FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA). Six parameter sets covering NIST security levels 1-5. - [Getting Started](https://docs.zafeguard.com/sdk/quickstart.md): Install the Zafeguard TypeScript SDK, set up your API key, and execute your first component in under 5 minutes. - [SDK boundaries](https://docs.zafeguard.com/sdk/sdk-boundaries.md): Honest disclosure of what the SDK does and does not support. Read this before scoping a system that needs air-gapped DKG, multi-party board signing, custom MPC protocols, or compliance flows the SDK doesn't ship today. - [Real-Time Streaming (SSE)](https://docs.zafeguard.com/sdk/streaming.md): Subscribe to live workflow run and component execution status updates via Server-Sent Events (SSE) — no polling required. - [Overview](https://docs.zafeguard.com/sdk/threshold-decryption.md): Encrypt to a cohort, decrypt only with quorum cooperation. Three primitive families — ElGamal, Paillier, RSA — each with single-party and threshold modes. - [ElGamal](https://docs.zafeguard.com/sdk/threshold-decryption/elgamal.md): Threshold ElGamal — hashed-ElGamal with AES-GCM hybrid encryption. Reuses existing EC key shares from a DKG cohort. - [Paillier](https://docs.zafeguard.com/sdk/threshold-decryption/paillier.md): Threshold Paillier — additive-homomorphic encryption. Add two ciphertexts without decrypting, then quorum-decrypt the result. - [RSA](https://docs.zafeguard.com/sdk/threshold-decryption/rsa.md): Threshold RSA-OAEP — trusted-dealer mode for simplicity, zero-trust mode for combiner-blind decryption. - [Utilities](https://docs.zafeguard.com/sdk/utilities.md): Pure-function helper classes — public-key encoding, hashing, payload envelope wrapping, and library initialization. ## Component Library - [Overview](https://docs.zafeguard.com/components.md): Browse all 100+ Zafeguard blockchain components — EVM, Bitcoin, Litecoin, Dogecoin, Dash, Solana, MPC, DeFi, HTTP, price oracles, and workflow logic components with full input/output schemas. - [Overview](https://docs.zafeguard.com/components/bitcoin.md): Zafeguard Bitcoin components for the full transaction lifecycle — address derivation, UTXO selection, signing, and broadcasting. - [Generate Bitcoin Address](https://docs.zafeguard.com/components/bitcoin/examples/generate-address.md): Derive a deterministic Bitcoin address from an MPC key share using BIP-44/84/86 derivation paths. - [Sign a Bitcoin Message](https://docs.zafeguard.com/components/bitcoin/examples/sign-message.md): Compute a standard Bitcoin signed-message hash and sign it with an MPC key share for proof-of-ownership or off-chain authentication. - [Transfer BTC](https://docs.zafeguard.com/components/bitcoin/examples/transfer-btc.md): Check a Bitcoin wallet balance, build and sign a transaction with MPC signing, and broadcast it to the network. - [Bitcoin Transactions](https://docs.zafeguard.com/components/bitcoin/transactions.md): Build, sign, broadcast Bitcoin transactions, and compute signature hashes with Zafeguard Bitcoin components. - [Bitcoin Wallets & Addresses](https://docs.zafeguard.com/components/bitcoin/wallets.md): Derive Bitcoin addresses, query balances, and compute BIP-44 derivation paths with Zafeguard Bitcoin components. - [Overview](https://docs.zafeguard.com/components/dash.md): Zafeguard Dash components for the full transaction lifecycle — address derivation, UTXO selection, signing, and broadcasting. - [Generate Dash Address](https://docs.zafeguard.com/components/dash/examples/generate-address.md): Derive a deterministic Dash P2PKH address from an MPC key share using BIP-44. - [Sign a Dash Message](https://docs.zafeguard.com/components/dash/examples/sign-message.md): Compute a standard Dash signed-message hash and sign it with an MPC key share for proof-of-ownership or off-chain authentication. - [Transfer DASH](https://docs.zafeguard.com/components/dash/examples/transfer-dash.md): Check a Dash wallet balance, build and sign a transaction with MPC signing, and broadcast it to the network. - [Dash Transactions](https://docs.zafeguard.com/components/dash/transactions.md): Build, sign, broadcast Dash transactions, and compute signature hashes with Zafeguard Dash components. - [Dash Wallets & Addresses](https://docs.zafeguard.com/components/dash/wallets.md): Derive Dash addresses, query balances, and compute BIP-44 derivation paths with Zafeguard Dash components. - [Overview](https://docs.zafeguard.com/components/dogecoin.md): Zafeguard Dogecoin components for the full transaction lifecycle — address derivation, UTXO selection, signing, and broadcasting. - [Generate Dogecoin Address](https://docs.zafeguard.com/components/dogecoin/examples/generate-address.md): Derive a deterministic Dogecoin P2PKH address from an MPC key share using BIP-44. - [Sign a Dogecoin Message](https://docs.zafeguard.com/components/dogecoin/examples/sign-message.md): Compute a standard Dogecoin signed-message hash and sign it with an MPC key share for proof-of-ownership or off-chain authentication. - [Transfer DOGE](https://docs.zafeguard.com/components/dogecoin/examples/transfer-doge.md): Check a Dogecoin wallet balance, build and sign a transaction with MPC signing, and broadcast it to the network. - [Dogecoin Transactions](https://docs.zafeguard.com/components/dogecoin/transactions.md): Build, sign, broadcast Dogecoin transactions, and compute signature hashes with Zafeguard Dogecoin components. - [Dogecoin Wallets & Addresses](https://docs.zafeguard.com/components/dogecoin/wallets.md): Derive Dogecoin addresses, query balances, and compute BIP-44 derivation paths with Zafeguard Dogecoin components. - [Overview](https://docs.zafeguard.com/components/evm.md): Zafeguard EVM components for Ethereum and EVM-compatible chains — transactions, contract reads, Gnosis Safe, DeFi, and utilities. - [EVM Cross-Chain Bridges](https://docs.zafeguard.com/components/evm/bridges.md): Bridge tokens across EVM chains in a single source-chain transaction. Fully decentralized — no API key, on-chain quotes only, auto-routed to the cheapest path. - [DeFi Components](https://docs.zafeguard.com/components/evm/defi.md): Uniswap V3 swap quotes and transaction building with Zafeguard DeFi components. - [Deploy a Gnosis Safe](https://docs.zafeguard.com/components/evm/examples/deploy-gnosis-safe.md): Predict the Safe address, check if already deployed, then build and broadcast the deployment transaction using MPC signing. - [Generate EVM Address](https://docs.zafeguard.com/components/evm/examples/generate-address.md): Derive a deterministic Ethereum address from an MPC key share using BIP-44 derivation and the WorkspaceClient SDK. - [Swap ETH for USDC (Uniswap)](https://docs.zafeguard.com/components/evm/examples/swap-eth-usdc.md): Get a live Uniswap V3 quote, build the swap calldata, MPC sign, broadcast, and verify the output balance. - [Transfer ETH / USDC](https://docs.zafeguard.com/components/evm/examples/transfer-eth-usdc.md): Check a wallet balance, then send native ETH or USDC (ERC-20) using MPC signing and the WorkspaceClient SDK. - [Gnosis Safe](https://docs.zafeguard.com/components/evm/gnosis-safe.md): Zafeguard Gnosis Safe components — deploy multisigs, build and sign Safe transactions, manage owners, and batch calls with multicall. - [Read & Decode](https://docs.zafeguard.com/components/evm/read-decode.md): Read EVM smart contract state and decode ABI-encoded return values with Zafeguard components. - [EVM Transactions](https://docs.zafeguard.com/components/evm/transactions.md): Build, sign, broadcast, and monitor EVM transactions with Zafeguard components. - [EVM Wallets & Addresses](https://docs.zafeguard.com/components/evm/wallets.md): Derive EVM addresses, query ETH/ERC-20 balances, compute BIP-44 derivation paths, and read chain IDs with Zafeguard EVM components. - [API Call](https://docs.zafeguard.com/components/http/api-call.md): Make any HTTP/HTTPS request to external APIs from within a Zafeguard workflow — custom headers, methods, body, and authentication. - [Overview](https://docs.zafeguard.com/components/litecoin.md): Zafeguard Litecoin components for the full transaction lifecycle — address derivation, UTXO selection, signing, and broadcasting. - [Generate Litecoin Address](https://docs.zafeguard.com/components/litecoin/examples/generate-address.md): Derive a deterministic Litecoin address from an MPC key share using BIP-44/49/84/86 derivation paths. - [Sign a Litecoin Message](https://docs.zafeguard.com/components/litecoin/examples/sign-message.md): Compute a standard Litecoin signed-message hash and sign it with an MPC key share for proof-of-ownership or off-chain authentication. - [Transfer LTC](https://docs.zafeguard.com/components/litecoin/examples/transfer-ltc.md): Check a Litecoin wallet balance, build and sign a transaction with MPC signing, and broadcast it to the network. - [Litecoin Transactions](https://docs.zafeguard.com/components/litecoin/transactions.md): Build, sign, broadcast Litecoin transactions, and compute signature hashes with Zafeguard Litecoin components. - [Litecoin Wallets & Addresses](https://docs.zafeguard.com/components/litecoin/wallets.md): Derive Litecoin addresses, query balances, and compute BIP-44 derivation paths with Zafeguard Litecoin components. - [Overview](https://docs.zafeguard.com/components/mpc.md): Threshold key generation, signing, import/export, and age encryption for secure on-chain key management in Zafeguard. - [Export & Import Key Share](https://docs.zafeguard.com/components/mpc/examples/export-import-key.md): Securely back up or migrate a key share to another MPC node using age encryption — GET_NODE_RECIPIENT_KEY, GENERATE_AGE_ENCRYPTION, EXPORT_KEY_SHARE, and IMPORT_KEY_SHARE. - [Generate Key & Sign](https://docs.zafeguard.com/components/mpc/examples/generate-and-sign.md): Full example showing key generation, public key derivation, EVM address computation, and transaction signing using MPC components in Zafeguard. - [Key Generation](https://docs.zafeguard.com/components/mpc/key-generation.md): Generate threshold MPC key shares with GENERATE_KEY_SHARE. - [Key Management](https://docs.zafeguard.com/components/mpc/key-management.md): Import, export, rewrap, and recover MPC key shares for backup and migration workflows. - [Signing](https://docs.zafeguard.com/components/mpc/signing.md): Derive public keys and sign message hashes using MPC key shares with COMPUTE_PUBLIC_KEY and SIGN_WITH_KEY_SHARE. - [Utilities](https://docs.zafeguard.com/components/mpc/utilities.md): Age encryption key generation and MPC node recipient key lookup for secure key wrapping workflows. - [Overview](https://docs.zafeguard.com/components/prices.md): USD price oracles for UTXO coins (BTC, LTC, DOGE, DASH), any ERC-20 token on any EVM chain, and any SPL token on Solana. Aggregates many independent sources and returns the median to prevent single-source manipulation. - [Overview](https://docs.zafeguard.com/components/solana.md): Zafeguard Solana components for the full transaction lifecycle — address derivation, SPL tokens, program instructions, signing, and broadcasting. - [Generate Solana Address](https://docs.zafeguard.com/components/solana/examples/generate-address.md): Derive a deterministic Solana address from an MPC key share using BIP-44 derivation (Ed25519). - [Transfer SOL](https://docs.zafeguard.com/components/solana/examples/transfer-sol.md): Check a Solana wallet balance, build and sign a SOL transfer with MPC signing, and broadcast it to the network. - [Transfer SPL Token (USDC)](https://docs.zafeguard.com/components/solana/examples/transfer-spl-token.md): Check an SPL token balance, build transfer instructions, sign with MPC, and broadcast a Solana SPL token transfer. - [Solana Instructions & Signatures](https://docs.zafeguard.com/components/solana/instructions.md): Build program instructions, account meta items, and signature pairs for Solana transactions with Zafeguard components. - [Solana Transactions](https://docs.zafeguard.com/components/solana/transactions.md): Build, sign, and broadcast Solana transactions, and construct transfer and nonce account instructions with Zafeguard Solana components. - [Solana Wallets & Addresses](https://docs.zafeguard.com/components/solana/wallets.md): Derive Solana addresses, convert public key formats, query balances, and compute BIP-44 derivation paths with Zafeguard Solana components. - [Overview](https://docs.zafeguard.com/components/utilities.md): Utility components for Zafeguard workflows — random values, EVM constants, and hash functions. - [Overview](https://docs.zafeguard.com/components/workflow.md): Workflow-native components for iteration, data aggregation, and control flow in Zafeguard. - [ARRAY_BUILDER](https://docs.zafeguard.com/components/workflow/array-builder.md): Collect multiple upstream values into a typed array in Zafeguard — feeds FOR_EACH, multicall batches, and Safe owner lists. - [Flow Control](https://docs.zafeguard.com/components/workflow/flow-control.md): BRANCH for conditional routing, RETURN to emit workflow output, SEQUENCER for parallel fan-out, FORWARDER for type pass-through. - [FOR_EACH](https://docs.zafeguard.com/components/workflow/for-each.md): Iterate over any array in a Zafeguard workflow — run downstream stages once per item, with full parallelism and automatic aggregation. - [Distributed Locks](https://docs.zafeguard.com/components/workflow/locks.md): ACQUIRE_LOCK / RELEASE_LOCK for serialising sections of a workflow across concurrent runs. - [Variables & Object Manipulation](https://docs.zafeguard.com/components/workflow/variables.md): Workflow-scoped array variables (CREATE / APPEND / GET) plus object utilities (MERGE_ARRAYS, GET_OBJECT_VALUE, FIND_ARRAY_OBJECT). ## REST API & OAuth - [Overview](https://docs.zafeguard.com/api.md): Zafeguard public REST API reference — component execution, workflow triggers, and run management. All endpoints require an API key (no JWT needed). - [Component Execution API](https://docs.zafeguard.com/api/components.md): Execute standalone components, check execution status, stream results, and replay callbacks via the Zafeguard REST API. - [Execute Component](https://docs.zafeguard.com/api/execute.md): Submit a component for execution via the Zafeguard REST API. - [Overview](https://docs.zafeguard.com/api/oauth.md): OAuth 2.0 + OpenID Connect Identity Provider — let your users sign in to your app with their Zafeguard account. - [Calling Workspace APIs](https://docs.zafeguard.com/api/oauth/calling-workspace-apis.md): Use an OAuth access token to call Zafeguard's workspace endpoints — credit balance, workflows, API-key creation. - [OAuth Quickstart](https://docs.zafeguard.com/api/oauth/quickstart.md): Register an OAuth app and run the full Login with Zafeguard flow end-to-end. - [OAuth Scopes](https://docs.zafeguard.com/api/oauth/scopes.md): The supported OAuth/OIDC scopes and what each one grants your app permission to do on the user's workspace. - [Status & Streaming](https://docs.zafeguard.com/api/status.md): Poll execution status or subscribe to real-time SSE events for component executions. - [Webhooks](https://docs.zafeguard.com/api/webhooks.md): Async webhook delivery, HMAC-SHA256 signature verification, and callback replay for component executions. - [Workflow Executions API](https://docs.zafeguard.com/api/workflows.md): Trigger workflow executions, check execution status, stream live updates, and manage workflow components via the Zafeguard REST API. ## Examples & Case Studies - [Overview](https://docs.zafeguard.com/examples.md): Real-world Zafeguard SDK recipes — production patterns for smart accounts, DeFi integrations, and gasless transactions. - [Overview](https://docs.zafeguard.com/examples/custody-whitelabel-solution.md): Architectural overview for a regulated custody whitelabel — hot wallet for 24/7 programmatic signing, cold wallet for air-gapped multi-party approvals, both built on Zafeguard MPC SDK and the workflow canvas. - [Cold Wallet](https://docs.zafeguard.com/examples/custody-whitelabel-solution/cold-wallet.md): Device-side EmbeddedAgent with a locally-stored presignature pool. The cold host generates its own share during DKG, holds it in HSM-backed storage, and signs against the cohort with a single short round-trip per call by consuming pre-minted presignatures. Refill is an explicit, witnessed event. - [Dynamic Configuration](https://docs.zafeguard.com/examples/custody-whitelabel-solution/dynamic-config.md): Runtime configuration for a custody whitelabel — how multi-tenant policy lives in your application + the workflow canvas, how SDK constructors handle per-tenant cohort shape, and chain support extension. - [Hot Wallet](https://docs.zafeguard.com/examples/custody-whitelabel-solution/hot-wallet.md): The 24/7 server-side hot-wallet tier — ClusterAgent cluster topology, threshold choices, the ceremony-driven signing flow, policy enforcement in workflows, and the audit emission pattern. - [Regulated Design](https://docs.zafeguard.com/examples/custody-whitelabel-solution/regulated-design.md): How a Zafeguard custody whitelabel maps to the controls regulators expect — threshold MPC, documented approval flows, segregation of duties, audit emission across SDK + workflow execution + cluster audit logs, key sovereignty via self-hosted clusters, and right-to-revoke. - [Warm Wallet](https://docs.zafeguard.com/examples/custody-whitelabel-solution/warm-wallet.md): Device-side EmbeddedAgent with restricted egress and one-shot signing. The warm host generates its own share during DKG, holds no presignature pool, and opens a single cohort connection per signing request — ideal for steady-state operating volume with conservative connectivity discipline. - [Overview](https://docs.zafeguard.com/examples/embedded-wallet-solution.md): Architecture overview for shipping a non-custodial embedded wallet inside your mobile or web app using Zafeguard MPC SDK and the workflow canvas. - [Dynamic Configuration](https://docs.zafeguard.com/examples/embedded-wallet-solution/dynamic-config.md): Runtime configuration patterns for embedded wallets — how your application layer resolves per-user, per-tier, per-region signer shape and passes it to the SDK constructor without rewriting the app for each new combination. - [Key Ceremony](https://docs.zafeguard.com/examples/embedded-wallet-solution/key-ceremony.md): Run the distributed key generation ceremony, place shares across the cohort, pick a curve and recovery clause, and persist the artefacts your application needs after create() returns. - [Recovery](https://docs.zafeguard.com/examples/embedded-wallet-solution/recovery.md): Recovery for an embedded MPC wallet — the four lifecycle events, the sealed recovery bundle, restore() on a fresh device, credential rotation, and how to layer a product-level guardian flow on top of the SDK primitives. - [Signing & Pool-Backed Latency](https://docs.zafeguard.com/examples/embedded-wallet-solution/signing-offline.md): Threshold signing with the LoadedKeyShare returned by EmbeddedAgent.create — the sign() flow, the presignature pool that cuts per-sign round-trips in half, auto-refill configuration, and the export/import handoff for cold-storage workflows. - [Smart Account Flow](https://docs.zafeguard.com/examples/embedded-wallet-solution/smart-account.md): Build an embedded smart-account wallet where every end user gets a deterministic Gnosis Safe address derived from one MPC root key, lazy-deploys on first use, and pays no gas — a workflow-driven gas sponsor covers every transaction. The pattern travels from chat-app mini-apps (LINE / Telegram / Discord) to email-login dApps to in-game wallets. - [Smart Account — Lazy Deploy + Gas Sponsorship](https://docs.zafeguard.com/examples/gnosis-safe-smart-account.md): Create a Gnosis Safe smart account per user that auto-deploys on first use, with a relayer MPC key sponsoring all gas costs. - [Gasless ERC-20 Transfer with Permit2](https://docs.zafeguard.com/examples/permit2-transfer.md): Transfer ERC-20 tokens without a prior approve() transaction using a Permit2 signature signed by an MPC key. ## Guides - [Customizing Transaction Fees](https://docs.zafeguard.com/guides/fee-customization.md): How to pick a custom fee rate for UTXO chains (BTC, LTC, DOGE, DASH) and a priority fee for Solana. Covers VBytes estimation, mempool monitoring, and tradeoffs between cost and confirmation speed.