Skip to main content
Skip to main content

Setting up the Nostr Signing Device

Clone the GitHub repository:โ€‹

Open a terminal and run:

git clone https://github.com/lnbits/nostr-signing-device.git

Copy Required Librariesโ€‹

Navigate to the libraries folder:

cd nostr-signing-device/libraries

Copy all the files in this folder and paste them into the Arduino/libraries directory (which should be empty if you just installed Arduino).

cp -r . ~/Arduino/libraries

Connect Your Nostr Signing Device (NSD)โ€‹

Plug in your device via USB.

Upload the Firmware Using Arduino IDEโ€‹

  • Open Arduino IDE.
  • Go to Tools โ†’ Port and select the correct serial port (e.g., /dev/ttyACM0).
  • Click File โ†’ Open, then select snsd.ino from the nostr-signing-device/snsd/ folder.
  • Click the Upload button (right-facing arrow in the toolbar).

Verify Installationโ€‹

If the upload completes without errors, your NSD is ready! You should see the LNbits welcome screen on the display.

Nsd