Skip to content

Commit

Permalink
fixup! premium: enable flexible settings with bbolt db
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeShimizu committed Feb 12, 2025
1 parent 93754ea commit 8dc4bce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ To get the default premium rate, use the following command:

For CLN:
```bash
lightning-cli peerswap-getdefaultpremiumrate --asset [btc|lbtc] --operation [swap_in|swap_out]
lightning-cli peerswap-getdefaultpremiumrate [btc|lbtc] [swap_in|swap_out]
```

For LND:
Expand All @@ -119,7 +119,7 @@ To set the default premium rate, use the following command:

For CLN:
```bash
lightning-cli peerswap-setdefaultpremiumrate --asset [btc|lbtc] --operation [swap_in|swap_out] --rate [premium_rate_ppm]
lightning-cli peerswap-setdefaultpremiumrate [btc|lbtc] [swap_in|swap_out] [premium_rate_ppm]
```

For LND:
Expand All @@ -133,7 +133,7 @@ To get the premium rate for a specific peer, use the following command:

For CLN:
```bash
lightning-cli peerswap-getpremiumrate --node_id [peer_id] --asset [BTC|LBTC] --operation [SWAP_IN|SWAP_OUT]
lightning-cli peerswap-getpremiumrate [peer_id] [BTC|LBTC] [SWAP_IN|SWAP_OUT]
```

For LND:
Expand All @@ -147,7 +147,7 @@ To set the premium rate for a specific peer, use the following command:

For CLN:
```bash
lightning-cli peerswap-setpremiumrate --node_id [peer_id] --asset [BTC|LBTC] --operation [SWAP_IN|SWAP_OUT] --rate [premium_rate_ppm]
lightning-cli peerswap-setpremiumrate [peer_id] [BTC|LBTC] [SWAP_IN|SWAP_OUT] [premium_rate_ppm]
```

For LND:
Expand Down

0 comments on commit 8dc4bce

Please sign in to comment.