How urriki1502/wam-sdk works
WAM SDK is a typed Python client for chain-pinned node and wallet operations. An application configures a client, checks node and wallet readiness, then reads balance, creates a payment request, sends funds, or observes receipts; PaymentTracker adds freshness and reorg-review state for fulfillment decisions. Exact Amount values and typed payment models support these operations, while Transport handles bounded loopback JSON-RPC. The README is empty and only selected sources were inspected, so links to configuration, models, and privacy behavior follow the module names and documented package capabilities; the devtools test harness is excluded.
Components 11
Application API
- WAM Client
- Configuration
Wallet Payments
- Wallet Operations
- Payment Tracker
- Payment Models
RPC Boundary
- RPC Transport
Shared Types
- Exact Amounts
- Privacy Controls
- Safe Errors
Other components
- Application
- WAM Node
Connections 12
- Application → WAM Client: configures and calls
- WAM Client → Configuration: reads settings
- WAM Client → RPC Transport: issues RPCs
- Wallet Operations → WAM Client: checks readiness
- Wallet Operations → RPC Transport: issues wallet RPCs
- Wallet Operations → Exact Amounts: converts values
- Wallet Operations → Payment Models: builds receipts
- Payment Tracker → Wallet Operations: refreshes observations
- Payment Tracker → Payment Models: tracks receipt
- RPC Transport → Configuration: uses endpoint and auth
- RPC Transport → WAM Node: sends JSON-RPC
- WAM Node → RPC Transport: returns RPC response