plit Donation(s?)
(it has the because it is lightning, i am bad with names)
I’ve been working on this web app for few days, its goal is to split the donations (and possibly some of the extra funds we have on opencollective) toward the community.
You can see a screnshot below:
Eventually I’d like to integrate it with @richtea’s jme-initializer to prompt to donate to the authors of thirdparty libraries when they are selected, you could see this as an npm fund
with better ux for jme community libraries.
What Why How
TL;DR is that this is built on top of the Bitcoin Lightning Network, you might have heard of it since it has been adopted by services like twitter and some small countries lately, it is basically an ultra fast transaction layer secured by the Bitcoin blockchain.
The interesting part is that with this we don’t need to handle money on our backend but we can instruct the browser to do it mostly clientside, albeit this uses a temporary account on an LNDHub instance (basically a shared lightning node) to receive the donation with a single payment, however this account lasts only the few seconds needed to split the donation, it is created and operated by the browser with random credentials and we do not control the LNDHub (it’s a public instance, actually the app allows the donor to change it, eg. with a self hosted one if he wishes so).
But what if i hate the bitcoin?
You can still use it with a dollar-lightning bridge like Strike.me (currently operating only in the US, El Salvador and Argentina, there are alternatives for the EU, but i need to do some researches before proposing them).
What about OpenCollective
i am working on a way to connect this also to opencollective, since oc doesn’t support the lightning network atm, the idea is to basically bridge the lightning transaction to one of the supported low fee shitcoins cryptocurrencies with an instant exchange like fixedfloat.com. It involves some trickery but the idea seems promising. The reason for this is to provide a single interface for donations.
Please help
As you can guess from the text on the sliders, the app can pull data directly from github, so, since i will try to test run this on the real lightning network sometime in the following days, if you are a contributor on one of our repos (ie. you’ve sent at least one commit ever) you can help me by adding a lightning address to your github account and see if you receive some satoshis (Satoshis are like the units of bitcoins) when i send the donations (i will write here when i do it).
Adding a ln address is very simple:
Getting the lightning address
First you need to create a lightning address.
The easiest way is to install the browser plugin Alby (it’s a chrome/firefox plugin, kinda like metamask if you know it) and chose to use the Alby Wallet when asked on the first setup.
It will ask then to create a lightning address that looks something like rblb@getlaby.com (this is mine btw).
Don’t worry, It won’t ask for your personal data and such, it takes like two minutes to setup the account.
Adding the lightning address to github
Then you need to add it to your github, in a way that plit Donation can understand.
There are currently two ways to do it:
-
Adding
your@lightning.address to your bio (eg.
⚡rblb@getalby.com
), however other apps look for this so you might end up signaling them too -
The more “private” way to do it is to create a public gist with this name
.test-dodj39.json
And this content:
{
"addr":"your@lightning.address",
"enabled":true
}
You can see mine here: .test-dodj39.json · GitHub.
plit Donation will automatically search for this in your github account.
Please let me know if you decide to partecipate to this test.