Setting up the Nostr signing device
Flashing the signing device means downloading LNbits' nostr-signing-device code, copying its libraries into Arduino's, and uploading its snsd.ino sketch to the board from the Arduino IDE. When it works, the board shows the LNbits welcome screen.
Step 1: Get the code and its libraries
Step 1 downloads the firmware and the libraries it needs:
git clone https://github.com/lnbits/nostr-signing-device.git
cd nostr-signing-device/libraries
cp -r . ~/Arduino/libraries
The ~/Arduino/libraries folder should be empty if you have just installed Arduino.
Step 2: Upload the firmware
Step 2 puts it on the board. Plug the device in by USB, then in the Arduino IDE:
- Choose the device's serial port under
Tools,Port(for example/dev/ttyACM0). - Open
snsd.inofrom thenostr-signing-device/snsd/folder withFile,Open. - Click the Upload button, the right-facing arrow in the toolbar.
Step 3: Check it started
Step 3 confirms it worked. If the upload finishes without errors, the display shows the LNbits welcome screen.
