Learn-by-doing / lightning-extension

A browser extension that let's you make payments directly to websites via the Lightning Network
GNU Affero General Public License v3.0
7 stars 5 forks source link

[screens] - Payment Requested #2

Open chill117 opened 5 years ago

chill117 commented 5 years ago

04-payment-requested

karliatto commented 5 years ago

It takes a payment request that looks like:

lnsb1u1pdlhantpp5m8jd5hzf5kt3vjn8wys9jhe345uhlpd8rdw9tkzpvfcmwjvvgw7sdp02pshjmt9de6zqen0wgsxcctnwssxu6t8dp6zqerfdehx2uscqzys7584qr9rks9dgfx9pztuvrxu4cwz0unsaf5dt8vpj8jce9qus2sy56gaca8szs2d5k9eku5fzgwqxxj4zl4g7sm99wjxt66u3lh0fgcp4srnr5

When decoded using lncli decodepayreq <pay_req> is:

{
    "destination": "035bb2010397aba573a7aa6bc3b4bbba202f3528a5cb645f953892d2f2f3c4c848",
    "payment_hash": "d9e4da5c49a597164a677120595f31ad397f85a71b5c55d8416271b7498c43bd",
    "num_satoshis": "100",
    "timestamp": "1543239275",
    "expiry": "3600",
    "description": "Payment for last night dinner",
    "description_hash": "",
    "fallback_addr": "",
    "cltv_expiry": "144",
    "route_hints": [
    ]
}