DEV Community

Discussion on: Grant for the Web Hackathon Help Thread

Collapse
 
jwp profile image
John Peters • Edited

I'd like to see some other ideas on what these solutions could provide to this project.

For example:

  • Is there an api to pull down all current payments, registered users for (our and other) sites, people showing interest?
  • Is there an api, that lists all sites participating?
  • Should particpating sites provide that type of information?
  • Is there a need for sites to provide their own registration?
  • Do developers of this software participate in monetization each time their solution is used by some site somewhere?
  • Can we market our own solutions (of course right?)

I'm green to the monetization concept but like the idea of micro-payments!

Collapse
 
alispivak profile image
ali spivak

Is there an api to pull down all current payments, registered users for (our and other) sites, people showing interest?

you can see how much you have received from web monetized users in the wallet's dashboard. Coil doesn't host any public APIs consumed by Web Monetized sites, the only interaction occurs via the Web Monetization API itself. For privacy reasons we can't expose any lists of registered users and we don't even know which users visited which sites. On getting information on all payments the best way to do that is track the events emitted in the Web Monetization API. Once receipts are out those payment events will be verifiable by their backend.

Is there an api, that lists all sites participating?

This is not available through an API, but many participating sites are listed on Coil's website

Is there a need for sites to provide their own registration?

Once you add the web monetization meta tag to your site, it will recognize web monetized users without them needing to provide additional information.

Do developers of this software participate in monetization each time their solution is used by some site somewhere?

Yes, as long as the monetization meta tag with your payment pointer is in the document head and the visitor's browser has web monetization enabled. Technically if the content is an embed then it also needs to have allow="monetization" on the iframe that it's inside of.