mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-02 22:04:26 +01:00
* Check chain swap addresses for unspent outputs * Monitoring expired swaps up to 4320 blocks after expiration * Refactor chain swap monitoring * Handle the error to prevent the loop exiting * Add RefundPending state * Check if RefundPendingbefore setting to Refundable * Use script_get_balance to determine spent state * Use unconfirmed balance to check if RefundPending should be reset to Refundable
breez-liquid-sdk-cli
Setup
You'll need a Testnet LN node to test the sending and receiving operations. A simple solution is using Alby's testnet nodes. Read more about Alby's test setup here.
Commands
Start the CLI with
cargo run
To set a specific network, use one of
cargo run -- --network mainnet
cargo run -- --network testnet
To specify a custom data directory, use
cargo run -- --data-dir temp-dir