mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-29 20:04:30 +01:00
31 lines
648 B
Markdown
31 lines
648 B
Markdown
# breez-sdk-liquid-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](https://thunderhub.regtest.getalby.com). Read more about Alby's test setup [here](https://github.com/getAlby/lightning-browser-extension/wiki/Test-setup).
|
|
|
|
## Commands
|
|
|
|
Start the CLI with
|
|
|
|
```bash
|
|
cargo run
|
|
```
|
|
|
|
To specify a custom data directory, use
|
|
|
|
```bash
|
|
cargo run -- --data-dir temp-dir
|
|
```
|
|
|
|
To set a custom log level, use
|
|
|
|
```bash
|
|
RUST_LOG=info|debug|warn cargo run
|
|
```
|
|
|
|
To specify a file to pipe logs to, use
|
|
```bash
|
|
RUST_LOG=info|debug|warn cargo run -- --log-file /tmp/log
|
|
```
|