{"id":1943,"date":"2021-04-04T01:51:03","date_gmt":"2021-04-04T01:51:03","guid":{"rendered":"http:\/\/43.153.210.228\/\/?p=1943"},"modified":"2021-04-04T01:51:03","modified_gmt":"2021-04-04T01:51:03","slug":"%e4%bb%8ebip-39%e7%a7%8d%e5%ad%90%e7%9f%ad%e8%af%ad%e7%94%9f%e6%88%90%e7%a7%81%e9%92%a5%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/43.153.210.228\/?p=1943","title":{"rendered":"\u4ecebip-39\u79cd\u5b50\u77ed\u8bed\u751f\u6210\u79c1\u94a5\uff1f"},"content":{"rendered":"<p>2<br \/>\u6211\u53ef\u4ee5\u4f7f\u7528\u6bd4\u7279\u5e01\u6838\u5fc3\u751f\u6210\u4e00\u4e2a\u65b0\u7684\u79c1\u94a5\u548c\u76f8\u5173\u7684\u516c\u5171\u5730\u5740\uff0c\u4f46\u6211\u771f\u6b63\u60f3\u505a\u7684\u662f\u4ece\u4e00\u4e2a24\u5b57\u7684\u79cd\u5b50\u77ed\u8bed\u751f\u6210\u4e00\u4e2a\u65b0\u7684\u79c1\u94a5\u3002\u6211\u4e0d\u77e5\u9053\u8be5\u600e\u4e48\u505a\uff0c\u4e5f\u627e\u4e0d\u5230\u4efb\u4f55\u4f8b\u5b50\u3002<br \/>BIP-39\u5355\u8bcd\u8868\uff1a<br \/><a href=\"https:\/\/github.com\/bitcoin\/bips\/blob\/master\/bip-0039\/english.txt\">https:\/\/github.com\/bitcoin\/bips\/blob\/master\/bip-0039\/english.txt<\/a><br \/>\u5f53\u524d\u4ee3\u7801\uff1a<br \/>var bitcore=require\uff08\u201cbitcore lib\u201d\uff09\uff1b<br \/>var\u7f13\u51b2\u533a=bitcore.crypto.Random\u7801.getRandomBuffer\uff08256\uff09\uff1b<br \/>var\u6563\u5217=bitcore.crypto.Hash\u6587\u4ef6.sha256\uff08\u7f13\u51b2\u533a\uff09\uff1b<br \/>\u53d8\u91cfbn=\u6bd4\u7279\u6838\u5fc3.crypto.BN.fromBuffer\uff08\u54c8\u5e0c\uff09\uff1b<br \/>var pk=\u65b0bitcore.PrivateKey\uff08bn\uff09.toWIF\uff08\uff09\uff1b<br \/>var address=\u65b0bitcore.PrivateKey\uff08bn\uff09.toAddress\uff08\uff09+\u201c\u201d\uff1b<br \/>\u5982\u679c\u6211\u7406\u89e3\u6b63\u786e\uff0c\u6211\u5c06\u4ece24\u4e2a\u968f\u673a\u9009\u62e9\u7684\u5355\u8bcd\uff08\u4eceBIP-39\u5355\u8bcd\u5217\u8868\uff09\u751f\u6210\u4e00\u4e2a\u54c8\u5e0c\uff0c\u7136\u540e\u4f7f\u7528\u5b83\u751f\u6210\u4e00\u4e2a\u79c1\u94a5\u3002\u6563\u5217\u79cd\u5b50\u77ed\u8bed\u7684\u6b65\u9aa4\u548c\u683c\u5f0f\u662f\u4ec0\u4e48\uff1f<br \/>\u79c1\u94a5<br \/>\u641e\u7838<br \/>\u8bb0\u5fc6\u79cd\u5b50<br \/>\u5206\u4eab<br \/>\u6539\u8fdb\u8fd9\u4e2a\u95ee\u9898<br \/>\u8ddf\u968f<br \/>2018\u5e743\u67082\u65e50:28\u95ee<br \/>\u79d1\u5c14\u5bbe<br \/>12511\u94f6\u5fbd\u7ae077\u94dc\u5fbd\u7ae0<br \/>\u8fd924\u4e2a\u79cd\u5b50\u8bcd\u4e0d\u80fd\u4efb\u610f\u9009\u62e9\u3002\u6709\u5173\u5408\u6210\u79cd\u5b50\u8bcd\u7684\u793a\u4f8b\uff0c\u8bf7\u53c2\u89c1github.com\/libbitcoin\/libbitcoin-\u8d44\u6e90\u7ba1\u7406\u5668\/wiki\/\u2026\u3002-\u65af\u5361\u72792018\u5e743\u67082\u65e51:56<br \/>\u975e\u5e38\u611f\u8c22\u3002\u6211\u6b63\u5728\u4f7f\u7528\u6bd4\u7279\u5e01\u6838\u5fc3\u5728Windows NodeJS\u73af\u5883\u4e2d\u5f00\u53d1\u3002\u8fd9\u4e9b\u793a\u4f8b\u770b\u8d77\u6765\u50cf\u662f\u4f7f\u7528\u201cbx\u201d\u7684\u67d0\u79cd\u547d\u4ee4\u884c\u64cd\u4f5c\uff0c\u5728\u6211\u7684\u73af\u5883\u4e2d\uff0c\u5b83\u6ca1\u6709\u88ab\u8bc6\u522b\u4e3a\u4efb\u4f55\u53ef\u6267\u884c\u6587\u4ef6\u3002\u2013\u79d1\u5c14\u5bbe2018\u5e743\u67082\u65e52:40<br \/>\u5728\u8fdb\u884cNodeJS\u5de5\u4f5c\u65f6\uff0c\u81f3\u5c11\u60a8\u73b0\u5728\u6709\u4e86\u4e00\u4e9b\u6d4b\u8bd5\u5411\u91cf\u4fe1\u606f\u3002-\u65af\u5361\u72792018\u5e743\u67082\u65e53:38<br \/>\u6dfb\u52a0\u8bc4\u8bba<br \/>2\u4e2a\u7b54\u6848<br \/>0<br \/><a href=\"https:\/\/github.com\/iancoleman\/bip39\">https:\/\/github.com\/iancoleman\/bip39<\/a><br \/>\u201c\u5c06BIP39\u52a9\u8bb0\u77ed\u8bed\u8f6c\u6362\u4e3a\u5730\u5740\u548c\u79c1\u94a5\u7684\u5de5\u5177\u3002\u201d<br \/>\u5206\u4eab<br \/>\u6539\u8fdb\u8fd9\u4e2a\u7b54\u6848<br \/>\u8ddf\u968f<br \/>\u56de\u590d\u65f6\u95f4\uff1a8\u670812\u65e520:22<br \/>\u7528\u623749041<br \/>\u6dfb\u52a0\u8bc4\u8bba<br \/>-1<br \/>\u8bf7\u770b\u793a\u4f8b7\u3002\u5176\u4ed6\u7684\u963f\u5c14\u7279\u5e01\u4e5f\u6709\u7c7b\u4f3c\u7684\u4f8b\u5b50\u3002<br \/>\u5206\u4eab<br \/>\u6539\u8fdb\u8fd9\u4e2a\u7b54\u6848<br \/>\u8ddf\u968f<br \/>2018\u5e743\u67082\u65e51\u70b955\u5206\u7b54\u590d<br \/>\u65af\u5361\u7279<br \/>275911\u91d1\u5fbd\u7ae099\u94f6\u5fbd\u7ae0020\u94dc\u5fbd\u7ae0<br \/>\u975e\u5e38\u611f\u8c22\u3002\u6211\u6b63\u5728\u4f7f\u7528\u6bd4\u7279\u5e01\u6838\u5fc3\u5728Windows NodeJS\u73af\u5883\u4e2d\u5f00\u53d1\u3002\u8fd9\u4e9b\u793a\u4f8b\u770b\u8d77\u6765\u50cf\u662f\u4f7f\u7528\u201cbx\u201d\u7684\u67d0\u79cd\u547d\u4ee4\u884c\u64cd\u4f5c\uff0c\u5728\u6211\u7684\u73af\u5883\u4e2d\uff0c\u5b83\u6ca1\u6709\u88ab\u8bc6\u522b\u4e3a\u4efb\u4f55\u53ef\u6267\u884c\u6587\u4ef6\u3002\u2013\u79d1\u5c14\u5bbe2018\u5e743\u67082\u65e52:40<br \/>\u6dfb\u52a0\u8bc4\u8bba<\/p>\n<p><a href=\"http:\/\/43.153.210.228\/\/wp-content\/uploads\/2021\/04\/T50033blockchainBTC.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"T500\u5b9a\u5236 (33)blockchainBTC\u6bd4\u7279\u5e01\u533a\u5757\u94fe\" style=\"border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px; display: inline\" border=\"0\" alt=\"T500\u5b9a\u5236 (33)blockchainBTC\u6bd4\u7279\u5e01\u533a\u5757\u94fe\" src=\"http:\/\/43.153.210.228\/\/wp-content\/uploads\/2021\/04\/T50033blockchainBTC_thumb.jpg\" width=\"389\" height=\"582\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>2\u6211\u53ef\u4ee5\u4f7f\u7528\u6bd4\u7279\u5e01\u6838\u5fc3\u751f\u6210\u4e00\u4e2a\u65b0\u7684\u79c1\u94a5\u548c\u76f8\u5173\u7684\u516c\u5171\u5730\u5740\uff0c\u4f46\u6211\u771f\u6b63\u60f3\u505a\u7684\u662f\u4ece\u4e00\u4e2a24\u5b57\u7684\u79cd\u5b50\u77ed\u8bed\u751f\u6210\u4e00\u4e2a\u65b0\u7684\u79c1\u94a5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1943","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts\/1943"}],"collection":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1943"}],"version-history":[{"count":1,"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts\/1943\/revisions"}],"predecessor-version":[{"id":1944,"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts\/1943\/revisions\/1944"}],"wp:attachment":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1943"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}