how does namecoin work?

Post Reply
heilen
Posts: 13
Joined: Fri Jun 10, 2011 2:36 am
os: windows

how does namecoin work?

Post by heilen »

from what i guess, namecoin is exactly the same as bitcoin except, it is used to register domains. but how is it different and how does it work?

is the domain and ip it points to stored in the block chain? how does updating ips work after you initially "buy" the domain.

when a domain is bought, do the coins simply get "used" up?

does the amount made per block half like with normal bitcoin?

is there a 21m limit like with normal bitcoin, or is the amount indefinite.

thanks for listening to my dumb questions.

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: how does namecoin work?

Post by khal »

heilen wrote:from what i guess, namecoin is exactly the same as bitcoin except, it is used to register domains. but how is it different and how does it work?
Namecoin can create special transactions which include a name and a value, which are stored in the blockchain too. More info on creating a name here : http://dot-bit.org/HowToRegisterAndConfigureBitDomains . .bit domain names are names starting with the "d/" prefix (namecoin can be used for other things than domain names).
New commands are : name_new, name_firstupdate, name_update, name_list (your reserved domains), name_scan (existing domains).
heilen wrote:is the domain and ip it points to stored in the block chain? how does updating ips work after you initially "buy" the domain.
Here are 2 examples. First one with nameserver "forward" and second one with direct ips. There is a command to update your name : name_update. You have 12'000 blocks to do an update, after that, your domain expires and is free again (i found that value too short).

Code: Select all

./namecoind name_scan "d/opennic" 1
[
    {
        "name" : "d/opennic",
        "value" : "{\"map\": {\"\": {\"ns\": [\"ns0.web-sweet-web.net\", \"ns1.web-sweet-web.net\"]}}}",
        "txid" : "1ee9b02004a6d5412f4fab863295e6347e8051af263f6057218becc7d872d135",
        "expires_in" : 3526
    }
]

./namecoind name_scan "d/ns" 1
[
    {
        "name" : "d/ns",
        "value" : "{\"map\": {\"\": \"78.47.86.43\", \"www\": \"78.47.86.43\"}}",
        "txid" : "74b41ec50515fee89c6c1267444bb16c7df12e9151fcafd322058760473a64d9",
        "expires_in" : 3588
    }
]
heilen wrote:when a domain is bought, do the coins simply get "used" up?
yes, even if i would prefer this to be changed (http://dot-bit.org/forum/viewtopic.php?f=5&t=58).
heilen wrote:does the amount made per block half like with normal bitcoin?

is there a 21m limit like with normal bitcoin, or is the amount indefinite.
yes
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

misiu_mp
Posts: 1
Joined: Tue Jun 14, 2011 4:40 pm
os: linux

Re: how does namecoin work?

Post by misiu_mp »

khal wrote:
heilen wrote:when a domain is bought, do the coins simply get "used" up?
yes, even if i would prefer this to be changed (http://dot-bit.org/forum/viewtopic.php?f=5&t=58).
heilen wrote:does the amount made per block half like with normal bitcoin?

is there a 21m limit like with normal bitcoin, or is the amount indefinite.
yes
Q: is the sky blue or is the sky purple?
A: yes

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: how does namecoin work?

Post by khal »

misiu_mp wrote:Q: is the sky blue or is the sky purple?
A: yes
Do you mean i reply without reading the whole line ? :p

A: yes, no
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

Post Reply