[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=2
at the end ofconfig.txt
in theboot
partition.- 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-config
folder in the boot partition. And create a filesettings.ini
with 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.cert
andinvoice.macaroon
in thebtc-register-config
folder. -
Insert the SD Card, boot it, and login. Your default user/pass is
pi
/raspberry
. -
sudo raspi-config
and set the following.Change User Password
Localization 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 Timezone
Localisation 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
LICENSE
file - This project uses open source components.
- Open source UI framework
- Licensed under the MIT License
- [link]
- Icons under
assets/open_iconic
directory - Licensed under the MIT License
- [link]