{"id":16561579,"url":"https://github.com/bitmaker-hub/nanolnpos","last_synced_at":"2026-04-19T00:03:23.480Z","repository":{"id":88825993,"uuid":"540361972","full_name":"BitMaker-hub/nanoLNPoS","owner":"BitMaker-hub","description":"Light version of LNBits/LNPos","archived":false,"fork":false,"pushed_at":"2022-09-23T09:18:35.000Z","size":25635,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T14:41:54.966Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/BitMaker-hub.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":"2022-09-23T09:10:29.000Z","updated_at":"2024-03-14T19:11:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb6bf7d2-0a18-45b0-959c-a65c0f770764","html_url":"https://github.com/BitMaker-hub/nanoLNPoS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitMaker-hub%2FnanoLNPoS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitMaker-hub%2FnanoLNPoS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitMaker-hub%2FnanoLNPoS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitMaker-hub%2FnanoLNPoS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BitMaker-hub","download_url":"https://codeload.github.com/BitMaker-hub/nanoLNPoS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241966985,"owners_count":20050324,"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-10-11T20:33:37.128Z","updated_at":"2025-12-04T06:06:04.081Z","avatar_url":"https://github.com/BitMaker-hub.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"images/tdisplay.png?raw=true\"\u003e\n\n\u003ch1\u003e\nnanoLNPoS\n\u003c/h1\u003e\n\n## Light version of LNBits/LNPoS original code there\n## Free and open-source bitcoin point-of-sale\n\nMajor changes:\n- Without config webbrowser portal\n\nLNPoS includes:\n\n- LNPoS (for online LN payments, original \u003ca href=\"https://github.com/arcbtc/LNPoS\"\u003eproject\u003c/a\u003e)\n- LNURLPoS (for offline LN payments, original \u003ca href=\"https://github.com/arcbtc/LNURLPoS\"\u003eproject\u003c/a\u003e )\n- OnChain (for onchain payments)\n- LNURLATM (for making offline LN withdraw links).\n  \u003cbr\u003e\u003c/br\u003e\n\nOriginal \u003ca href=\"https://twitter.com/arcbtc/status/1484942260013838336\"\u003edemo\u003c/a\u003e\n\nVideo tutorial \u003ca href=\"https://www.youtube.com/watch?v=rOmO3GhsPts\"\u003ehttps://www.youtube.com/watch?v=rOmO3GhsPts\u003c/a\u003e\n\nAssembling case, battery and keypad hat \u003ca href=\"https://www.youtube.com/watch?v=oVwm95j3NXk\"\u003ehttps://www.youtube.com/watch?v=oVwm95j3NXk\u003c/a\u003e\n\nJoin our telegram group \u003ca href=\"https://t.me/makerbits\"\u003eMakerBits\u003c/a\u003e\n\n\u003ch2\u003e\nConfiguring\n\u003c/h2\u003e\n\n\u003e Press/hold any button on the keypad during startup for TDisplay, or any top button on M5Stack during logo screen, to trigger access portal.\n\u003e Default password is \"ToTheMoon1\" (without the quotes)\n\n### LNPoS – Online Lightning Network payments\n\nInvoices are generated and checked from LNbits install.\n\n#### Setting up\n\nLaunch portal and enter an LNbits endpoint (ie.legend.lnbits.com), invoice key, and a fiat currency to make things easier for product pricing.\n\n\u003cimg src=\"images/lnpos.png?raw=true\" width=\"75%\"\u003e\n\n### LNURLPoS – Offline Lightning Network payments\n\nA random pin generated on the device is encrypted and passed trough the payee. When the payment has been made the unencrypted pin is sent as a receipt. This function makes use of LNURL-pay protocol. Uses LNbits LNURLDevice extension.\n\n#### Setting up\n\nLaunch portal and enter the string from the LNURLDevice extension on LNbits\n\n\u003cimg src=\"images/lnurlpos.png?raw=true\" width=\"75%\"\u003e\n\n### OnChain – Generate fresh addresses using an xPub\n\nUse an xPub to generate a fresh address for every payment. Useful for large purchases. Includes a mempool.space QR so the payment can be verified.\n\n#### Setting up\n\nLaunch portal and enter BIP39 xPub and a pin, to make the function secure.\n\n\u003cimg src=\"images/onchain.png?raw=true\" width=\"75%\"\u003e\n\n### LNURLATM – Meatbag ATM, give refunds, accept cash for sats.\n\nCreate withdraw/faucet links. Uses more-or-les. This function makes use of LNURL-withdraw protocol. Uses LNbits LNURLDevice extension.\n\n#### Setting up\n\nLaunch portal and enter the string from the LNURLDevice extension on LNbits\n\n\u003cimg src=\"images/lnurlatm.png?raw=true\" width=\"75%\"\u003e\n\n\u003cbr\u003e\u003c/br\u003e\n\nPurchasing:\n- The Lilygo \u003ca href=\"https://www.aliexpress.com/item/33048962331.html\"\u003eTdisplay\u003c/a\u003e is a cheap and small ESP32/screen development board.\n- You can either attach a \u003ca href=\"https://www.aliexpress.com/item/32993999306.html\"\u003ekeypad membrane\u003c/a\u003e or use the \u003ca href=\"https://www.aliexpress.com/item/1005003589706292.html\"\u003ebreakout board\u003c/a\u003e Lilygo specifically made for the LNURLPoS!\n- Any 3.7V lithium iron flat battery with 1.25mm JST connector should be fine. Go for at least 1000 mAh. If you want the battery to fit inside the \u003ca href=\"https://www.aliexpress.com/item/1005003589706292.html\"\u003ebreakout board\u003c/a\u003e, max. dimensions are 40x52x11mm. Example \u003ca href=\"https://aliexpress.com/item/32948764265.html\"\u003e1100 mAh 3.7V battery\u003c/a\u003e.\n\nSoftware installation:\n- Install \u003ca href=\"https://www.arduino.cc/en/software\"\u003eArduino IDE 1.8.19\u003c/a\u003e\n- Install ESP32 boards, using \u003ca href=\"https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#installing-using-boards-manager\"\u003eboards manager\u003c/a\u003e\n- Role back ESP32 boards to 2.0.1 in boards manager\n![image](https://user-images.githubusercontent.com/33088785/161862832-1269a12e-16ce-427c-9a92-df3ee573a1fb.png)\n\n- Download this repo\n- Copy these \u003ca href=\"libraries\"\u003elibraries\u003c/a\u003e into your Arduino install \"libraries\" folder\n- Open this \u003ca href=\"LNPoSTdisplay.ino\"\u003eLNPoSTdisplay.ino\u003c/a\u003e file in the Arduino IDE\n- Select \"TTGO-LoRa32-OLED-V1\" from tools\u003eboard\n- Upload to device\n\n\u003e Press/hold any button on the keypad during startup to launch portal.\n\u003e Default password is \"ToTheMoon1\" (without the quotes)\n\n\u003e _Note: If using MacOS, you will need the CP210x USB to UART Bridge VCP Drivers available here https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers_\n\u003e If you are using **MacOS Big Sur or an Mac with M1 chip**, you might encounter the issue `A fatal error occurred: Failed to write to target RAM (result was 0107)`, this is related to the chipsest used by TTGO, you can find the correct driver and more info in this \u003ca href=\"https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800/issues/139#issuecomment-904390716\"\u003eGitHub issue\u003c/a\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitmaker-hub%2Fnanolnpos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitmaker-hub%2Fnanolnpos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitmaker-hub%2Fnanolnpos/lists"}