[foaf-dev] A FOAF 2 FOAF (micro) payment system
melvincarvalho at gmail.com
Sat Jul 24 14:02:01 CEST 2010
I would like to propose a simple FOAF 2 FOAF payment system, also describing
a reference implementation.
The system should be as easy as typing on the command line :
$ pay toby 1.23
>> Processing ...
>> Payment Successful! $1.23 has been paid to Toby Inskster
1. For this exepriment I'm going to use FOAF / WebID  as the primary key,
and bitcoin P2P crypto currency  as a reference payment system.
2. Setup: the system will have your WEBID set as an environment variable,
and also the bitcoin payment system running on your machine
3. A command script pay <recipient> <amount> will invoke a script that will
4. Recipient is checked against entries in your foaf:knows via sparql. It
can be a webid or a partial name match.
5. Once the recipient webid is known a payment system is looked for via
SPARQL. Here is a proposal of how bitcoin will look:
6. SPARQL for the account name and use that as the payment address
7. Run the payment command such as ./bitcoin sendtoaddress
8. Report success / failure
Extending the system
I think this system would work fine for FOAF using the bitcoin system. But
further work could be to extend to other payment systems and delivery
mechanisms. For example, email, much like paypal do.
I'd encourage FOAFers to play around with bitcoin, and I'm very happy if
anyone wants to experiment further with this tech.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the foaf-dev