Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: khal on April 20, 2011, 06:26:36 PM



Title: [How to] Send payments to emails, urls and domains in GUI
Post by: khal on April 20, 2011, 06:26:36 PM
This his currently a patch proposed for integration into bitcoin : http://bitcointalk.org/index.php?topic=6186.0
Here is a 64bits binary for linux if you want to test : http://dl.free.fr/vX39kOI7Y (backup your wallet before. You can't test with an empty wallet, because bitcoin will stop after checking the amount)

1. How to add this to your website
2. You have an email and don't own the domain

1. How to add this to your website

Default address for your own domain
Create a file named "bitcoin-address.txt" at the root of your domain and remplace 111... chars with your address :
Code:
{
    "error" : "",
    "label" : "Label of your website, or email address for example",
    "address" : "1111111111111111111111111111111111"
}

Email address for your own domain
Example : mymail1@mydomain.com
Create a file named "bitcoin-address-mymail1.txt" at the root of your domain and remplace 111... chars with your bitcoin address :
Code:
{
    "error" : "",
    "label" : "Your email address or a label",
    "address" : "1111111111111111111111111111111111"
}

Example : mymail2@mydomain.com
Create a file named "bitcoin-address-mymail2.txt" at the root of your domain and remplace 222... chars with your bitcoin address :
Code:
{
    "error" : "",
    "label" : "mymail2@mydomain.com",
    "address" : "2222222222222222222222222222222222"
}


2. You have an email and don't own the domain
Example : mypseudo@gmail.com & address 11111111111111111111111111111
Register your email and bitcoin addresses to http://bitcoin-contact.org/?account and set them public.
Then, give this url to your contacts :
http://bitcoin-contact.org/q/getaddress/mypseudo@gmail.com

You can also register a pseudo on bitcoin-contact and use this directly : mypseudo@bitcoin-contact.org
Note : you can also set the label to "mypseudo@gmail.com" and people who use "mypseudo@bitcoin-contact.org" will receive a contact like that :
- label : mypseudo@gmail.com
- address : 11111111111111111111111111111


If you have configured you domain/email address, I can test it and say you if it works.
If someone is able to compile a windows version, i'll add it at the top of this thread.


Title: Re: [How to] Send payments to emails, urls and domains in GUI
Post by: gigabytecoin on April 21, 2011, 07:18:33 AM
Love the idea Khal. Sending to email addresses is a crucial factor in stealing all of PayPal's "loyal" customers.


Title: Re: [How to] Send payments to emails, urls and domains in GUI
Post by: khal on April 21, 2011, 09:59:41 AM
Here is what it looks like when you click on the Send button :
http://img690.imageshack.us/img690/7980/paytoemail.png

To do this i've simply created this file :
http://www.sky-animes.com/bitcoin-address-khalahan.txt


Title: Re: [How to] Send payments to emails, urls and domains in GUI
Post by: khal on April 22, 2011, 04:10:37 AM
- Patch has been updated to support HTTPS only for secured requests
- file naming has moved to :
Domain owner : /bitcoin-address-domain.json (instead of /bitcoin-address.txt)
Users : /bitcoin-address/user.json (instead of /bitcoin-address-user.txt)


Title: Re: [How to] Send payments to emails, urls and domains in GUI
Post by: ploum on May 14, 2011, 08:17:12 PM
Hello,

This is very interesting, please consider the following protocol:
http://bitcointalk.org/index.php?topic=1859.msg23094

(which allows you to embed a message in your transaction)

Also, instead of putting random .txt file at the root of your website, have a look at http://code.google.com/p/webfinger/ which is exactly what you need!


Finally, you might be interested by the following read:
http://ploum.net/post/building-your-web-identity


You are really addressing the biggest flaw of Bitcoin, keep on the good work. If you need help, don't hesitate to contact me.


Title: Re: [How to] Send payments to emails, urls and domains in GUI
Post by: singpolyma on May 14, 2011, 08:24:30 PM
This his currently a patch proposed for integration into bitcoin : http://bitcointalk.org/index.php?topic=6186.0
Here is a 64bits binary for linux if you want to test : http://dl.free.fr/vX39kOI7Y (backup your wallet before. You can't test with an empty wallet, because bitcoin will stop after checking the amount)

1. How to add this to your website
2. You have an email and don't own the domain

1. How to add this to your website

Default address for your own domain
Create a file named "bitcoin-address.txt" at the root of your domain and remplace 111... chars with your address

You should either use DNS or XRD/LARD/WebFinger based discovery.  In an extreme case you could use the new /.well-known/ standard, but really this is exactly a use case for XRD/WebFinger.