The Interledger Community 🌱

Discussion on: Ask your questions about the CFP here!

Collapse
 
abhinavchawla13 profile image
Abhinav Chawla

Hey everyone, while working over my previous project, I had an idea to build a tool to extend the reach of the technology to more hands with a eventually multiple use cases, but I wasn't sure if it fit the second category for the new CFP, so thought I'll ask it here (thanks for setting up this post!)

I was wondering to build to an API/integration where people visiting a particular location (historical site, sporting arena, conferences, etc) can simply scan a QR code, connect their Coil accounts quickly, and while they enjoy the services within the location, they automatically donate for it in the background without specifically being lured into donating a specific amount before you leave. For example, if I'm going to a car show, and the car show is raising money for some charity, while I'm at the show looking at cars, I'm also easily donating without being pressurized by someone (or my own guilt).

That's basically how the idea came, so was thinking to build a generic location-based-BTP token generator and simple dashboard for an organization to create an event to share. Probably, also a sample PWA/mobile application which could be connecting the both and used by organizations to customize and deploy if they want to move away from a default version - again lots to think there.

I just wanted to get a feedback if this would fit the scope of any of the categories? If not, I had a couple other ideas as well that I could explore deeper.

Collapse
 
laka profile image
Alex Lakatos

From a technology point of view though, I don't think this is feasible. Coil needs the extension or Puma to be active on a page with a payment pointer, so while you walk around a venue, you'd have to constantly have your phone open and active on a payment pointered web page (which I don't think is realistic from a UX perspective).

The other option would be extremely complicated and resouce intensive: you'd need to become a Web Monetization provider yourself (like Coil), which involves some non-technical hurdles that need to be overcome, mainly getting a corporate relation with one of the wallet providers in the network.

Collapse
 
abhinavchawla13 profile image
Abhinav Chawla

Hey @laka , thanks for the response. That sounds fair enough. I had the same issue and that's why was thinking to specifically try to solve it one way or another, but wasn't sure if it would be possible overall. I was thinking to have a PWA run in the background actively (again not sure if it's possible) or use the BTP token and somehow emulate the webpage through a backend service using the Coil script - and the timing is dicatated by user's location from the phone. In either case, some backend process would be needed to be running on the phone to have a good UX.

Thread Thread
 
laka profile image
Alex Lakatos

I don't think PWAs would work, even with using something like periodicSync. The background processes aren't as active as advertised, you'd be streaming at a much lower rate than the current rate of 36 cents/hour.

The Coil extension is open-source, you could reverse-engineer the tokenization they do to the payment pointer, and make HTTP requests to the Coil BTP endpoint form a server, that should work. It would still be a significant engineering effort, but I think shorter than the alternative.