TLDRTLDR
I wish to help on-board new merchants to the lightning network with minimal deployment friction.
To that end, I would like to sponsor the creation of super simple, static, single-page web app for creating invoices.
BackgroundBackground
I am in the process of coaching some local Bricks & Mortar merchants onto the lightning network. To ease the "mental transition" of using crypto, I'm highlighting the fiat auto-conversion option. Before the maxis get upset, remember small business often do their own reconciliations, so being able to download a CSV of transaction amounts and have them match with the bank is quite a benefit.
So - given this, and the fact that the operators will most certainly have zero Bitcoin experience, I'd like to initially recommend a custodial approach with a vendor who is reliable, easy to sign up with, and easy to use.
I tried out OpenNode and CoinCorner. CoinCorner was a difficult experience (to sign up as an organisation). OpenNode was straightforward and fast. The OpenNode API documentation is also extensive - vs CoinCorner which is non-existent. So I'm proposing to build with OpenNode.
Problem StatementProblem Statement
As it turns out, OpenNode don't have the exact solution I am looking for - which is this:
- Any member of staff can create invoices (and potentially, view previous invoices)
- They can do this safely on their own device without installing a native app
- They cannot MAKE payments (for refunds it's assumed they'd pay cash)
Proposed SolutionProposed Solution
A static web app requiring ONLY the API OpenNode API key (and optionally, the merchant name). This could then be deployed using, say, Github Pages.
The OpenNode API keys come in 3 permission levels:
- Create Invoice
- Create Invoice & Read History
- Create Invoice & Read History & Make Payments
So either of the first two keys should be safe to use on a public, static website.
BenefitsBenefits
- Really easy to deploy to a company subdomain (update DNS, clone repo, update CNAME, API Key, Merchant name, git push)
- Any staff member can go to the URL and make a payment, nothing to install
- No active server needed at backend, zero running costs
- Funds are safe
Risks of the proposed solutionRisks of the proposed solution
- An attacker could create fake invoices or spam the service
- An attacker could read previous invoices (if the "readhistory" APIKey is chosen)
SummarySummary
I believe the risks are well worth the benefits, to start the journey quickly and easily.
Before I post this as a job on Stacker News (and after I figure out how to do that anonymously) I wanted to check here in the community if perhaps such a solution already exists, or if there are any other significant risks with the proposal?
+2k for doing this! Please report back on your progress and what you learn along the way
Thanks! I will!
@phaedrus - I learned that sometimes it's worth it to just jump right in and see what you can achieve.
The OpenNode API was really easy to use, they even had the JavaScript snippets, and thanks to modern HTML5 elements I was able to build something functional in just a couple of hours.
See: #76405
Does this make me a cypherpunk? I think not, lol
It make sense for me and I can code it.
How would you like to finance it? I have no experience with crowdfunding in Bitcoin. 🙂
Thanks for the offer! In fact, I hacked it together myself: #76405
That said, it's very rudimentary, if you'd like to improve it then feel free to submit back and I will send you sats directly to your post
seems good 🙂
coinos.io works great for all of this
Yep, coinos seems great for this!
Am I correct in assuming that I can use them for my use case described in #76141?
But would that be the simplest way?
coinos does look great but I don't see the 'convert automatically to fiat' option
going back to fiat IS NOT AN OPTION. That is the option only for shitcoin fiat maxis. We are going forward not backward... As a merchant I want sats not shitcoin fiat.
Ha ha - nice. I mean, I'm totally with you. If I were a merchant, I'd choose sats.
Every merchant I've ever cold-approached though, is on the shitcoin fiat maxi side of the scale - and they need to dip their toes in the Orange Pill pool before dive bombing the deep end.
Getting any merchant to use Bitcoin/LN is a step forward, regardless if they convert it back to fiat.
Any increase in use of LN effectively increases demand for Bitcoin, even if at one end of the trade it gets converted back to fiat. Increased demand for sats as a medium of exchange on LN is just as good, if not better, than hodling sats as a store of value.
This is why the work that Strike is doing is so important.
Giving customers the ability to pay with sats means you are not subjecting them to the tyranny of the state. That is the reason.
Are you referring to the conversion of bitcoin into fiat and deposited into a bank account, or simply the fiat value of the bitcoin at the time of the transaction but the bitcoin is still held?
Immediate conversion to fiat, with ability to transfer the balance to a bank account.
OpenNode do this for a 1% conversion fee.
Of course I hope the merchant will choose to hold BTC, if not immediately, then eventually..
The most idiotic thing ever. That means you want a forever slavery of fiat debt. Why do you bother anymore to use BTC? Just take the shitcoin fiat and be a slave forever.
Damn it, people still don't get it why we are in this... not to get rich or have another paypal, but to FUCK THE BANKS AND GET RID OF ALL FUCKING GOVS!
Bitcoin will change the whole world, not just financially but in all aspects. Don't try to "!integrate" Bitcoin into existing system, change the entire system to adapt to Bitcoin way.
In America at least, starting in 2022 the IRS requires third party payment processors to submit a tax form on their customers. Strike and cash app and stripe included.
But it only works for the IRS with businesses that convert their payments to dirty surveillance fiat. Businesses need to be aware of this especially ones that are accustomed to cash.
IRS is a joke and people still believe in it. http://www.losthorizons.com/BulletinBoard.htm
Ex-IRS Agent revealing the truth about IRS
https://postimg.cc/XphRgJLj
If a business accepts lightning and then subjects itself to IRS surveillance and extortion, who cares because that business is giving its customers the option to avoid all that.
+100 :-)
Have you heard of LNURL-pay?
I have, but only superficially. Is there an LNURL-pay solution already out there that delivers on the above?
EDIT: this article explained it well: https://thebitcoinmanual.com/articles/what-is-ln-url-and-how-does-it-work/
I don't think OpenNode have LNURL-pay (I could be mistaken). is there an easy-to-sign-up LNURL-pay service that also provides auto-fiat conversions?
an alternative is that a bitcoiner who works at the merchant location accepts the bitcoin and pays the fiat invoice (e.g. a waiter with a 'bitcoin accepted here' pin)
if it's a reliable setup (maybe multiple bitcoiners at the merchant) then the merchant can add themselves to btcmap.org for the marketing win
That's a very clever idea! I'll try that on the next waiter...
This is a very important point. Let the business do the surveillance dollar conversion if they want to instead of the customer, who now has the option use their lightning node in the real world.
This week I am also working on a project to help more merchants onboard lightning network..
My approach is similar to stripe payment link, here is the whole process:
For merchants:
Then the service will generate a reusable payment link
For customers:
This will have much better experience than stripe or open node:
No KYC / Very low Fee / No chargeback/ Even no need to sign up/ Service don't hold money.
Any merchants can sell any thing online and accept bitcoin!
Link to your project?
still in progress..will share after completion…
I would be really surprised if Strike wasn't already working on this ... they just got that 80 mill as well...
https://www.kevinrooke.com/post/strike-and-bitcoins-lightning-network
haven't found anything yet...