This post is from a low-reputation account and contains an unverified outbound link. Be cautious before clicking external links.

My Namecoin evaluation experience using MeteorJS

Words
579
Reading
3 min
Listen
Play
9y

This week I got to know about namecoin and got quite excited about its idea and possibilities. (see: ) Me myself, I work as a mostly nomadic living IT-consultant between Europe and Asia. Sometimes I call myself an independent fullstack web and mobile developer.

I'd like to write about my experiences with namecoin, while I am thinking on:

  1. using it as a decentralized DNS for some of my domains
  2. saving encrypted information inside the namecoin blockchain for a possible other project

Here is how it went:

  1. Installation

  2. Communicating with the blockchain via RPC

    • I setup a project with MeteorJS meteor create meteor-namecoinand added the namecoin npm package meteor npm add namcoin
    • replaced the correct username and password in the provided example code
    • executed client.getInfo(function(err,result) {console.log(result);});(see namecoin API doc) successfully and other things:
    • 25.12.2017 Here is my example project on Github https://github.com/inspiraluna/meteor-namecoin
  3. Registering a .bit domain name

    • first of all you need some NMC which I tried to buy on bisq.network. Great fantastic decentralized exchange, but no success since bitcoin is too expensive for sending it around for some technology tests right now.
    • somebody send me some namecoin on a paper wallet. I imported the private key with MeteorJS through namecoin rpc with: (let the namecoin blockchain download completely otherwise you might receive an error here)
    client.importPrivKey('privatekeyfrompaperwallet', 'paperwallet', true, function(err, result) {
    if (err) return console.log(err);
    console.log('importPrivKey:', result);
    });
    
  4. Setting up a decentralized DNS

  5. Writing into the namecoin blockchain using

  6. Stumble stones (26.12.2017)

  • added the transaction back to the wallet which got accepted this time with the new namecoind
My Namecoin evaluation experience using MeteorJS | Ecency