{"id":2661,"date":"2016-07-19T02:05:53","date_gmt":"2016-07-18T17:05:53","guid":{"rendered":"http:\/\/tech.akat.info\/?p=2661"},"modified":"2016-07-19T02:05:53","modified_gmt":"2016-07-18T17:05:53","slug":"ethereum%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=2661","title":{"rendered":"Ethereum\u3092\u4f7f\u3063\u3066\u307f\u305f"},"content":{"rendered":"<h1>Ethereum\u3068\u306f<\/h1>\n<p>\u30fb2015-7-30\u30ea\u30ea\u30fc\u30b9<br \/>\n\u30fbEthereum(\u30d1\u30d6\u30ea\u30c3\u30af\u578b\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3)<br \/>\n\u30fb\u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8\u304c\u958b\u767a\u74b0\u5883\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\u3089\u3057\u3044<br \/>\n\u30fb\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u30fb\u5206\u6563\u578b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3(DApps)\u306e\u69cb\u7bc9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0<br \/>\n\u30fb\u6d3e\u751f\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306bEris\u3001HydraChain(\u30a8\u30b9\u30bf\u30d6\u30ea\u30c3\u30b7\u30e5\u578b\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3)<\/p>\n<h2>\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u60c5\u5831<\/h2>\n<p>\u30fbETH\u306e\u6b8b\u9ad8\u60c5\u5831\u7b49\u304c\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u306b\u76f4\u63a5\u8a18\u9332\u3055\u308c\u308b\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u30d9\u30fc\u30b9\u3068\u306a\u3063\u305f\u30b7\u30b9\u30c6\u30e0<br \/>\n\u30002\u7a2e\u985e\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u3042\u308b<br \/>\n\u3000\u30fb\u5f93\u6765\u306e\u30d3\u30c3\u30c8\u30b3\u30a4\u30f3\u7b49\u306e\u4eee\u60f3\u901a\u8ca8\u306e\u30a2\u30c9\u30ec\u30b9\u3068\u540c\u69d8\u306e\u30a2\u30ab\u30a6\u30f3\u30c8<br \/>\n\u3000\u30fb\u300c\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u30a2\u30ab\u30a6\u30f3\u30c8(Contract Account)\u300d\u3068\u547c\u3070\u308c\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30b3\u30fc\u30c9\u306b\u3088\u3063\u3066<br \/>\n\u3000\u3000\u7ba1\u7406\u3055\u308c\u308b\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u5b9f\u884c\u7528\u306e\u30a2\u30ab\u30a6\u30f3\u30c8<\/p>\n<h1>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h1>\n<p>debian\u3067\u8a66\u305d\u3046\u3068\u3057\u305f\u304c\u3001\u30b5\u30dd\u30fc\u30c8\u5916\u3068\u306e\u3053\u3068(\u516c\u5f0f\u30d5\u30a9\u30fc\u30e9\u30e0\u3088\u308a)<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@ubuntu1404:\/home\/shimizu# bash &lt;(curl -L https:\/\/install-geth.ethereum.org)\r\n...\r\n\r\nroot@ubuntu1404:\/home\/shimizu# geth version\r\nGeth\r\nVersion: 1.4.10-stable\r\nProtocol Versions: &#x5B;63 62]\r\nNetwork Id: 1\r\nGo Version: go1.5.1\r\nOS: linux\r\nGOPATH=\r\nGOROOT=\/usr\/lib\/go\r\n<\/pre>\n<h2>\u30c6\u30b9\u30c8\u74b0\u5883\u3067\u63a1\u6398\u3059\u308b<\/h2>\n<p>\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u30c9\u578b\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u3092\u8a66\u305b\u308b(Ehter\u306e\u6319\u52d5\u8abf\u67fb\u3084\u500b\u4eba\u7684\u306a\u4f5c\u696d\u306b\u5411\u3044\u3066\u3044\u308b)<br \/>\n\u305f\u3060\u3057\u305d\u3053\u3067\u5f97\u305fEther\u306f\u30d1\u30d6\u30ea\u30c3\u30af\u578b\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3(Frontier)\u3067\u306f\u5229\u7528\u3067\u304d\u306a\u3044<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@ubuntu1404:\/home\/shimizu# mkdir eth_data\r\nroot@ubuntu1404:\/home\/shimizu# geth --networkid &quot;10&quot; --datadir &quot;\/home\/shimizu\/eth_data&quot; --olympic console\r\n...\r\n&gt; personal.newAccount(&quot;shimizu&quot;)\r\n&quot;0x2e7f96d3251027d3b4e2d90be4f9a320e7a28f07&quot;\r\n&gt; personal.newAccount(&quot;shimizu02&quot;)\r\n&quot;0x8e9b51319dc468e8c1ea55737ba3192f40693103&quot;\r\n&gt; eth.accounts\r\n&#x5B;&quot;0x2e7f96d3251027d3b4e2d90be4f9a320e7a28f07&quot;, &quot;0x8e9b51319dc468e8c1ea55737ba3192f40693103&quot;]\r\n&gt; miner.start()\r\nI0719 00:47:10.318491 miner\/miner.go:119] Starting mining operation (CPU=1 TOT=2)\r\nI0719 00:47:10.318831 miner\/worker.go:573] commit new work on block 1 with 0 txs &amp; 0 uncles. Took 204.305\u00b5s\r\ntrue\r\n&gt; I0719 00:47:10.319500 eth\/backend.go:454] Automatic pregeneration of ethash DAG ON (ethash dir: \/root\/.ethash)\r\nI0719 00:47:10.319637 ethash.go:259] Generating DAG for epoch 0 (size 1073739904) (0000000000000000000000000000000000000000000000000000000000000000)\r\nI0719 00:47:10.319935 eth\/backend.go:461] checking DAG (ethash dir: \/root\/.ethash)\r\nI0719 00:47:12.251590 ethash.go:291] Generating DAG: 0%\r\nI0719 00:47:14.766994 ethash.go:291] Generating DAG: 1%\r\nI0719 00:47:17.135879 ethash.go:291] Generating DAG: 2%\r\n...\r\n\r\nminer.stop()\r\n\r\n### \u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u306e\u9577\u3055 ###\r\n&gt; eth.blockNumber\r\n937\r\n\r\n### ether\u306e\u6301\u3061\u9ad8\u78ba\u8a8d ###\r\n&gt; eth.getBalance(&quot;0x2e7f96d3251027d3b4e2d90be4f9a320e7a28f07&quot;)\r\n1.40765625e+21\r\n<\/pre>\n<h1>Frontier\u306b\u63a5\u7d9a\u3057\u3066\u307f\u308b<\/h1>\n<p>\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u524a\u9664\u65b9\u6cd5\u304c\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u305f\u3081\u3001\u65b0\u3057\u304f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u8a66\u3057\u3066\u307f\u305f<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@ubuntu1404:\/home\/shimizu# mkdir eth_data_frontier\r\nroot@ubuntu1404:\/home\/shimizu# geth --datadir &quot;\/home\/shimizu\/eth_data_frontier&quot;\r\n...\r\nI0719 02:01:41.677036 core\/blockchain.go:963] imported 1906 block(s) (0 queued 0 ignored) ...\r\n...\r\n\r\n<\/pre>\n<h1>\u53c2\u8003URL<\/h1>\n<p><a href=\"http:\/\/jpbitcoin.com\/bitcoin2\/ethereum\">Ethereum \u30a4\u30fc\u30b5\u30ea\u30a2\u30e0<\/a><br \/>\n<a href=\"http:\/\/book.ethereum-jp.net\/first_use\/installing_geth.html\">Geth\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/a><br \/>\n<a href=\"http:\/\/garapon.hatenablog.com\/entry\/Ethereum\">Ethereum\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f\u3002<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ethereum\u3068\u306f \u30fb2015-7-30\u30ea\u30ea\u30fc\u30b9 \u30fbEthereum(\u30d1\u30d6\u30ea\u30c3\u30af\u578b\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3) \u30fb\u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8\u304c\u958b\u767a\u74b0\u5883\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\u3089\u3057\u3044 \u30fb\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u30fb\u5206\u6563\u578b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3(DApps)\u306e\u69cb\u7bc9\u30d7 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2661"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2661"}],"version-history":[{"count":1,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2661\/revisions"}],"predecessor-version":[{"id":2662,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2661\/revisions\/2662"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}