Contents

Chapter 1

Features

This chapter covers the core features and capabilities of Crypto Payment Handler.

Features

  • Multi-chain support: Bitcoin, Ethereum, Solana, Polygon
  • Wallet address validation with regex patterns per chain
  • EIP-55 checksum verification for Ethereum addresses
  • Exchange rate locking at payment creation time
  • Payment lifecycle: pending → detected → confirming → confirmed
  • Over/underpayment detection with configurable tolerance
  • Simulated transaction confirmation tracking
  • Mock receiving address generation per chain
  • JSON file-based persistence for all payment data
  • Python stdlib only — zero dependencies

Quick Start

bash
# Run the full demo (address validation, payment creation, confirmation)
python src/crypto_payment_handler.py --action demo

# Validate a wallet address
python src/crypto_payment_handler.py --action validate-address \
    --address 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B --chain eth

# Create a $99.99 Bitcoin payment
python src/crypto_payment_handler.py --action create-payment --amount 99.99 --chain btc

# Check current exchange rates
python src/crypto_payment_handler.py --action rates

# Check payment status
python src/crypto_payment_handler.py --action check-payment --payment-id pay_abc123

# Simulate a transaction for testing
python src/crypto_payment_handler.py --action simulate-tx --payment-id pay_abc123
Chapter 2

CLI Reference

Follow this guide to get Crypto Payment Handler up and running in your environment.

CLI Reference

FlagDescription
--action, -aAction to perform (required)
--addressWallet address to validate
--chainBlockchain: btc, eth, sol, matic (default: btc)
--amountPayment amount in fiat currency
--currencyFiat currency code (default: usd)
--payment-idPayment ID for status check or simulation
--data-dirData storage directory (default: ./crypto_data)
--verbose, -vEnable debug logging

Supported Chains

ChainSymbolConfirmationsBlock Time
BitcoinBTC6~10 min
EthereumETH12~12 sec
SolanaSOL31~0.4 sec
PolygonMATIC128~2 sec
Chapter 3
🔒 Available in full product

Configuration

You’ve reached the end of the free preview

Get the full Crypto Payment Handler and unlock everything.

All Chapters

Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.

Full Tool Suite

Access all interactive tools with complete data, all workload profiles, and the full scenario library.

Source Files

Downloadable source code, configuration files, and working examples from every chapter.

Lifetime Updates

Free updates for life. Every new chapter, tool, and improvement included.

Buy Now — $29 →
📦 Free sample included — download another copy for the full product.
Crypto Payment Handler v1.0.0 — Free Preview