author: akumaigorodski
Hosted channel request
Wallet to service interaction flow:
-
User scans a LNURL QR code or accesses an
lightning:LNURL..link withLN WALLETandLN WALLETdecodes LNURL. -
LN WALLETmakes a GET request toLN SERVICEusing the decoded LNURL. -
LN WALLETgets JSON response fromLN SERVICEof form:or -
LN WALLETopens a connection to the target node usingurifield. -
Once connected,
LN WALLETsends anInvokeHostedChannelmessage to the target node usingk1converted to byte array. - The rest is handled by hosted channel protocol.