1. 程式人生 > >數字貨幣錢包的概念理解

數字貨幣錢包的概念理解

借用eos的一段註釋:

A common misconception in cryptocurrency regarding wallets is that they store tokens. A wallet does not store tokens. What a wallet does is store private keys in an encrypted file and sign transactions.
A user builds a transaction object, usually through an interface, sends that object to the wallet to be signed, the wallet then returns that transaction object with a signature which is then broadcast to the network. When/if the network confirms that the transaction is valid, it is included into a block on the blockchain.

個人理解翻譯,不對請諒解

大多數字貨幣領域的公眾都認為錢包就是一個儲存token的東西。事實上,錢包並不儲存token,而是儲存加密的私鑰檔案以及對交易進行簽名。
使用者構建了一筆交易,通常會將這筆交易通過介面的形式傳送給錢包,讓錢包進行簽名,再將錢包簽過名的交易通過廣播的形式傳送到(區塊鏈)網路上。
如果網路確認這筆交易是正確的,這筆交易就會被記錄到區塊鏈網路中的某個區塊中。