Skip to content

Commit

Permalink
docs: update usage
Browse files Browse the repository at this point in the history
update usage instructions for peerswap-swap-out
to include premium limit.
  • Loading branch information
YusukeShimizu committed Jan 6, 2025
1 parent 17b0abc commit b2386e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ A swap-out is when the initiator wants to pay a lightning payment in order to re

For CLN:
```bash
lightning-cli peerswap-swap-out [short channel id] [amount in sats] [asset: btc or lbtc]
lightning-cli peerswap-swap-out [short channel id] [amount in sats] [asset: btc or lbtc] [premium limit in sats]
```

For LND:
```bash
pscli swapout --channel-id [chan_id] --sat_amt [amount in sats] --asset [btc or lbtc]
pscli swapout --channel-id [chan_id] --sat_amt [amount in sats] --asset [btc or lbtc] --premium_limit [premium limit in sats]
```

### Swap-In
Expand Down

0 comments on commit b2386e6

Please sign in to comment.