Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LN payment processing device (aka "The Box") #1

Open
nolim1t opened this issue Aug 10, 2018 · 9 comments
Open

LN payment processing device (aka "The Box") #1

nolim1t opened this issue Aug 10, 2018 · 9 comments
Labels
BUIDL Ideas for things that can be build ideas Suggestions for things to build/research/discuss during events

Comments

@nolim1t
Copy link
Member

nolim1t commented Aug 10, 2018

Just a rehash from our Keep document

Description

We build a device that runs Bitcoin/Tor(?)/LN nodes and presents a UI to select a product, connect to it (LN-connstring), displays QR code of an invoice to pay, and shows payment confirmation.

Needed:

  • Raspberry Pi - @meeDamian brings 2-3 (@AnotherDroog can bring a couple more if needed)
  • Raspberry Pi Power Brick - @meeDamian can bring 1, would be good to have two more (@AnotherDroog can bring a couple more)
  • display - Damian brings e-paper one (https://www.waveshare.com/2.7inch-e-Paper-HAT-B.htm ) - any other welcome too :)
  • micro SD storage cards - @meeDamian will same # as RBPs
  • USB sticks for RAM - @meeDamian will bring
  • HDD with 250GB+ - if we want to run the node on a mainnet too, I (@meeDamian ) can (probably) try bringing a copy of a full blockchain, but I don't have a spare HDD I can commit to it, so anyone is welcome to bring one (@AnotherDroog has a spare USB HDD and can populate with blockchain)

Comments

  • The raspberry Pi powered ln payment processor sounds like a cool idea 💡 @nolim1t
@nolim1t nolim1t added learn | discuss Mostly theoretical, good for non-devs too and removed learn | discuss Mostly theoretical, good for non-devs too labels Aug 10, 2018
@nolim1t
Copy link
Member Author

nolim1t commented Aug 10, 2018

Also needs to be able to connect to different exchanges to fetch data. I've got some node.js libraries

@meeDamian
Copy link
Member

@nolim1t I think it would be waaaay beyond the scope of this project. Let's keep it simple:

  • interface displays available products,
  • upon confirmation displays a LN invoice,
  • upon successful payment displays success screen,
  • upon invoice expiry/cancellation displays failure screen.

Once we have that we can try to hook it up with some arduino board (as per #4) to perform some "motor functions" - unlocking fridge, etc, etc see

@meeDamian
Copy link
Member

img_20180811_154728

We already got the e-paper display to work, and the RBPs on which will be doing the project are already being cooked ^^

@meeDamian meeDamian added ideas Suggestions for things to build/research/discuss during events BUIDL Ideas for things that can be build labels Aug 12, 2018
@nolim1t
Copy link
Member Author

nolim1t commented Aug 13, 2018

thats awesome. whats the code like to display stuff on epaper?

I assume theres some sort of API there

@meeDamian
Copy link
Member

I'll post the exact procedure to get it working later tomorrow. The setup procedure is rather complex with many steps, but the actual python code to show it is trivially short.

@meeDamian meeDamian changed the title LN payment processing device LN payment processing device (aka "The Box") Aug 20, 2018
@meeDamian
Copy link
Member

I'm going to be documenting RBP pre-setup for on-the-event reference. @AnotherDroog feel free to follow the same instructions and/or tell me about all issues that arise :).

I'll be setting up a

First step is pretty much just following all of my 3 guides posted:

Rest, I'll be posting as I go 😁.

@nolim1t
Copy link
Member Author

nolim1t commented Aug 23, 2018

We should try to get "The Box" on docker (or another orchestration tool - I do like docker though because its platform independent for dev purposes) eventually.

@AnotherDroog
Copy link
Member

Status update for those who weren't at the meetup:
img_2214-optim

This was referenced Aug 26, 2018
@AnotherDroog
Copy link
Member

This is largely duplicate of #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUIDL Ideas for things that can be build ideas Suggestions for things to build/research/discuss during events
Projects
None yet
Development

No branches or pull requests

3 participants