本文節選自電子書《Netkiller Blockchain 手劄》
本文作者最近在找工作,有意向緻電 13113668890
中國廣東省深圳市龍華新區民治街道溪山美地
518131
+86 13113668890
文檔始創于2018-02-10
版權 © 2018 Netkiller(Neo Chan). All rights reserved.
版權聲明
轉載請與作者聯系,轉載時請務必标明文章原始出處和作者資訊及本聲明。
<a href="http://creativecommons.org/licenses/by/3.0/" target="_top"></a>
<a href="http://www.netkiller.cn/" target="_top">http://www.netkiller.cn</a>
<a href="http://netkiller.github.io/" target="_top">http://netkiller.github.io</a>
<a href="http://netkiller.sourceforge.net/" target="_top">http://netkiller.sourceforge.net</a>
<a href="http://172.16.0.1/images/weixin.jpg" target="_top"></a>
微信訂閱号 netkiller-ebook (微信掃描二維碼)
QQ:13721218 請注明“讀者”
QQ群:128659835 請注明“讀者”
做一筆交易,并寫入資料到區塊鍊中
運作上面程式,會産生一個交易,記下hash值,然後啟動挖礦。
然後檢視這比交易
結果輸出
{ time: 1518931452577, type: 'info', msg: 'Web3 Test!!!' } 就是儲存在區塊鍊中的資料。