Page 1 of 2

Donation Address For Domain Namespace

Posted: Tue Sep 23, 2014 12:33 pm
by phelix
Sudoquai gave me the idea: a donation address in d/

Seems like a no brainer.

Re: Donation Address For Domain Namespace

Posted: Tue Sep 23, 2014 7:40 pm
by virtual_master
phelix wrote:Sudoquai gave me the idea: a donation address in d/

Seems like a no brainer.
What do you mean ? How should it work ?

Re: Donation Address For Domain Namespace

Posted: Tue Sep 23, 2014 9:48 pm
by sudoquai
virtual_master wrote:
phelix wrote:Sudoquai gave me the idea: a donation address in d/

Seems like a no brainer.
What do you mean ? How should it work ?
I think phelix means the possibility to pay directly to a .bit domain, if i understood it right now.

Similar to payments directly to /id in the newest version of the wallet. This would require an optional NMC donation field in d/ similar to id/ - code should be similar to the existing one.
Sounds really like a nobrainer if phelix means this ;)

Re: Donation Address For Domain Namespace

Posted: Wed Sep 24, 2014 5:46 am
by domob
Note that the current implementation doesn't rely on a "donation" field - it simply pays to the name's address. So paying to a d/ name should already work, IIRC. However, it may be desirable to set the target address manually - in which case I suggest the "bitcoin" (or "namecoin") field, similarly to the id/ spec.

Re: Donation Address For Domain Namespace

Posted: Wed Sep 24, 2014 6:36 am
by sudoquai
domob wrote:Note that the current implementation doesn't rely on a "donation" field - it simply pays to the name's address. So paying to a d/ name should already work, IIRC. However, it may be desirable to set the target address manually - in which case I suggest the "bitcoin" (or "namecoin") field, similarly to the id/ spec.
Yeah, i've meant with "donation" field the "namecoin" field from the id/ spec, exactly.

Mhh - that means i can set a namecoin field together with the payment addy at let us say d/examplesite according to the id/ spec, open the latest wallet and just pay some NMC to d/examplesite as recipient without using the "raw" NMC addy ? Possible? Would be a great feature.

Re: Donation Address For Domain Namespace

Posted: Wed Sep 24, 2014 7:15 am
by phelix
domob wrote:Note that the current implementation doesn't rely on a "donation" field - it simply pays to the name's address. So paying to a d/ name should already work, IIRC. However, it may be desirable to set the target address manually - in which case I suggest the "bitcoin" (or "namecoin") field, similarly to the id/ spec.
This. And yeah, sendtoname actually allows it already. But explicitly setting a donation address could be seen as an invitation :)
sudoquai wrote:Mhh - that means i can set a namecoin field together with the payment addy at let us say d/examplesite according to the id/ spec, open the latest wallet and just pay some NMC to d/examplesite as recipient without using the "raw" NMC addy ? Possible? Would be a great feature.
Maybe not in the wallet but from within a shiny NMControl.

Re: Donation Address For Domain Namespace

Posted: Wed Sep 24, 2014 7:20 am
by sudoquai
phelix wrote:
domob wrote:Note that the current implementation doesn't rely on a "donation" field - it simply pays to the name's address. So paying to a d/ name should already work, IIRC. However, it may be desirable to set the target address manually - in which case I suggest the "bitcoin" (or "namecoin") field, similarly to the id/ spec.
This. And yeah, sendtoname actually allows it already. But explicitly setting a donation address could be seen as an invitation :)
sudoquai wrote:Mhh - that means i can set a namecoin field together with the payment addy at let us say d/examplesite according to the id/ spec, open the latest wallet and just pay some NMC to d/examplesite as recipient without using the "raw" NMC addy ? Possible? Would be a great feature.
Maybe not in the wallet but from within a shiny NMControl.
Big thing to integrate wallet support, if it doesn't work already? Would consider a small donation for this.

Re: Donation Address For Domain Namespace

Posted: Wed Sep 24, 2014 9:24 am
by domob
sudoquai wrote:Mhh - that means i can set a namecoin field together with the payment addy at let us say d/examplesite according to the id/ spec, open the latest wallet and just pay some NMC to d/examplesite as recipient without using the "raw" NMC addy ? Possible? Would be a great feature.
It works already with "namecoin field" substituted by "name address" - for a long time with "sendtoname" and since my recent patch also in the Qt. I'm not sure if we should change the Qt behaviour to take a "namecoin" field into account, as this is more suited on a higher level (extended NMControl + wallet, as phelix said).

Re: Donation Address For Domain Namespace

Posted: Wed Sep 24, 2014 4:29 pm
by tosh0
So it works already, but limited to the name address: Send to d/name sends to the name address.

The next step could be what domob says:
in which case I suggest the "bitcoin" (or "namecoin") field, similarly to the id/ spec.
Maybe to be able to pass a parameter to nmcontrol or the -qt along with the name?:
d/name?namecoin
d/name?bitcoin
id/name?litecoin
etc.
and the program will read this value inside the name and return this value in some kind of format that makes sense. Namecontrol could have a readfromname and return a value, and the -qt a mini-name-explorer or a popup with a link when you click on a nmc: .

For example if it's BTC it will popup a link to send to that bitcoin:1AbCdF address, if it's BM a link to bitmessage, if it's a onion address a link to http://3g2upl4pq6kufc4m.onion/ etc. etc.

I envision this being used by btc atm machines, exchanges etc. Your want to send some btc to a friend?: send to id/khal?bitcoin ; want to send a email? send to id/khal?email : Bam, you no longer need to trust onename.io or change your dns settings if the .com site is up. To use the .bit site you still need the freespeechme plugin thought.

Some code-filtering code will be needed thought to prevent any malicious exploit of this.

Re: Donation Address For Domain Namespace

Posted: Wed Sep 24, 2014 6:17 pm
by sudoquai
domob wrote:
sudoquai wrote:Mhh - that means i can set a namecoin field together with the payment addy at let us say d/examplesite according to the id/ spec, open the latest wallet and just pay some NMC to d/examplesite as recipient without using the "raw" NMC addy ? Possible? Would be a great feature.
It works already with "namecoin field" substituted by "name address" - for a long time with "sendtoname" and since my recent patch also in the Qt. I'm not sure if we should change the Qt behaviour to take a "namecoin" field into account, as this is more suited on a higher level (extended NMControl + wallet, as phelix said).
Oh great, this is exactly the feature i have asked for. Well done! No need to change anything. The only reason to add an extra "namecoin" field would be if somebody donates to a .bit site, which is hosted at an registrar in the case you would like to receive the coins to your own address. But that's a special case and can be most likely ignored.