[English] [日本語]
A register which accepts Bitcoin Lightning Network payment.
- LND node for Lightning Network payment
- v0.5.2-beta or newer
- REST connection must be enabled. (e.g.
lnd --restlisten=0.0.0.0:10443)
- Raspberry Pi
- Raspberry Pi Official Touch Display
- (Optional) HDMI Display
- Keyboard
-
Download Raspbian Stretch Lite from Raspberry Pi Official site and install it.
-
To use the official display upside down, write
lcd_rotate=2at the end ofconfig.txtin thebootpartition.- If you want to use an HDMI display and you need to set the resolution in
config.txt, you can do it now.
- If you want to use an HDMI display and you need to set the resolution in
-
Create a
btc-register-configfolder in the boot partition. And create a filesettings.iniwith the following text.[app] shop_name = {Your Shop's Name} [lnd] url = https://{your-lnd-node}:{port}- Do not add
{}. - {port} is the rest listening port. If you did
--restlisten=0.0.0.0:10443, {port} is10443.
- Do not add
-
Put LND's
tls.certandinvoice.macaroonin thebtc-register-configfolder. -
Insert the SD Card, boot it, and login. Your default user/pass is
pi/raspberry. -
sudo raspi-configand set the following.Change User PasswordLocalization Options>Change Locale- Note 1: Select locale by space key.
- Note 2: To press OK button, you need to press the tab key.
- Select
{your_locale}.UTF-8.
Localisation Options>Change TimezoneLocalisation Options>Change Keyboard Layout- When connecting with WiFi,
Network Options>Wi-fi - For automatic login,
Boot Options>Desktop / CLI>Console Autologin
-
Run the following commands.
git clone https://github.com/ryomo/btc-register.git cd btc-register ./install.sh -
Wait about 30 to 60 minutes.
- Automatically restart after completion, and the app starts.
- For conversion from fiat when paying by bitcoin, decimal places are rounded off.
- Keyboard is not supported in this app for now.
- Input is going to be duplicated.
- Keyboard input passes to background terminal.
- This project is under the MIT License. # TODO: Add
LICENSEfile - This project uses open source components.
- Open source UI framework
- Licensed under the MIT License
- [link]
- Icons under
assets/open_iconicdirectory - Licensed under the MIT License
- [link]
