lnurl-auth from lnbits wallets to services.

This commit is contained in:
fiatjaf
2020-11-10 11:36:10 -03:00
parent 8f1ae1646e
commit eaec3480e6
6 changed files with 156 additions and 38 deletions
+5
View File
@@ -44,6 +44,11 @@ window.LNbits = {
description
})
},
authLnurl: function (wallet, callback) {
return this.request('post', '/api/v1/lnurlauth', wallet.adminkey, {
callback
})
},
getWallet: function (wallet) {
return this.request('get', '/api/v1/wallet', wallet.inkey)
},