nullama (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 10, 2022, 01:45:25 AM |
|
Here's an interesting project I found that makes it easy to accept bitcoin through lightning on any ESP32 microcontroller. https://github.com/lnbits/bitcoinSwitchThat means you can accept sats with any kind of device: ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FJbU9BcM.png&t=665&c=ip0dkOXxskRUPw) The setup is pretty simple: ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fuser-images.githubusercontent.com%2F33088785%2F166824760-bc612411-7663-4a78-9331-61390042e3ae.gif&t=665&c=wxqBVzjw4DG4RA) "ToTheMoon" is of course the default password ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) I think some people here would be interested in playing around with something like this, so wanted to share. Here's a video of it in action: https://www.youtube.com/watch?v=FeoIwTjv3YM
|
|
|
|
joniboini
Legendary
Offline
Activity: 2296
Merit: 1802
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 10, 2022, 11:43:13 AM |
|
Nice find. I thought it will allow my smart lamp to accept Bitcoin, but it looks like it requires a specific microcontroller so any led/smart device is not going to cut it. The microcontroller itself looks cheap though, just $5 in my local market, half the price of most smart lamps in the market. The problem is probably preparing the device itself.
|
| | . .Duelbits. | │ | ..........UNLEASH.......... THE ULTIMATE GAMING EXPERIENCE | │ | DUELBITS FANTASY SPORTS | ████▄▄▄█████▄▄▄ ░▄████████████████▄ ▐██████████████████▄ ████████████████████ ████████████████████▌ █████████████████████ ████████████████▀▀▀ ███████████████▌ ███████████████▌ ████████████████ ████████████████ ████████████████ ████▀▀███████▀▀ | . ▬▬ VS ▬▬ | ████▄▄▄█████▄▄▄ ░▄████████████████▄ ▐██████████████████▄ ████████████████████ ████████████████████▌ █████████████████████ ███████████████████ ███████████████▌ ███████████████▌ ████████████████ ████████████████ ████████████████ ████▀▀███████▀▀ | /// PLAY FOR FREE /// WIN FOR REAL | │ | ..PLAY NOW.. | |
|
|
|
DaveF
Legendary
Offline
Activity: 3584
Merit: 6533
Crypto Swap Exchange
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 10, 2022, 11:50:01 AM |
|
There are a lot of smart home devices that have public APIs. the TP-Link Kasa is one that I know of. Although you would now be relying on their service to take care of the on & off or whatever other control you want building a front end to deal with the lightning payments should not be that hard.
It's an interesting / fun idea but with the abundance of smart home products out there and the fact that you are dealing with 'real' voltages I would not want to do it with an off the shelf controller.
-Dave
|
|
|
|
LoyceV
Legendary
Offline
Activity: 3416
Merit: 17317
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 10, 2022, 01:45:26 PM |
|
I think some people here would be interested in playing around with something like this, so wanted to share. It reminds me of the Scrooge McDuck comic in which there's a payment machine for everything. This is so cool! I see so many possibilities to annoy the kids: watch TV? 5 sats! Charge your tablet? 5 sats! Allowance? In sats ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) Nice find. I thought it will allow my smart lamp to accept Bitcoin, but it looks like it requires a specific microcontroller so any led/smart device is not going to cut it. Turn on your light: 5 sats ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) The microcontroller itself looks cheap though, just $5 in my local market, half the price of most smart lamps in the market. One drawback is the energy consumption. Paying your own lamp per hour is fun, but paying for the lamp to be off sucks. It's an interesting / fun idea but with the abundance of smart home products out there and the fact that you are dealing with 'real' voltages I would not want to do it with an off the shelf controller. With a decent quality relay, I wouldn't worry about switching 230V, but it does need more precautions. Especially the housing should be safe.
|
|
|
|
dkbit98
Legendary
Offline
Activity: 2338
Merit: 7401
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 10, 2022, 03:14:44 PM |
|
Here's an interesting project I found that makes it easy to accept bitcoin through lightning on any ESP32 microcontroller.
Cool stuff and I know about this guy Ben Arc from LNbits very well, he made a bunch of Bitcoin related things based on cheap ESP32 devices. He made hardware wallet signing device Bowser I wrote before, and I also wrote about his LNURLPoS device that is using Lightning Network, and about his cheap offline ATM machine. He is going to be a speaker in upcoming El Salvador Adoption conference, so that is worth checking out. One drawback is the energy consumption. Paying your own lamp per hour is fun, but paying for the lamp to be off sucks.
C'mon man... just pull off the lamp electric plug from wall socket ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
|
LoyceV
Legendary
Offline
Activity: 3416
Merit: 17317
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 10, 2022, 03:24:58 PM |
|
C'mon man... just pull off the lamp electric plug from wall socket ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) Then you can't use your LN-switch.
|
|
|
|
Kakmakr
Legendary
Offline
Activity: 3528
Merit: 1963
Leading Crypto Sports Betting & Casino Platform
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 01, 2022, 06:31:42 AM |
|
This can actually open up a whole new industry, if you can implement this successfully. The "Pay per use" concept can work well, in a student village for example, where people can charge students to use their appliances. (Microwave) You can also implement this in a Guesthouse to charge people to use the Jacuzzi or the vibrating bed for instance... so it is a very cool idea. ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) The question remains..... Is the LN matured enough to get enough business to pay for this. ![Roll Eyes](https://bitcointalk.org/Smileys/default/rolleyes.gif)
|
..Stake.com.. | | | ▄████████████████████████████████████▄ ██ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ ██ ▄████▄ ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██ ██████ ██ ██████████ ██ ██ ██████████ ██ ▀██▀ ██ ██ ██ ██████ ██ ██ ██ ██ ██ ██ ██████ ██ █████ ███ ██████ ██ ████▄ ██ ██ █████ ███ ████ ████ █████ ███ ████████ ██ ████ ████ ██████████ ████ ████ ████▀ ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██ ██ ▀▀▀▀▀▀▀▀▀▀ ██ ▀█████████▀ ▄████████████▄ ▀█████████▀ ▄▄▄▄▄▄▄▄▄▄▄▄███ ██ ██ ███▄▄▄▄▄▄▄▄▄▄▄▄ ██████████████████████████████████████████ | | | | | | ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▄▀▄ █▀▀█▀▄▄ █ █▀█ █ ▐ ▐▌ █ ▄██▄ █ ▌ █ █ ▄██████▄ █ ▌ ▐▌ █ ██████████ █ ▐ █ █ ▐██████████▌ █ ▐ ▐▌ █ ▀▀██████▀▀ █ ▌ █ █ ▄▄▄██▄▄▄ █ ▌▐▌ █ █▐ █ █ █▐▐▌ █ █▐█ ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█ | | | | | | ▄▄█████████▄▄ ▄██▀▀▀▀█████▀▀▀▀██▄ ▄█▀ ▐█▌ ▀█▄ ██ ▐█▌ ██ ████▄ ▄█████▄ ▄████ ████████▄███████████▄████████ ███▀ █████████████ ▀███ ██ ███████████ ██ ▀█▄ █████████ ▄█▀ ▀█▄ ▄██▀▀▀▀▀▀▀██▄ ▄▄▄█▀ ▀███████ ███████▀ ▀█████▄ ▄█████▀ ▀▀▀███▄▄▄███▀▀▀ | | | ..PLAY NOW.. |
|
|
|
nullama (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 01, 2022, 06:52:32 AM Merited by NotATether (5) |
|
This can actually open up a whole new industry, if you can implement this successfully. The "Pay per use" concept can work well, in a student village for example, where people can charge students to use their appliances. (Microwave) You can also implement this in a Guesthouse to charge people to use the Jacuzzi or the vibrating bed for instance... so it is a very cool idea. ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) The question remains..... Is the LN matured enough to get enough business to pay for this. ![Roll Eyes](https://bitcointalk.org/Smileys/default/rolleyes.gif) I think this has a huge potential. First, it can replace basically all the current vending machines that require cash or credit cards. But it can also create new types of interactions in which you pay wirelessly with sats and you see/get the effect in the real world. For example, you could have a lightning address such as pickyourmusic@thisbar.com and the amount of sats you send there select the song, say 101 sats for song 1, 104 sats for song 4, etc.
|
|
|
|
NotATether
Legendary
Offline
Activity: 1708
Merit: 7197
In memory of o_e_l_e_o
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 01, 2022, 05:36:52 PM |
|
First, it can replace basically all the current vending machines that require cash or credit cards.
Kudos for suggesting that. I was thinking maybe we could slap a Raspberry Pi controller inside a vending machine skeleton, that is connected to a small pixel screen that displays QR codes and also to an NFC scanner, the point being so that users can scan a Lightning invoice once they press a button for their snack which they can pay with any wallet - including their apps, and they get their snack. It would be completely theft-proof as there are no private keys in the vending machines, just the snacks (and the machine itself, but you could just put a Kensington lock and bullet-proof glass on it to deter theft). I'm going off a tangent but perhaps there could be a way for it to scan Cash App/Venmo/... invoices as well.
|
|
|
|
nullama (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 01, 2022, 10:06:26 PM |
|
~snip~ Kudos for suggesting that. I was thinking maybe we could slap a Raspberry Pi controller inside a vending machine skeleton, that is connected to a small pixel screen that displays QR codes and also to an NFC scanner, the point being so that users can scan a Lightning invoice once they press a button for their snack which they can pay with any wallet - including their apps, and they get their snack.
It would be completely theft-proof as there are no private keys in the vending machines, just the snacks (and the machine itself, but you could just put a Kensington lock and bullet-proof glass on it to deter theft).
I'm going off a tangent but perhaps there could be a way for it to scan Cash App/Venmo/... invoices as well.
I would still prefer the sat selection idea for that use case. Send 1001 sats for chocolate bar. Send 2103 sats for soda can. Etc... And having a lightning address makes this extremely simple. Just sent X amount to Y address. That way you only need to interact once, just sending the money also selects the item you want.
|
|
|
|
LoyceV
Legendary
Offline
Activity: 3416
Merit: 17317
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 02, 2022, 11:21:56 AM |
|
I would still prefer the sat selection idea for that use case.
Send 1001 sats for chocolate bar.
Send 2103 sats for soda can. I think this is terrible ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif) Not only does the number of sats fluctuate when Bitcoin goes up and down, you'll also need to show the price for each individual item. And if you show the price anyway, why not give each item their own QR-code to pay to? Then the QR code selects the item, instead of the paid amount. And having a lightning address makes this extremely simple. Just sent X amount to Y address. Did I miss a LN-update that allows to send funds to an email address instead of an invoice?
|
|
|
|
DaveF
Legendary
Offline
Activity: 3584
Merit: 6533
Crypto Swap Exchange
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 02, 2022, 11:36:03 AM Last edit: November 02, 2022, 12:04:52 PM by DaveF |
|
Did I miss a LN-update that allows to send funds to an email address instead of an invoice? https://lightningaddress.com/Don't know how many people are actually using it or want to use it but it does work. You can actually send me money just by sending to mrdave@bitrefill.me from a service that supports it. I also have one that is running on my own node but since it's tied to a personal email I don't want to put it out here since I get enough spam / junk as it is :-) Since I have been giving both email address out I have gotten, do some math...carry the 1....yeah 1 payment that way. (not including my tests) -Dave
|
|
|
|
LoyceV
Legendary
Offline
Activity: 3416
Merit: 17317
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 02, 2022, 12:35:31 PM |
|
I'm happily surprised Phoenix Wallet supports this! I would have sent you a few sats, but my wallet is currently empty. How does this work though? Do funds go to your Bitrefill account? I also have one that is running on my own node but since it's tied to a personal email I don't want to put it out here since I get enough spam / junk as it is :-) Is the link between the email address and your server custodial? In other words: is there someone who can change where funds go by changing where your email address sends the funds?I found it, it looks like it's doesn't need any third parties: ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fcamo.githubusercontent.com%2F268abc621585b68fbf1229eab51c3c9344870ec3f227a1ff237c7423ba3ba28e%2F68747470733a2f2f692e696d6775722e636f6d2f444956357138712e706e67&t=665&c=u3TCgzYc7fqgvA) Don't know how many people are actually using it or want to use it but it does work. I haven't used LN for a while, but this looks good.
|
|
|
|
DaveF
Legendary
Offline
Activity: 3584
Merit: 6533
Crypto Swap Exchange
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 02, 2022, 06:52:03 PM |
|
I'm happily surprised Phoenix Wallet supports this! I would have sent you a few sats, but my wallet is currently empty. How does this work though? Do funds go to your Bitrefill account? Yes, it just goes into my bitrefill balance. And, as I said before and since I admit I didn't think it through when I 1st tested and gave it out, If you are going to do this yourself instead of using a hosted service you really should create a new / vanity email instead of using one that you use as your normal email. Otherwise you do wind up with even more spam / junk then normal coming in. -Dave
|
|
|
|
nullama (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 02, 2022, 10:14:39 PM Merited by LoyceV (4), Pmalek (1) |
|
Just in case someone wants to have some ready to use lightning addresses, here are two services that work great for this: https://getalby.comThis is a website dedicated to help creators get paid in sats through their content. They have a plugin that makes payment in websites extremely easy. You end up with a lightning address like this: nullama@getalby.comhttps://stacker.newsThis is a news website that uses sats as the native upvoting system. When you create an account you end up with a working lightning wallet and a lightning address like this: nullama@stacker.newsYou can use those wallets and lightning addresses in other services of course, and it all works like a charm. If you only want one, I would go with stacker news since it's actually a great website anyway.
|
|
|
|
LoyceV
Legendary
Offline
Activity: 3416
Merit: 17317
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 03, 2022, 11:25:15 AM |
|
Just in case someone wants to have some ready to use lightning addresses Those are both custodial, right? I almost forgot I'm okay with that for small amounts. https://getalby.comThis is a website dedicated to help creators get paid in sats through their content. They have a plugin that makes payment in websites extremely easy. You end up with a lightning address like this: nullama@getalby.com I don't like that it wants me to install a browser plugin: "This add-on is not actively monitored for security by Mozilla. Make sure you trust it before installing." I'll skip this one. https://stacker.newsThis is a news website that uses sats as the native upvoting system. When you create an account you end up with a working lightning wallet and a lightning address like this: nullama@stacker.news First impression: That's better, .onion available! On second thought: after entering my email address: Error
stacker.news It works after I try again, but it's a weird system: it doesn't let me create a password, I have to click a link in my email every time to login. And the link brings me to the non-onion site again. Even if I manually edit the link, it doesn't allow me to login on the .onion domain. Also, the login link expires after each click, so I have to copy/paste my email address to get a new link each time. Not a very convenient website, unfortunately.
|
|
|
|
nullama (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 03, 2022, 11:48:10 AM |
|
~snip~ Those are both custodial, right? I almost forgot I'm okay with that for small amounts.
Both are custodial by default, yes. With alby you can connect to your own node, and I think that's also planned with Stacker News in the near future. I don't like that it wants me to install a browser plugin:
It's not needed, it's just a better experience but I don't have it installed and everything works just fine. https://stacker.newsFirst impression: That's better, .onion available! On second thought: after entering my email address: It works after I try again, but it's a weird system: it doesn't let me create a password, I have to click a link in my email every time to login. And the link brings me to the non-onion site again. Even if I manually edit the link, it doesn't allow me to login on the .onion domain. Also, the login link expires after each click, so I have to copy/paste my email address to get a new link each time. Not a very convenient website, unfortunately. I haven't used the onion service, but personally it just works great, it logins once from email and then you're always logged in. You could try use a lightning wallet for login, no need for email. Have a look here for wallets: https://stacker.news/items/88811
|
|
|
|
DaveF
Legendary
Offline
Activity: 3584
Merit: 6533
Crypto Swap Exchange
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 03, 2022, 01:38:32 PM |
|
Those are both custodial, right? I almost forgot I'm okay with that for small amounts.
If you don't mind custodial then https://www.walletofsatoshi.com/ is probably one of the most popular ones. For the lightningaddress you can only have an @walletofsatoshi.com email that they auto generate but it is what it is. Also, they have a map in the wallet that lets you find nearby places that accept BTC and BATMs. I think we are drifting a lot from the OT, so someone should probably start a new thread if we want to keep talking about lightningaddress. -Dave
|
|
|
|
NotATether
Legendary
Offline
Activity: 1708
Merit: 7197
In memory of o_e_l_e_o
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 03, 2022, 05:25:27 PM |
|
@LoyceV
I just used Github to sign into Stacker News. That way I can just log into the wallet later I ever want to withdraw data. Though [actual] work has taken its toll on me and it's been a while since I last browsed that site...
|
|
|
|
seoincorporation
Legendary
Offline
Activity: 3262
Merit: 3066
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 06, 2022, 06:20:20 PM |
|
This project has a huge potential, it could be implemented for streamers to let the viewers change the color lights or change the background song on the stream or do some other crazy stuff to let the viewers interact with the viewers.
Another implementation that would be nice is for gambling, can you imagine a coin pusher working this way and paying the profit to the bettors, that would be something nice to see, and it could be create with this software.
Thanks for sharing it, i will look at the source code.
|
|
|
|
|