blob: 76a7cebef20df1f3a5fabf4538712c4eac4ba66c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// A site's login lnurl (LNURL-auth) pasted into Send is a login, not a
// payment: the wallet asks first, naming the site, then signs the challenge
// and tells the site; the site's refusal is shown as its own words. Against
// a stand-in login server that checks the signature the way a real one does.
// Run: bun tools/lnurl-auth-test.js
import
|