{"id":11475,"date":"2023-02-10T00:52:31","date_gmt":"2023-02-09T15:52:31","guid":{"rendered":"https:\/\/www.webcyou.com\/?p=11475"},"modified":"2023-02-10T00:52:34","modified_gmt":"2023-02-09T15:52:34","slug":"solidity%e3%81%a8ethereum%e3%81%ab%e3%82%88%e3%82%8b%e5%ae%9f%e8%b7%b5%e3%82%b9%e3%83%9e%e3%83%bc%e3%83%88%e3%82%b3%e3%83%b3%e3%83%88%e3%83%a9%e3%82%af%e3%83%88%e9%96%8b%e7%99%ba-%e6%9b%b8%e8%a9%95","status":"publish","type":"post","link":"https:\/\/www.webcyou.com\/?p=11475","title":{"rendered":"Solidity\u3068Ethereum\u306b\u3088\u308b\u5b9f\u8df5\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u958b\u767a \u66f8\u8a55 ~ \u518d\u69cb\u7bc9"},"content":{"rendered":"\n\n\n<p>\u3069\u3082\u3067\u3059\u3002<\/p>\n<p>\u53bb\u5e74\u3060\u304b\u3001\u4e00\u6628\u5e74\u3060\u304c\u3001\u8cfc\u5165\u3057\u3066\u3044\u305f\u66f8\u7c4d\u300cSolidity\u3068Ethereum\u306b\u3088\u308b\u5b9f\u8df5\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u958b\u767a\u300d\u3092\u3001\u305d\u3046\u3044\u3048\u3070\u6700\u5f8c\u307e\u3067\u3084\u3063\u3066\u306a\u304b\u3063\u305f\u306a\u3002\u3068\u3001\u3075\u3068\u601d\u3044\u51fa\u3057\u3066\u9032\u3081\u3066\u307f\u305f\u306f\u826f\u3044\u304c\u3001\u5404\u6240\u3067\u69d8\u3005\u306a\u30ec\u30d3\u30e5\u30fc\u30b3\u30e1\u30f3\u30c8\u3067\u3082\u6319\u304c\u3063\u3066\u3044\u308b\u3088\u3046\u306b\u3001\u4eca\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u8cfc\u5165\u3057\u3066\u8aad\u3080\u66f8\u7c4d\u3067\u306f\u306a\u3044\u306a\u3002\u3068\u6b63\u76f4\u306a\u611f\u60f3\u3002<\/p>\n\n<div id=\"rinkerid11480\" class=\"yyi-rinker-contents  yyi-rinker-tagid-246 yyi-rinker-postid-11480 yyi-rinker-img-m yyi-rinker-catid-214 \">\n\t<div class=\"yyi-rinker-box\">\n\t\t<div class=\"yyi-rinker-image\">\n\t\t\t\t\t\t\t<a href=\"https:\/\/www.amazon.co.jp\/dp\/4873119340?tag=panicdragon-22&#038;linkCode=ogi&#038;th=1&#038;psc=1\" rel=\"nofollow\" class=\"yyi-rinker-tracking\"  data-click-tracking=\"amazon_img 11480 Solidity\u3068Ethereum\u306b\u3088\u308b\u5b9f\u8df5\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u958b\u767a \u2015Truffle Suite\u3092\u7528\u3044\u305f\u958b\u767a\u306e\u57fa\u790e\u304b\u3089\u30c7\u30d7\u30ed\u30a4\u307e\u3067\" data-vars-click-id=\"amazon_img 11480 Solidity\u3068Ethereum\u306b\u3088\u308b\u5b9f\u8df5\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u958b\u767a \u2015Truffle Suite\u3092\u7528\u3044\u305f\u958b\u767a\u306e\u57fa\u790e\u304b\u3089\u30c7\u30d7\u30ed\u30a4\u307e\u3067\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/m.media-amazon.com\/images\/I\/51XYRKAtccL._SL160_.jpg\"  width=\"125\" height=\"160\" class=\"yyi-rinker-main-img\" style=\"border: none;\"><\/a>\t\t\t\t\t<\/div>\n\t\t<div class=\"yyi-rinker-info\">\n\t\t\t<div class=\"yyi-rinker-title\">\n\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/www.amazon.co.jp\/dp\/4873119340?tag=panicdragon-22&#038;linkCode=ogi&#038;th=1&#038;psc=1\" rel=\"nofollow\" class=\"yyi-rinker-tracking\" data-click-tracking=\"amazon_title 11480 Solidity\u3068Ethereum\u306b\u3088\u308b\u5b9f\u8df5\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u958b\u767a \u2015Truffle Suite\u3092\u7528\u3044\u305f\u958b\u767a\u306e\u57fa\u790e\u304b\u3089\u30c7\u30d7\u30ed\u30a4\u307e\u3067\" data-vars-amp-click-id=\"amazon_title 11480 Solidity\u3068Ethereum\u306b\u3088\u308b\u5b9f\u8df5\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u958b\u767a \u2015Truffle Suite\u3092\u7528\u3044\u305f\u958b\u767a\u306e\u57fa\u790e\u304b\u3089\u30c7\u30d7\u30ed\u30a4\u307e\u3067\" >Solidity\u3068Ethereum\u306b\u3088\u308b\u5b9f\u8df5\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u958b\u767a \u2015Truffle Suite\u3092\u7528\u3044\u305f\u958b\u767a\u306e\u57fa\u790e\u304b\u3089\u30c7\u30d7\u30ed\u30a4\u307e\u3067<\/a>\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"yyi-rinker-detail\">\n\t\t\t\t\t\t\t<div class=\"credit-box\">created by&nbsp;<a href=\"https:\/\/oyakosodate.com\/rinker\/\" rel=\"nofollow noopener\" target=\"_blank\" >Rinker<\/a><\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"price-box\">\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<ul class=\"yyi-rinker-links\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                    <li class=\"amazonlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/www.amazon.co.jp\/dp\/4873119340?tag=panicdragon-22&amp;linkCode=ogi&amp;th=1&amp;psc=1\" rel=\"nofollow\" class=\"yyi-rinker-link yyi-rinker-tracking\"  data-click-tracking=\"amazon 11480 Solidity\u3068Ethereum\u306b\u3088\u308b\u5b9f\u8df5\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u958b\u767a \u2015Truffle Suite\u3092\u7528\u3044\u305f\u958b\u767a\u306e\u57fa\u790e\u304b\u3089\u30c7\u30d7\u30ed\u30a4\u307e\u3067\"  data-vars-amp-click-id=\"amazon 11480 Solidity\u3068Ethereum\u306b\u3088\u308b\u5b9f\u8df5\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u958b\u767a \u2015Truffle Suite\u3092\u7528\u3044\u305f\u958b\u767a\u306e\u57fa\u790e\u304b\u3089\u30c7\u30d7\u30ed\u30a4\u307e\u3067\">Amazon<\/a>\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"rakutenlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/hb.afl.rakuten.co.jp\/hgc\/2cd584c0.7789074a.2cd584c1.9c3f8e52\/Rinker_o_20230210004841?pc=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2F%25E3%2582%25B9%25E3%2583%259E%25E3%2583%25BC%25E3%2583%2588%25E3%2582%25B3%25E3%2583%25B3%25E3%2583%2588%25E3%2583%25A9%25E3%2582%25AF%25E3%2583%2588%25E9%2596%258B%25E7%2599%25BA%2F%3Ff%3D1%26grp%3Dproduct&amp;m=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2F%25E3%2582%25B9%25E3%2583%259E%25E3%2583%25BC%25E3%2583%2588%25E3%2582%25B3%25E3%2583%25B3%25E3%2583%2588%25E3%2583%25A9%25E3%2582%25AF%25E3%2583%2588%25E9%2596%258B%25E7%2599%25BA%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\" class=\"yyi-rinker-link yyi-rinker-tracking\"  data-click-tracking=\"rakuten 11480 Solidity\u3068Ethereum\u306b\u3088\u308b\u5b9f\u8df5\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u958b\u767a \u2015Truffle Suite\u3092\u7528\u3044\u305f\u958b\u767a\u306e\u57fa\u790e\u304b\u3089\u30c7\u30d7\u30ed\u30a4\u307e\u3067\"  data-vars-amp-click-id=\"rakuten 11480 Solidity\u3068Ethereum\u306b\u3088\u308b\u5b9f\u8df5\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u958b\u767a \u2015Truffle Suite\u3092\u7528\u3044\u305f\u958b\u767a\u306e\u57fa\u790e\u304b\u3089\u30c7\u30d7\u30ed\u30a4\u307e\u3067\">\u697d\u5929\u5e02\u5834<\/a>\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"yahoolink\">\n\t\t\t\t\t\t<a href=\"https:\/\/ck.jp.ap.valuecommerce.com\/servlet\/referral?sid=3670338&amp;pid=888118650&amp;vc_url=https%3A%2F%2Fshopping.yahoo.co.jp%2Fsearch%3Fp%3D%25E3%2582%25B9%25E3%2583%259E%25E3%2583%25BC%25E3%2583%2588%25E3%2582%25B3%25E3%2583%25B3%25E3%2583%2588%25E3%2583%25A9%25E3%2582%25AF%25E3%2583%2588%25E9%2596%258B%25E7%2599%25BA\" rel=\"nofollow\" class=\"yyi-rinker-link yyi-rinker-tracking\"  data-click-tracking=\"yahoo 11480 Solidity\u3068Ethereum\u306b\u3088\u308b\u5b9f\u8df5\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u958b\u767a \u2015Truffle Suite\u3092\u7528\u3044\u305f\u958b\u767a\u306e\u57fa\u790e\u304b\u3089\u30c7\u30d7\u30ed\u30a4\u307e\u3067\"  data-vars-amp-click-id=\"yahoo 11480 Solidity\u3068Ethereum\u306b\u3088\u308b\u5b9f\u8df5\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u958b\u767a \u2015Truffle Suite\u3092\u7528\u3044\u305f\u958b\u767a\u306e\u57fa\u790e\u304b\u3089\u30c7\u30d7\u30ed\u30a4\u307e\u3067\">Yahoo\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0<\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ad.jp.ap.valuecommerce.com\/servlet\/gifbanner?sid=3670338&pid=888118650\" height=\"1\" width=\"1\" border=\"0\">\t\t\t\t\t<\/li>\n\t\t\t\t                \t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/div>\n\n\n<p>\u3068\u3044\u3046\u306e\u3082\u3001\u79fb\u308a\u5909\u308f\u308a\u306e\u65e9\u3044\u30a6\u30a7\u30d6\u6280\u8853\u306b\u304a\u3044\u3066\u3001\u66f4\u306b\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u3001Web3\u306e\u9818\u57df\u3068\u306a\u308b\u3068\u305d\u306e\u79fb\u308a\u5909\u308f\u308a\u306e\u30b9\u30d4\u30fc\u30c9\u306f\u52a0\u901f\u3057\u3001\u66f8\u7c4d\u306b\u8a18\u8f09\u3057\u3066\u3044\u308b\u5185\u5bb9\u3068\u306e\u4e56\u96e2\u304c\u5927\u304d\u304f\u3042\u3063\u305f\u308a\u3059\u308b\u3002<\/p>\n<p>\u305d\u306e\u307e\u307e\u3001\u66f8\u7c4d\u306b\u6cbf\u3063\u3066\u5b9f\u88c5\u3057\u3066\u52d5\u4f5c\u3055\u305b\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u52d5\u304b\u306a\u3044\u3068\u3053\u308d\u304c\u591a\u3005\u3067\u3042\u308b\u3002<\/p>\n<p>\u307e\u305f\u3001\u524d\u534a\u306f\u57fa\u790e\u77e5\u8b58\u306a\u3069\u3067\u826f\u3044\u306b\u3057\u308d\u3001\u5f8c\u534a\u306b\u306a\u308b\u3068\u5b9f\u88c5\u3078\u3068\u5165\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u3060\u3093\u3060\u3093\u3068\u8aac\u660e\u3082\u3056\u3063\u3071\u306a\u611f\u3058\u3068\u306a\u308a\u3001\u6700\u7d42\u7ae0\u3042\u305f\u308a\u306e\u5927\u898f\u6a21\u306aDApps\u958b\u767a\u3042\u305f\u308a\u306b\u306a\u308b\u3068\u3001\u307b\u3068\u3093\u3069\u30d5\u30ed\u30f3\u30c8\u5b9f\u88c5\u306e\u8a71\u304c\u4e2d\u5fc3\u3067\u3057\u304b\u3082React\u3067\u306e\u5b9f\u88c5\u306a\u306e\u3067\u3001\u30d5\u30ed\u30f3\u30c8\u6280\u8853\u306b\u660e\u308b\u304f\u306a\u3044\u65b9\u306b\u306f\u3068\u3063\u3066\u306f\u4e0d\u89aa\u5207\u3092\u611f\u3058\u305f\u3002\u30d5\u30ed\u30f3\u30c8\u6280\u8853\u306b\u6163\u308c\u3066\u3044\u308b\u81ea\u5206\u3067\u3082\u3061\u3087\u3063\u3068\u8f9b\u3055\u3092\u611f\u3058\u305f\u307b\u3069\u3060\u3002<\/p>\n<p>\u66f4\u306b\u4ed5\u69d8\u3068\u5b9f\u88c5\u3059\u308b\u5185\u5bb9\u304c\u7570\u306a\u3063\u3066\u3044\u308b\u6c17\u3082\u3059\u308b\u3057\uff08\u6c17\u306e\u305b\u3044\u304b\uff1f\uff1f\uff09\u3001\u8272\u3093\u306a\u8981\u56e0\u304c\u3042\u308a\u3001\u4eca\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u306e\u8cfc\u5165\u306f\u3001\u3042\u307e\u308a\u30aa\u30b9\u30b9\u30e1\u3057\u306a\u3044\u3002<\/p>\n<p>\u6b63\u76f4\u3001\u3053\u3093\u306a\u306b\u96e3\u3057\u3044\u3068\u611f\u3058\u306a\u304b\u3063\u305f\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u306e\u5b9f\u88c5\u304c\u3001\u3088\u308a\u96e3\u3057\u304f\u3084\u3084\u3053\u3057\u304f\u306a\u3063\u3066\u3044\u308b\u611f\u3058\u304c\u3057\u305f\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u5f8c\u534a\u306e\u5b9f\u88c5\u306b\u304a\u3044\u3066\u3001\u66f8\u7c4d\u3068\u5b9f\u88c5\u304c\u7570\u306a\u308b\u7b87\u6240\u3084\u8e93\u3044\u305f\u3068\u3053\u308d\u306e\u56de\u907f\u306a\u3069\u5927\u307e\u304b\u306a\u3068\u3053\u308d\u3092\u8a18\u8f09\u3057\u3001\u8ab2\u984c\u5185\u5bb9\u306f\u826f\u3044\u304b\u3068\u601d\u3063\u3066\u304a\u308a\u307e\u3059\u306e\u3067\u3001\u3082\u3063\u3068\u7c21\u5358\u306b\u5b9f\u88c5\u3067\u304d\u308b\u6c17\u304c\u3059\u308b\u306e\u3067\u3001Nuxt.js\u3092\u7528\u3044\u3066\u518d\u69cb\u7bc9\u3092\u8a66\u307f\u3066\u898b\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<h4>\u8e93\u3044\u305f\u70b9\u306a\u3069<\/h4>\n<p>P.34<\/p>\n<p>3.1.1 <strong>parity\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/p>\n<p>\u66f8\u7c4d\u3067\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7528\u3044\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001brew\u3067parity\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>tap<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">brew tap ethcore\/ethcore<\/pre>\n<p>brew \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">brew install parity<\/pre>\n<h5>4\u7ae0 \u521d\u3081\u3066\u306e\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8<\/h5>\n<p>solidity\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u66f8\u7c4d\u306e\u65b9\u3067\u306f\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">pragma solidity  &gt;= 0.4.0 &lt; 0.7.0;<\/pre>\n<p>\u3068\u306a\u3063\u3066\u3044\u308b\u304c\u30010.8.17\u3092\u4f7f\u7528\u3057\u305f\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">pragma solidity = 0.8.17;<\/pre>\n<p>\u305d\u308c\u304c\u6545\u306bWarnig\u7b49\u304c\u767a\u751f\u3057\u305f\u306e\u304b\u3082\u77e5\u308c\u306a\u3044\u3002 \u8b66\u544a\uff08Warning\uff09<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing &quot;SPDX-License-Identifier:  &lt;SPDX-License &gt;&quot; to each source file. Use &quot;SPDX-License-Identifier: UNLICENSED&quot; for non-open-source code. Please see https:\/\/spdx.org for more information.\n-- &gt; project:\/contracts\/Greeter.sol<\/pre>\n<p>\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u3092\u8ffd\u52a0\u3067\u5bfe\u5fdc<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\/\/ SPDX-License-Identifier: MIT<\/pre>\n<p>\u4fee\u98fe\u5b50public\u3067\u8b66\u544a\u3002 \u8b66\u544a\uff08Warning\uff09<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">,Warning: Visibility for constructor is ignored. If you want the contract to be non-deployable, making it &quot;abstract&quot; is sufficient.\n -- &gt; project:\/contracts\/Greeter.sol:7:5:\n  |\n7 |     constructor() public {\n  |     ^ (Relevant source part starts here and spans across multiple lines).<\/pre>\n<p>\u524a\u9664\u3057\u5bfe\u5fdc\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">constructor() {<\/pre>\n<h5>5\u7ae0 \u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u306e\u30c7\u30d7\u30ed\u30a4\u3068\u64cd\u4f5c<\/h5>\n<p>P.77<\/p>\n<p>Ganache\u306eport\u756a\u53f7\u304c\u66f8\u7c4d\u3067\u306f8545\u3068\u306a\u3063\u3066\u3044\u308b\u304c\u7570\u306a\u308b\u3002<\/p>\n<p>port7545\u3067\u63a5\u7d9a\u304c\u884c\u3048\u305f\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">development: {\n     host: \"127.0.0.1\",     \/\/ Localhost (default: none)\n     port: 7545,            \/\/ Standard Ethereum port (default: none)\n     network_id: \"*\",       \/\/ Any network (default: none)\n},<\/pre>\n<h5>5.4 Parity\u3092\u4f7f\u3063\u305fGoerli\u3078\u306e\u30c7\u30d7\u30ed\u30a4<\/h5>\n<p>P.82<\/p>\n<p>Goerli Faucet\u3092\u7528\u3044\u3066\u30c6\u30b9\u30c8\u7528\u306eGoerli\u30a4\u30fc\u30b5\u3092\u53d6\u5f97\u3059\u308b\u3068\u3053\u308d\u3067\u3001<a href=\"http:\/\/goreli-faucet.slock.it\/\" target=\"_blank\" rel=\"noopener\">goreli-faucet.slock.it<\/a>\u306f\u65e2\u306b\u30af\u30ed\u30fc\u30ba\u3055\u308c\u3066\u3044\u308b\u69d8\u5b50\u3067\u3001<a href=\"https:\/\/goerli-faucet.mudit.blog\/\" target=\"_blank\" rel=\"noopener\">https:\/\/goerli-faucet.mudit.blog\/<\/a>\u306f\u307e\u3060\u751f\u304d\u3066\u3044\u308b\u611f\u3058\u3067\u3059\u304c\u3001\u6700\u7d42\u7684\u306b\u306f\u3053\u3061\u3089\u3067\u53d6\u5f97\u3057\u305f\u3002<\/p>\n<p>1\u65e50.2Goerli ETH\u307e\u3067\u3068\u5236\u9650\u306e\u3042\u308b\u3082\u306e\u3068\u306a\u308b\u3002<\/p>\n<p><strong>Goerli faucet<\/strong><\/p>\n<p><a href=\"https:\/\/goerlifaucet.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/goerlifaucet.com\/<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-11476\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2023\/02\/goerli-1024x502.png\" alt=\"\" width=\"579\" height=\"284\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2023\/02\/goerli-1024x502.png 1024w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2023\/02\/goerli-300x147.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2023\/02\/goerli-768x376.png 768w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2023\/02\/goerli-1536x752.png 1536w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2023\/02\/goerli-2048x1003.png 2048w\" sizes=\"auto, (max-width: 579px) 100vw, 579px\" \/><\/p>\n<p>\u3053\u3061\u3089\u306f\u3001<a href=\"https:\/\/www.alchemy.com\/\" target=\"_blank\" rel=\"noopener\">alchemy<\/a>\u304c\u904b\u7528\u3057\u3066\u3044\u308bFaucet\u307d\u304f\u3001\u4ee5\u524d\u306f\u30ed\u30b0\u30a4\u30f3\u7121\u3057\u3067\u5229\u7528\u3067\u304d\u3066\u3044\u305f\u3063\u307d\u3044\u306e\u3067\u3059\u304c\u3001\u73fe\u5728\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u3001alchemy\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u5fc5\u8981\u307d\u3044\u3067\u3059\u3002<\/p>\n<p>alchemy\u306f\u3001\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u5468\u308a\u306e\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\u4f01\u696d\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<p>P.83<\/p>\n<p>HDWalletProvider\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ npm install truffle-hdwallet-provider --save-dev<\/pre>\n<p>\u2193 <\/p>\n<p>\u3069\u3046\u3084\u3089\u3001truffle Organizations\u4ee5\u4e0b\u306e\u3082\u306e\u304c\u6700\u65b0\u307d\u3044\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ npm install @truffle\/hdwallet-provider<\/pre>\n<h5>9\u7ae0 UI\u3092\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u306b\u63a5\u7d9a\u3059\u308b<\/h5>\n<p>\u6b63\u76f4\u3001\u3053\u3053\u307e\u3067\u306f\u305d\u3093\u306a\u306b\u5927\u304d\u304f\u8e93\u304f\u30dd\u30a4\u30f3\u30c8\u306f\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u3053\u3053\u304b\u3089React\u3092\u7528\u3044\u3066\u30d5\u30ed\u30f3\u30c8\u306e\u5b9f\u88c5\u3067\u5927\u304d\u304f\u6642\u9593\u304c\u596a\u308f\u308c\u305f\u6c17\u304c\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001truffle unbox\u30b3\u30de\u30f3\u30c9\u3067React Truffle Box\u3092\u5c55\u958b\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u66f8\u7c4d\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3068\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ truffle unbox react<\/pre>\n<p>client\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068truffle\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u3001contracts\u3001migrations\u3001test\u306a\u3069\u306ftruffle\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306b\u3001src\u3001public\u306a\u3069\u306fclient\u4ee5\u4e0b\u306b\u751f\u6210\u3055\u308c\u308b\u3002truffle\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u65b0\u3057\u304f\u751f\u6210\u3055\u308c\u308b\u5f62\u306b\u306a\u3063\u305f\u306e\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<p>truffle\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306a\u3069\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ truffle --version \nTruffle v5.6.1 (core: 5.6.1)\nGanache v7.4.4\nSolidity v0.5.16 (solc-js)\nNode v14.18.3\nWeb3.js v1.7.4<\/pre>\n\n<p>\u591a\u5206\u3001\u30d5\u30ed\u30f3\u30c8\u8d77\u52d5\u5f8c\u306e\u30db\u30fc\u30e0\u753b\u9762\u3082truffle\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u66f8\u7c4d\u3068\u7570\u306a\u3063\u3066\u3044\u308b\u304b\u3068\u601d\u3046\u3002<\/p>\n\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-11477\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2023\/02\/truffle-1024x972.png\" alt=\"\" width=\"405\" height=\"384\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2023\/02\/truffle-1024x972.png 1024w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2023\/02\/truffle-300x285.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2023\/02\/truffle-768x729.png 768w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2023\/02\/truffle-1536x1458.png 1536w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2023\/02\/truffle.png 1744w\" sizes=\"auto, (max-width: 405px) 100vw, 405px\" \/><\/p>\n\n\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u5074\u3067\u300cReturned values aren&#8217;t valid, did it run Out of Gas?\u300d\u306e\u30a8\u30e9\u30fc\u767a\u751f\u3002\n\nmigrate reset\u30aa\u30d7\u30b7\u30e7\u30f3\u4ed8\u4e0e\u3067\u3084\u308a\u76f4\u3057\u3066\u56de\u907f\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">truffle migrate --reset<\/pre>\n<p>P.190<\/p>\n<p>client\/src App.js\u306e\u30d5\u30a1\u30a4\u30eb\u53c2\u7167\u306b\u306a\u3063\u3066\u3044\u3066\u300c<strong>\u30dc\u30a4\u30e9\u30fc\u30d7\u30ec\u30fc\u30c8\u30b3\u30fc\u30c9\u306e\u4e00\u90e8\u3092\u524a\u9664\u3057<\/strong>\u300d\u3068\u306a\u3063\u3066\u3044\u308b\u304c\u3001\u305d\u3082\u305d\u3082\u751f\u6210\u3055\u308c\u3066\u3044\u308b client\/src App.js\u306e\u5185\u5bb9\u304c\u7570\u306a\u308b\u3002<\/p>\n<p>\u8fd1\u3044\u3068\u3053\u308d\u3067\u3044\u3046\u3068\u3001 src\/contexts\/EthContext\/EthProvider.jsx\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u66f8\u7c4d\u306e\u5185\u5bb9\u3068\u8fd1\u3044\u3002<\/p>\n<p>\u00a0<\/p>\n<p>P.192<\/p>\n<p>React\u30d0\u30fc\u30b8\u30e7\u30f3\u306e18\u3068\u306a\u3063\u3066\u304a\u308a\u3001React Router\u3082v6\u3068\u306a\u308a\u3001\u3053\u306e\u8fba\u308a\u3067\u8272\u3005\u7570\u306a\u308b\u3002\u00a0<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">import { BrowserRouter as Router, Route, NavLink } from \"react-router-dom\";\u00a0<\/pre>\n<p>\u2193<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">import { Routes, Route, NavLink } from \"react-router-dom\";\u00a0<\/pre>\n<p>index.js\u3067<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">import { BrowserRouter } from \"react-router-dom\";<\/pre>\n<p>\u4f7f\u7528\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">&lt;Router&gt;<\/pre>\n<p>\u2193<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">&lt;Routes&gt;<\/pre>\n<p>React Router v6\u3088\u308a\u4ee5\u4e0b\u306e\u8a18\u8ff0\u3068\u306a\u308a\u3053\u3046\u3044\u3063\u305f\u5f62\u306b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">&lt;Routes&gt;\n    &lt;Route path=&quot;\/&quot; exact element={&lt;Home \/&gt;} \/&gt;\n    &lt;Route path=&quot;\/new\/&quot; element={&lt;NewFundraiser \/&gt;} \/&gt;\n&lt;\/Routes&gt;\n<\/pre>\n<p>\u00a0<\/p>\n<p>StrictMode\u3092Disable\u306b\u3057\u306a\u3044\u3068\u30a8\u30e9\u30fc\u51fa\u3066\u3044\u305f\u306e\u3067\u524a\u9664\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">&lt;React.StrictMode&gt;\n    &lt;BrowserRouter&gt;\n        &lt;App \/&gt;\n    &lt;\/BrowserRouter&gt;\n&lt;\/React.StrictMode&gt;<\/pre>\n<p>\u2193<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">&lt;BrowserRouter&gt;\n    &lt;App \/&gt;\n&lt;\/BrowserRouter&gt;<\/pre>\n\n<h5>10.2 React\u3068Material-UI<\/h5>\n<p>P.195<\/p>\n<p>material-ui\u304cReact\u30d0\u30fc\u30b8\u30e7\u30f3\u306e18\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001force\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u534a\u3070\u7121\u7406\u3084\u308a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm install @material-ui\/core --force --save<\/pre>\n<p>\u3053\u3061\u3089\u3082\u30a8\u30e9\u30fc\u3068\u306a\u308a\u3001force\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u534a\u3070\u7121\u7406\u3084\u308a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm install @metamask\/detect-provider<\/pre>\n<p>\u2193<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm install --force @metamask\/detect-provider<\/pre>\n<p><strong>withdraw\u306e\u4ed5\u69d8<\/strong><\/p>\n<p>\u81ea\u5206\u304c\u304d\u3061\u3093\u3068\u8aad\u3081\u3066\u3044\u306a\u3044\u306e\u304b\u3082\u3067\u3059\u304c\u3001withdraw\u306e\u4ed5\u69d8\u306e\u306f\u3063\u304d\u308a\u3057\u306a\u3044\u3002 Fundraiser\u4f5c\u6210\u304cwithdraw\u3092\u884c\u3048\u308b\u306e\u304b\u3068\u601d\u3044\u304d\u3084\u3001\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u306e\u30aa\u30fc\u30ca\u30fc\u306e\u307f\u306a\u306e\u304b\uff1f \u66f8\u7c4d\u306e\u53c2\u7167\u7528\u306e\u30bd\u30fc\u30b9\u3092\u307f\u308b\u3068\u30aa\u30fc\u30ca\u30fc\u304cFundraiser\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u4f5c\u6210\u306e\u307fwithdraw\u5bfe\u8c61\u306b\u306a\u3063\u3066\u3044\u308b\u6c17\u304c\u3059\u308b\u3002\u3046\u30fc\u3093\u3002 <a href=\"https:\/\/github.com\/oeawFebe\/fundraiser\/blob\/main\/client\/src\/FundraiserCard.js#L131\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/oeawFebe\/fundraiser\/blob\/main\/client\/src\/FundraiserCard.js#L131<\/a><\/p>\n<p>\u00a0<\/p>\n<p>\u3068\u3001\u3053\u3093\u306a\u611f\u3058\u3067\u601d\u3044\u51fa\u305b\u308b\u9650\u308a\u306f\u66f8\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u307e\u3060\u8e93\u3044\u305f\u30dd\u30a4\u30f3\u30c8\u3082\u3042\u3063\u305f\u611f\u3058\u3067\u3001\u306a\u304b\u306a\u304b\u5f8c\u534a\u306f\u3001\u4f55\u3092\u3084\u3063\u3066\u3044\u308b\u306e\u3060\u308d\u3046\u611f\u304c\u6f02\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u8aad\u3080\u30bf\u30a4\u30df\u30f3\u30b0\u306e\u60aa\u3055\u3082\u3042\u3063\u305f\u306e\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u304c\u3001\u3042\u307e\u308a\u306b\u7121\u99c4\u306b\u8003\u3048\u308b\u30dd\u30a4\u30f3\u30c8\u304c\u591a\u304b\u3063\u305f\u5370\u8c61\u3067\u3059\u3002\u30aa\u30e9\u30a4\u30ea\u30fc\u66f8\u7c4d\u3067\u3082\u5f53\u305f\u308a\u5916\u308c\u306f\u3084\u306f\u308a\u3042\u308b\u3082\u306e\u3067\u3001\u5c11\u3057\u6642\u9593\u3092\u7121\u99c4\u306b\u3082\u3057\u3066\u3057\u307e\u3063\u305f\u6c17\u304c\u3059\u308b\u3002 \u3057\u304b\u3057\u306a\u304c\u3089\u3001\u30c1\u30e3\u30ec\u30f3\u30b8\u5185\u5bb9\u306f\u826f\u3044\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u6b21\u56de\u3001\u3053\u3061\u3089\u3092\u30d9\u30fc\u30b9\u3068\u3057\u3001\u66f4\u306b\u3082\u3063\u3068\u7c21\u5358\u306b\u5b9f\u88c5\u3057\u3084\u3059\u3044\u5f62\u3067\u518d\u69cb\u7bc9\u3092\u66f8\u3044\u3066\u884c\u3051\u308c\u3070\u3068\u601d\u3063\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u3002<\/p>\n<p>\u307e\u305f\u307e\u305f\u3041\u3002<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3082\u3067\u3059\u3002 \u53bb\u5e74\u3060\u304b\u3001\u4e00\u6628\u5e74\u3060\u304c\u3001\u8cfc\u5165\u3057\u3066\u3044\u305f\u66f8\u7c4d\u300cSolidity\u3068Ethereum\u306b\u3088\u308b\u5b9f\u8df5\u30b9\u30de\u30fc\u30c8\u30b3\u30f3\u30c8\u30e9\u30af\u30c8\u958b\u767a\u300d\u3092\u3001\u305d\u3046\u3044\u3048\u3070\u6700\u5f8c\u307e\u3067\u3084\u3063\u3066\u306a\u304b\u3063\u305f\u306a\u3002\u3068\u3001\u3075\u3068\u601d\u3044\u51fa\u3057\u3066\u9032\u3081\u3066\u307f\u305f\u306f\u826f\u3044\u304c\u3001\u5404\u6240\u3067\u69d8\u3005\u306a\u30ec\u30d3\u30e5\u30fc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11481,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[214],"tags":[],"class_list":["post-11475","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-214"],"_links":{"self":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/11475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11475"}],"version-history":[{"count":4,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/11475\/revisions"}],"predecessor-version":[{"id":11483,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/11475\/revisions\/11483"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/media\/11481"}],"wp:attachment":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}