/** * Ripple/XRP Chain Adapter * * Builds XRP Ledger transactions, attaches secp256k1 ECDSA signatures * from the FROST threshold signing network, and broadcasts via XRPL API. * * Requires: npm install xrpl */ import { ChainAdapter, RippleTransaction } from '../core/types'; export declare class RippleAdapter implements ChainAdapter { private rpcUrl; private network; private xrpl; constructor(network?: 'mainnet' | 'testnet' | 'devnet', rpcUrl?: string); getRpcUrl(): string; /** * Build an unsigned XRP payment transaction. * * XRP uses a custom binary format. The signing payload is computed * via encodeForSigning() which prepends a hash prefix. FROST signs * SHA-512Half (first 32 bytes of SHA-512) of the encoded bytes. */ buildTransaction(tx: RippleTransaction, fromAddress: string): Promise; getSigningPayload(unsignedTx: string): string; /** * Attach a secp256k1 ECDSA signature to the XRP transaction. * XRP uses DER-encoded signatures in the TxnSignature field. */ attachSignature(unsignedTx: string, signature: string): Promise; /** * Broadcast a signed XRP transaction */ broadcast(signedTx: string): Promise; /** * Get XRP balance in drops */ getBalance(address: string): Promise; } export declare function createRippleAdapter(rpcUrl?: string): RippleAdapter; export declare function createRippleTestnetAdapter(rpcUrl?: string): RippleAdapter; //# sourceMappingURL=ripple.d.ts.map