Add sendpayment
calls to SwapClient
#1118
Labels
command line (CLI)
Relating to the command line interface tools
enhancement
New feature or request
good first issue
Good for newcomers
grpc
gRPC API
hackathon
Lightning HackSprint
P3
low priority
Since we can expect users wanting to send regular lightning/raiden payments and L2 payment calls are not easy to use/learn (e.g. on raiden) we want to expose them in a simplified manner via xud's grpc and CLI as well:
Add to SwapClient interface, implement for LNDClient only (for now):
pay <Invoice>
LND Call: https://api.lightning.community/#sendpaymentsync
send <amount> <currency> <XudPubKey/LndPubKey/0xAddress>
LND Call: EDIT: available as
--keysend
in https://api.lightning.community/#sendpayment (even though I couldn't make it work in some tests)The text was updated successfully, but these errors were encountered: