clear-signing
ERC-7730 v2 clear-signing library for Rust. Decodes and formats Ethereum contract calldata and EIP-712 typed data into human-readable display models for wallets and signers.
Install
Optional features:
uniffi— UniFFI export layer for cross-language bindings (Swift, Kotlin)github-registry— async HTTP descriptor source backed by a GitHub-hosted registry
Usage
use ;
let tx = TransactionContext ;
let provider = EmptyDataProvider;
let descriptors = resolve_descriptors_for_tx.await?;
let outcome = format_calldata.await?;
Full API documentation: https://docs.rs/clear-signing.
What's in the GitHub repo
This crate is the Rust core. The main repository also ships:
- A Swift Package + XCFramework for iOS
- An Android Kotlin AAR (UniFFI bindings)
- A SwiftUI sample wallet demonstrating WalletConnect + clear signing
- Integration guides
Spec
Implements ERC-7730 v2.
License
Dual-licensed under MIT or Apache-2.0, at your option.