Skip to content

Module BSV::Wallet::WalletWire

Abstract binary transport for BRC-103 wallet communication.

Include this module and implement {#transmit_to_wallet} to provide a concrete transport (e.g. HTTP, in-process loopback, Unix socket).

Public Instance Methods

transmit_to_wallet(message)

Transmit a binary request frame to the wallet and return the binary result frame. - @param message [String] binary request frame (ASCII-8BIT) - @raise [NotImplementedError] unless overridden by the including class - @return [String] binary result frame (ASCII-8BIT)