Trending Technology Machine Learning, Artificial Intelligent, Block Chain, IoT, DevOps, Data Science

Recent Post

Search

Thursday, 11 April 2019

Bitcoin Wallet - Deterministic and Non - Deterministic Wallet

What is a Bitcoin Wallet ?
  • A wallet stores private keys.
  • The public addresses are automatically derived from the private keys.
  • A wallet does not store coins (Bitcoin, Litecoin, Ether etc.).
  • If you open your Bitcoin wallet and one of your Bitcoin address shows that is has a balance of 5 BTC, than these bitcoins are not actually stored in your wallet. It means that these 5 bitcoins were transferred to your Bitcoin address during a transaction. This transaction (TX) information is stored on the blockchain.
  • Your wallet quires the blockchain and searches for Unspent TX Outputs (UTXO) for all your Bitcoin address to display their balances.
  • The bitcoins on these UTXO can be unblocked and transferred to another Bitcoin address using the private keys stored in the wallet.
  • The word wallet is misleading, it just stores keys and not the coins.
  • If you lose your wallet, you lose your private keys and if you lose your private keys you can not unlock UTXO . This means you have lost access to your coins.
  • However if you can restore your private keys (for example you have made a backup you can always access your coins.
Non - Deterministic Wallet

Wallets stores private keys but they also create private keys.

A non-deterministic wallet does the following:
* It generates private key 1 which in turn creates a corresponding public address 1

* It generates private key 2 which in turn creates a corresponding public address2 
etc...

The private keys are randomly generated numbers which are not related to each other.

You can not derive these private keys with an algorithm.
Hence the words "non-deterministic". 

If you use a non-deterministic wallet you must make backups of these private keys.

If you have problems with your wallet, you can restore your wallet by importing the backupped private keys.




Deterministic Wallet
  • A deterministic wallet uses 12-24 words to create a 512 bit seed.
  • These words are called mnemonic words, because they are more easily to remember that this long hexadecimal string
        "BF8526205D0B2E227C52E411472FAD5CAE0285BBEBD566F2B".
  • The 512 bit seed is used to create a master private key.
  • This master key in turn is used to create private keys and corresponding public address.


Generally speaking using these 12=24 words will completer restore your walled with exactly the same private keys and corresponding public addresses. Hence the word "deterministic".

9 comments:

  1. I really appreciate the kind of topics you post here. Thanks for sharing us a great information that is actually helpful. Good day! bitcoin mixen

    ReplyDelete
  2. I recently found many useful information in your website especially this blog page. Among the lots of comments on your articles. Thanks for sharing. BitcoinCash hard fork

    ReplyDelete
  3. Hi there, I found your blog via Google while searching for such kinda informative post and your post looks very interesting for me Bitcoin ABC wallet

    ReplyDelete
  4. certainly, the environmental news theses days are not so good but there are other good news too like opening of new forest reserves“ this website

    ReplyDelete
  5. That is really nice to hear. thank you for the update and good luck. best bitcoin wallets

    ReplyDelete
  6. It’s not that I want to copy your website, but I really like the design and style. Could you let me know which theme are you using? Or was it tailor made? read review

    ReplyDelete
  7. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work how to earn bitcoins on iPhone

    ReplyDelete
  8. I discovered your blog internet site on google and appearance a few of your early posts. Always keep inside the good operate. I simply extra the RSS feed to my MSN News Reader. Looking for forward to reading a lot more by you down the line!… why not look here

    ReplyDelete