How to realize the lock, unlock and open wallet of EOS
This article mainly explains the "EOS lock, unlock, open wallet how to achieve", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "EOS lock, unlock, open wallet how to achieve" it!
Lock your wallet.
Command format: $cleos wallet lock-n ${wallet_name}
$cleos wallet lock-n second-walletLocked: 'second-wallet'
Note that the locked wallet does not have a * symbol in the list
$cleos wallet listWallets: ["default *", "second-wallet"] unlock the wallet
Command format: $cleos wallet unlock-n ${wallet_name}-- password ${password}
To unlock it, specify the password you got when you created the wallet
$cleos wallet unlock-n second-wallet-- password PW5Ji6JUrLjhKAVn68nmacLxwhvtqUAV18J7iycZppsPKeoGGgBEwUnlocked: 'second-wallet' opens the wallet
Command format: $cleos wallet open
$cleos wallet openWallets: ["default"] $cleos wallet open-n second-walletWallets: ["default", "second-wallet"] Thank you for your reading. The above is the content of "how to lock, unlock and open the wallet of EOS". After the study of this article, I believe you have a deeper understanding of how to lock, unlock and open the wallet of EOS. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!