Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 387 Bytes

File metadata and controls

5 lines (3 loc) · 387 Bytes

WalletKit Agent Guidelines

UniFFI Naming

Never name a UniFFI-exported method to_string. UniFFI maps Rust's to_string to Kotlin's toString, which conflicts with Any.toString() and causes a compilation error ('toString' hides member of supertype 'Any' and needs 'override' modifier). Use a descriptive name instead (e.g., to_hex_string, to_decimal_string, to_json).