Difference between revisions of "Namecoin"
m (new wiki url) |
(→Installation and usage: new QT version now) |
||
Line 14: | Line 14: | ||
== Installation and usage == | == Installation and usage == | ||
− | + | Installation and usage is now much simpler with the QT client which can beinstalled from [http://namecoin.info/?p=download here]. For [[Linux Mint]] 16, I found that the Ubuntu 14 package worked fine, but the Debian 7 package had unsatisfiable dependencies. I was able to replace the ''wallet.dat'' file with a very old one from 2011 and the program launched correctly and listed all my balance and names. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== The Namecoin wallet == | == The Namecoin wallet == |
Revision as of 17:05, 25 October 2014
Namecoin is a peer-to-peer generic name/value datastore system based on the bitcoin technology (a decentralized Cryptocurrency). Namecoin allows you to securely register names (domains for example) with no possible censorship, and trade namecoins, the digital currency NMC. Namecoin is the first "Altcoin", and came about after the bitcoin developers chose not to support the BitDNS idea which would allow data for other types of application to reside on the bitcoin blockchain. This was an intense debate that even Satoshi himself weighed in on saying that,
![]() | Piling every proof-of-work quorum system in the world into one dataset doesn't scale. Bitcoin and BitDNS can be used separately. Users shouldn't have to download all of both to use one or the other. BitDNS users may not want to download everything the next several unrelated networks decide to pile in either. |
— Satoshi Nakamoto |
Dot-BIT, the first project using namecoin, is building a domain name system (DNS) using the .bit top-level-domain (TLD). Their goal is to spread .bit domains by providing resources and tools to the community, from developers to end users.
It is very useful to build the DNS system into the currency system because both are prone to corruption and control when they require a central authority to manage them. By making these decentralised and removing the requirement for a central authority we can have the foundation of a secure private internet and domain-name system which has the payment and registration system built in to it.
Contents
Namecoin exchanges
The best way to get namecoins is with bitcoins since it's still very early days for namecoin which means there's not much support for buying them with standard currencies like there is with bitcoin.
Installation and usage
Installation and usage is now much simpler with the QT client which can beinstalled from here. For Linux Mint 16, I found that the Ubuntu 14 package worked fine, but the Debian 7 package had unsatisfiable dependencies. I was able to replace the wallet.dat file with a very old one from 2011 and the program launched correctly and listed all my balance and names.
The Namecoin wallet
As with Bitcoin, Namecoin has a file called ~/.namecoin/wallet.dat in which all your coins are stored, but in the case of Namecoin, all your domain names (and any other kinds of names you've created) are also stored in this file as special kinds of coin that can't be spent. You must take care to back this file up and keep it safe from prying eyes because if you lose this data, you lose all your coins and names!
If you use PGP email (which you should) then the simplest way to get a secure backup is to make a tar file of your wallet (you can do you Bitcoin wallet at the same time if you like) and send it to yourself as an encrypted email. This way it's stored off-site in your IMAP folder but cannot be viewed without having access to your private key. To create a tar file of your Namecoin and Bitcoin wallets, do the following.
You should delete this file after sending it since it's not encrypted.
Note: If you need to reinstall the system, start the daemon and then stop it again to create the .namecoin directory, then overwrite the wallet.dat file with your backed up wallet and restart the daemon. Your balance will show as zero or negative until the blockchain has loaded which could take a few hours or more depending on your bandwidth.
Namecoin domain names
There are various registration sites around for registering Namecoin domains for people, but it's highly recommended to do it yourself becasue the cost is practically nothing and is only a one-off cost. If you do it through a third-party, the cost is a much higher annual cost and you don't have full control of your name. When you register a name it's created as a special kind of un-spendable coin that goes into your wallet with your normal spendable coins.
Manual name registration example
First reserve the name,
This will output something like the following,
Then after twelve blocks (which could take a few hours or more - check the current block here) register the name (you'll need a small NMC balance for this). This example shows a mapping of the naked domain and all subdomains to the Organic Design servers IP address. The hex number is the shorter of the two returned from the previous reservation command.
This may take a few blocks time to take effect, but when it does you'll be able to get info on it:
Which will return something like the following:
Configuring your local DNS to resolve .bit domains
The easiest way to allow your local system to resolve dotBit domain name is to change your network settings to use a dotBit DNS server. I used dns.bit (178.32.31.41), some of the other servers in the list are no longer active.
Unicode names
You can register full unicode dotBit names no problem, but the DNS system will convert them to punycode. Most modern browsers support punycode, but only certain domains and names are whitelisted by default because unicode characters open up massive potential for phishing attacks by linking unsuspecting users to fake sites with very similar characters in their domain to the real site. Some TLD configurations have protection against this so the browsers can whitelist the whole TLD be default, whereas others that do not only have some specific domain names in the whitelist.
To view the currentl TLDs and domains in Firefox's configuration, go to about:config in the browser and filter the listing with the term "IDN". To whitelist dotBit domains, add a new boolean value called network.IDN.whitelist.bit with the value true.
Note servers handling requests for domains containing unicode characters need to be configured with the punycode version of the name not the unicode version. For example, the domain 道.bit resolves to this site but is converted to the punycode name of xn--8b4a.bit and will only display as unicode in browsers that have made the whitelist change mentioned in the previous paragraph.
Some dotBit sites
These sites are only available if you have configured your system to resolve dotBit domains.
- List of dotBit sites at dot-bit.org
- organicdesign.bit - our site's dotBit domain :-)
- Namecoin blockchain explorer
- bitSE
- Namecoin info
- Namecoin charts
Projects built on Namecoin
- Open Name System - a protocol that extends DNS by supporting the registration and resolution of user profiles and domains on the blockchain using Namecoin
- okTurtles & DNSChain
- Bitmessage merges with Namecoin
See also
- Namecoin blockchain explorer
- Namecoin on GitHub
- Namecoin on Facebook
- MeowBit! - there is now a one-click installer for the Namecoin wallet
- Namecoin - a DNS alternative based on Bitcoin
- Bitcoin
- Namecoin SPA
- NodeNMC - A basic nodejs-based web frontend for namecoin. Displays info in friendly searchable, sortable, paginated tables where applicable
- Namecoin and Bitmessage project proposal - using Namecoin to make Bitmessage addresses human-readable