When EVM Defaults Break: Three SDK Patterns for UTXO-Family Wallets
Hanzheng Zhang, Hongzhou Chen
Key points
From the paper's conclusion- Using CKBers' Codebase (CCC), a TypeScript SDK, this retrospective case study extracts three recurring patterns from release history and exported APIs: a Transaction Composer that makes capacity-aware input completion and fee estimation declarative, a Unified Signer Abstraction that normalizes signing across heterogeneous wallets behind one interface, and a Connector UI component that ships per-wa
Abstract
Mainstream Web3 SDKs (e.g., ethers.js, viem) bundle three coupled assumptions: an account-based ledger, a single secp256k1 signer, and input-selection-free transaction construction. These assumptions fail once a chain adopts an extended-UTXO model (here, the Cell model on Nervos CKB), and once the wallet population spans heterogeneous cryptographic primitives (secp256k1, WebAuthn, Schnorr). Using CKBers' Codebase (CCC), a TypeScript SDK, this retrospective case study extracts three recurring patterns from release history and exported APIs: a Transaction Composer that makes capacity-aware input completion and fee estimation declarative, a Unified Signer Abstraction that normalizes signing across heterogeneous wallets behind one interface, and a Connector UI component that ships per-wallet onboarding as a drop-in. The contribution is the articulation of these patterns as transferable design lessons for SDKs targeting UTXO-family ledgers and heterogeneous wallet populations.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- UniPCH: A Unified Framework for Cross-Chain Payments via Payment Channel HubsarXiv · 2026
- Staged Multi-step UTXO Workflows via Recursive InvariantsProceedings of the ACM on Programming Languages · 2026
- An EVM-Cosmos Bridge for Atomic, Semantic-Preserving Transfer of Environmental TokensarXiv · 2026
- QuarkShard: Decomposing Cross-Shard Requests into Single-Input TransactionsarXiv · 2026
- Exploiting Ethereum Rollback Semantics: Profit-Driven Attack Synthesis and Off-Chain Misinterpretation TestingProceedings of the ACM on Software Engineering · 2026
- Atomic Cross-L2 Transactions: Coordination Theory and Interlock ProtocolDistributed Ledger Technologies: Research and Practice · 2026