CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
🌙☀️
Log inStart free
Home/Templates/Blockchain & Web3

⛓️ Blockchain & Web3 · Sequence

Crypto Withdrawal Sequence

How an exchange processes a crypto withdrawal safely: balance hold, 2FA, risk and address screening, signing, broadcast and confirmations.

More Blockchain & Web3 templates

Drawing diagram…

What this diagram shows

  • Funds are held first so they can't be spent twice
  • Addresses are screened against sanctions lists
  • The withdrawal completes after enough block confirmations

Prompt used

Crypto withdrawal: the user requests a withdrawal of 0.5 ETH to an address and confirms with 2FA. The wallet service asks the ledger to hold the amount, asks compliance to screen the address, signs the transaction with the hot wallet signer (HSM), broadcasts it to an Ethereum node and waits for 12 confirmations, then marks the withdrawal complete and releases the hold as spent.

Mermaid code
sequenceDiagram
  actor U as User
  participant W as Wallet Service
  participant L as Ledger
  participant C as Compliance
  participant S as HSM Signer
  participant N as Ethereum Node
  U->>W: Withdraw 0.5 ETH to address, with 2FA code
  W->>L: Hold 0.5 ETH
  L-->>W: Held
  W->>C: Screen address and amount
  C-->>W: Cleared
  W->>S: Sign transaction
  S-->>W: Signed transaction
  W->>N: Broadcast
  N-->>W: Transaction hash
  loop Until 12 confirmations
    W->>N: Check confirmations
  end
  W->>L: Mark hold as spent
  W-->>U: Withdrawal complete

Related templates

C4 ArchitectureProBlockchain & Web3

Crypto Exchange Architecture

The main parts of a centralised crypto exchange: a matching engine, wallets split between hot and cold storage, deposits and withdrawals, and compliance checks.

C4 ArchitectureProBlockchain & Web3

NFT Marketplace

How an NFT marketplace works: listings signed off-chain, metadata on IPFS, and sales settled by a marketplace smart contract.

FlowchartBlockchain & Web3

Smart Contract Upgrade Process

How a team safely upgrades a smart contract behind a proxy: audit, testnet rehearsal, multi-signature approval and a timelock before the change goes live.

State MachineBlockchain & Web3

Blockchain Transaction States

The states a blockchain transaction goes through from signing to final confirmation, including replacement and dropped transactions.

NetworkBlockchain & Web3

Hot and Cold Wallet Custody

How a custodian separates internet-connected hot wallets from offline cold storage, with signing hardware and an air-gapped transfer process.

DeploymentProBlockchain & Web3

Web3 dApp Deployment

Where a decentralised app's parts run: frontend on IPFS, contracts on a layer-2 chain, and supporting services like RPC providers and an indexer.