{"id":13666738,"url":"https://github.com/lnbits/withdraw","last_synced_at":"2025-06-15T08:32:49.548Z","repository":{"id":73758155,"uuid":"602662556","full_name":"lnbits/withdraw","owner":"lnbits","description":"LNbits Withdraw Extension","archived":false,"fork":false,"pushed_at":"2024-10-29T12:39:50.000Z","size":1073,"stargazers_count":6,"open_issues_count":11,"forks_count":10,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-10-29T15:10:05.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lnbits.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-16T17:23:02.000Z","updated_at":"2024-09-03T20:13:55.000Z","dependencies_parsed_at":"2024-02-02T21:27:59.417Z","dependency_job_id":"8b14104c-57ff-449b-ac91-15ca518ed8b9","html_url":"https://github.com/lnbits/withdraw","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fwithdraw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fwithdraw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fwithdraw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fwithdraw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnbits","download_url":"https://codeload.github.com/lnbits/withdraw/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241567297,"owners_count":19983466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T06:01:24.350Z","updated_at":"2025-03-02T20:28:58.723Z","avatar_url":"https://github.com/lnbits.png","language":"Python","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# LNURLw - \u003csmall\u003e[LNbits](https://github.com/lnbits/lnbits) extension\u003c/small\u003e\n\n\u003csmall\u003eFor more about LNBits extension check [this tutorial](https://github.com/lnbits/lnbits/wiki/LNbits-Extensions)\u003c/small\u003e\n\n## Create a static QR code people can use to withdraw funds from a Lightning Network wallet\n\nLNURL is a range of lightning-network standards that allow us to use lightning-network differently. An LNURL withdraw is the permission for someone to pull a certain amount of funds from a lightning wallet.\n\nThe most common use case for an LNURL withdraw is a faucet, although it is a very powerful technology, with much further reaching implications. For example, an LNURL withdraw could be minted to pay for a subscription service. Or you can have a LNURLw as an offline Lightning wallet (a pre paid \"card\"), you use to pay for something without having to even reach your smartphone.\n\nLNURL withdraw is a **very powerful tool** and should not have his use limited to just faucet applications. With LNURL withdraw, you have the ability to give someone the right to spend a range, once or multiple times. **This functionality has not existed in money before**.\n\n[**Wallets supporting LNURL**](https://github.com/fiatjaf/awesome-lnurl#wallets)\n\n## Usage\n\n#### Quick Vouchers\n\nLNbits Quick Vouchers allows you to easily create a batch of LNURLw's QR codes that you can print and distribute as rewards, onboarding people into Lightning Network, gifts, etc...\n\n1. Create Quick Vouchers\\\n   ![quick vouchers](https://i.imgur.com/IUfwdQz.jpg)\n   - select wallet\n   - set the amount each voucher will allow someone to withdraw\n   - set the amount of vouchers you want to create - _have in mind you need to have a balance on the wallet that supports the amount \\* number of vouchers_\n2. You can now print, share, display your LNURLw links or QR codes\\\n   ![lnurlw created](https://i.imgur.com/X00twiX.jpg)\n   - on details you can print the vouchers\\\n     ![printable vouchers](https://i.imgur.com/2xLHbob.jpg)\n   - every printed LNURLw QR code is unique, it can only be used once\n3. Bonus: you can use an LNbits themed voucher, or use a custom one. There's a _template.svg_ file in `static/images` folder if you want to create your own.\\\n   ![voucher](https://i.imgur.com/qyQoHi3.jpg)\n\n#### Advanced\n\n1. Create the Advanced LNURLw\\\n   ![create advanced lnurlw](https://i.imgur.com/OR0f885.jpg)\n   - set the wallet\n   - set a title for the LNURLw (it will show up in users wallet)\n   - define the minimum and maximum a user can withdraw, if you want a fixed amount set them both to an equal value\n   - set how many times can the LNURLw be scanned, if it's a one time use or it can be scanned 100 times\n   - LNbits has the \"_Time between withdraws_\" setting, you can define how long the LNURLw will be unavailable between scans\n   - you can set the time in _seconds, minutes or hours_\n   - the \"_Use unique withdraw QR..._\" reduces the chance of your LNURL withdraw being exploited and depleted by one person, by generating a new QR code every time it's scanned\n2. Print, share or display your LNURLw link or it's QR code\\\n   ![lnurlw created](https://i.imgur.com/X00twiX.jpg)\n\n**LNbits bonus:** If a user doesn't have a Lightning Network wallet and scans the LNURLw QR code with their smartphone camera, or a QR scanner app, they can follow the link provided to claim their satoshis and get an instant LNbits wallet!\n\n![](https://i.imgur.com/2zZ7mi8.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnbits%2Fwithdraw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnbits%2Fwithdraw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnbits%2Fwithdraw/lists"}