/** * Algorand Chain Adapter * * Builds Algorand transactions using MessagePack serialization, * attaches Ed25519 signatures from the FROST threshold signing * network, and broadcasts via Algod API. * * Note: Algorand Ed25519 signs the raw bytes ("TX" prefix + msgpack), * NOT a hash of them. * * Requires: npm install algosdk */ import { ChainAdapter, AlgorandTransaction } from '../core/types'; export declare class AlgorandAdapter implements ChainAdapter { private rpcUrl; private network; private algosdk; private client; constructor(network?: 'mainnet' | 'testnet', rpcUrl?: string); getRpcUrl(): string; /** * Build an unsigned Algorand payment transaction. * * The signing payload is "TX" + MessagePack-encoded transaction. * Algorand signs the RAW BYTES directly (not a hash). */ buildTransaction(tx: AlgorandTransaction, fromAddress: string): Promise; getSigningPayload(unsignedTx: string): string; /** * Attach an Ed25519 signature to the Algorand transaction */ attachSignature(unsignedTx: string, signature: string): Promise; /** * Broadcast a signed Algorand transaction */ broadcast(signedTx: string): Promise; /** * Get ALGO balance in microAlgos */ getBalance(address: string): Promise; } export declare function createAlgorandAdapter(rpcUrl?: string): AlgorandAdapter; export declare function createAlgorandTestnetAdapter(rpcUrl?: string): AlgorandAdapter; //# sourceMappingURL=algorand.d.ts.map