Skip to content

[Enhancement] Integrate bdk-floresta as a chain source #699

Description

@4xvgal

Describe the enhancement
Add FlorestaChainSource that uses the bdk-floresta FFI bridge for blockchain data, transaction broadcast, and fee estimation.

Depends on:

Responsibilities:

class FlorestaChainSource implements ChainSource {
  Future<List<Utxo>> getUtxos(ScriptPubKey script);
  Future<List<Tx>> getHistory(ScriptPubKey script);
  Future<String> broadcast(String txHex);
  Future<int> getBlockHeight();
  Future<FeeEstimate> getFeeEstimate();
}
Use case
Once this lands, coconut_wallet can run a lightweight full node locally without a remote Electrum server.
Additional context
- Descriptor registration, scanning, and rescan should run in the isolate layer.
- Electrum integration should remain as a fallback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions