Skip to content

lnbits/nostr-signing-device

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIY Nostr signing device (powered by uBitcoin)

For use with https://github.com/fiatjaf/horse. Chrome Extension here

Join us t.me/nostr_protocol, t.me/lnbits, t.me/makerbits

This very cheap off the shelf nostr signing device is designed to work with Lilygos Tdisplay, but you can easily make work with any ESP32.

Data is sent to/from the Signing Device over webdev Serial, not the most secure data transmission method, but x1000 better than storing the privatekey on a computer. Clients could support sending to the device directly, but using is Nos2X is far more convenient.

Install instructions

  • Flash the nostr-signing firmware directly from the browser using the installer

Build instructions

  • Buy a Lilygo Tdisplay (although with a little tinkering any ESP32 will do)
  • Install Arduino IDE 1.8.19
  • Install ESP32 boards, using boards manager
  • Download this repo
  • Copy these libraries into your Arduino install "libraries" folder
  • Open this snsd.ino file in the Arduino IDE
  • Select "TTGO-LoRa32-OLED-V1" from tools>board
  • Upload to device

How to use

// Guide to go here

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 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 chipset used by TTGO, you can find the correct driver and more info in this GitHub issue