Key word of block Chain Wallet: address, password, private key, mnemonic word, Keystore

Sept. 4, 2018, 10:36 p.m.

Smail SMT 0 422 0


When using a wallet, there are several nouns that must be understood profoundly, otherwise it is possible to cause the loss of block chain assets. These nouns are address, password, private key, mnemonic, keystore.


If the bank account is ****ogy, the 5 words correspond to the following contents respectively.


Address = bank card number


Password = bank card password


Private key = bank card + bank card password


Mnemonics = bank card number + bank card password


Keystore+ password = bank card + bank card password


Keystore bank card number




1. Address


Address = bank card number


1. generation


A wallet is created with a 42-bit string beginning with 0x, which is the address of the wallet. A wallet corresponds to a wallet address. The address is unique and cannot be changed. That is to say, the transfer and collection addresses of all tokens in a wallet are the same. For example, the ETH transfer address in a purse is the same as the EOS transfer account. This is different from the trading platform, the platform on different tokens of the transfer and receipt addresses are generally different, therefore, to the trading platform before the money must be identified a good address.


2. use


Wallet address can be used to receive other people's money, or can also be used as a certificate of currency transfer.




Two, cipher


Password = bank card password


1. setting


When you create your wallet, you need to set a password that requires no less than eight characters. For security, it's best to set the password a little more complicated. Password can be modified or reset, modify the password in two ways, one is to modify the password directly, which requires the input of the original password. If the original password is forgotten, use the help word or the private key to import the wallet and set the new password at the same time.


2. use


The password is used for two purposes: the payment password at the time of transfer, and the login password at the time of importing the wallet with keystore.


3. features


In the real world, a bank card only corresponds to a password, the password changes, the original password will lose effect. But in digital wallets, it's not the same. A wallet can use different passwords on different phones, independent of each other, without affecting each other. For example, setting a password in the A mobile wallet, importing the wallet on the B mobile phone and setting a new password does not affect the password usage of the A mobile wallet.




Three. Private key


Private key = bank card + bank card password


1. export


After creating the wallet, enter the password to export the private key, which belongs to the plaintext private key, composed of 64-bit string, a wallet has only one private key and can not be modified.


2. use


In the import wallet, enter the private key and set a password (no need to enter the original password), you can enter the wallet and have control of the wallet, you can transfer the token from the wallet.


Four, mnemonic words


Mnemonics = bank card number + bank card password


Mnemonic = private key


1. backup


After creating the wallet, there will be a backup mnemonic function, select the backup mnemonic, enter the password, there will be 12 words, each word between a space, this is the mnemonic, a wallet has only one mnemonic and can not be modified.


2. use


A mnemonic is another form of private key, which has the same function as a private key. When you import a wallet, enter a mnemonic and set a password (without entering the original password), you can enter the wallet and have control of the wallet, and you can transfer the token from the wallet.


3. features


The mnemonics can only be backed up once and will never be displayed in the wallet after backup, so be sure to copy them down when backing up.


Five, keystore


Keystore+ password = bank card + bank card password


Keystore bank card number


Keystore= encrypted private key


Keystore+ password = private key


1. backup


There is a backup keystore function in the wallet, choose backup keystore, enter the password, there will be a large paragraph of characters, this is the keystore.


2. use


In the wallet, choose the official wallet, enter the keystore and password, then you can enter the wallet. It should be noted that this password is the original set of this mobile phone wallet password, which is different from using a private key or mnemonic import wallet, with a private key or mnemonic import wallet, do not need to know the original password, directly reset the password.


3. features


The keystore is an encrypted private key, which is closely related to the wallet password. When the wallet password is modified, the keystore changes accordingly. When you import the wallet with the keystore, you need to enter a password. This password is the password for backing up the keystore, and has nothing to do with the subsequent password changes.


Six. Conclusion


In the real world, if your bank card is lost and your password is forgotten, you can go to the bank to help you recover your money, or your money, can not be lost, this is the advantage of centralization.


But in the block-chain world, no one but yourself stores your wallet information. If you lose it, no one can help you find it. Neither can the wallet company. So, as long as you protect the wallet information, the property in the wallet belongs only to you, and nobody can take it away. This is the advantage of decentralization.


1. forgetting


What will happen if you forget your wallet information? There are several situations.


(1) forget the address, you can use the private key, mnemonic word and keystore+ password to import the wallet back.


(2) the password is forgotten, and you can import your wallet to reset the password with the private key and the memorizing word.


(3) If the password is forgotten and the private key and mnemonics are not backed up, the password can not be reset, and the token can not be transferred, which is equivalent to losing control of the wallet.


(4) keystore has lost its function when the password is forgotten.


(5) the private key is forgotten, so long as your wallet is not deleted and the password is not forgotten, you can export the private key.


(6) if you forget your key, you can also use mnemonic words and keystore+ passwords to import your wallet back.


(7) the mnemonic word is forgotten, and the wallet can be imported back to the memorizing word through the private key and the keystore+ password.


(8) keystore forgot that you can re backup keystore if your wallet is not deleted and the password is not forgotten.


(9) keystore forgot to import the wallet through the private key and memorizing words to back up the keystore.


As you can see, as long as the "private key, mnemonic, Keystore + password" has a message in it, the wallet is there. Therefore, it is the key to backup the private key, mnemonic word and Keystore+ password.


2. leaks


It's very important to backup your wallet information well, and it's also important to prevent wallet information leakage. What will happen if the wallet information is leaked out? There are several situations.


(1) it doesn't matter if the address is leaked.


(2) the password is leaked, it doesn't matter.


(3) the address + password is leaked. It doesn't matter if the phone is not lost.


(4) keystore has leaked, and the password has not been leaked. It doesn't matter.


(5) the keystore+ password is leaked, others can enter the wallet and turn the money away.


(6) when the private key leaks, others can enter the wallet and turn the money away.


(7) when a memorizing word is leaked, others can enter the wallet and turn the money away.


As you can see, as long as "private key, mnemonics, Keystore + password" has a message leaked out, others will have control of your wallet, the money in your wallet will be transferred by others. Therefore, the "private key, mnemonics, Keystore + password" must not be leaked out, once it is found that there is a possibility of leakage, it is necessary to immediately transfer the money inside.


3. backup


Since private keys, mnemonics, and Keystore + passwords are so important, the safest way to save them is to:


Hand copied paper


Because Keystore has a lot of content, handwriting is inconvenient, and it is not safe to save it on the computer, so it is not necessary to make a backup of Keystore. It is enough to copy only the private key and mnemonics by hand.


(1) copy more copies, put them in different safety areas, and tell family members.


(2) to verify the contents of an opponent's copy, import the wallet to see if it can succeed and prevent copying errors.


(3) backup information should not be transmitted on networked devices, including mailboxes, QQ, WeChat, etc.


(4) church family members use wallet