{"id":2091,"date":"2022-05-01T14:35:09","date_gmt":"2022-05-01T05:35:09","guid":{"rendered":"https:\/\/blog.wsd.sh\/?p=2091"},"modified":"2022-05-07T07:36:40","modified_gmt":"2022-05-06T22:36:40","slug":"npm-install-ganache","status":"publish","type":"post","link":"https:\/\/blog.wsd.sh\/?p=2091","title":{"rendered":"<small>CentOS stream 9 :ganache install\u3068 \u8d77\u52d5option<\/small>"},"content":{"rendered":"<p>\uff11\uff0eEthereum \u306e\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u74b0\u5883\u3092install<\/p>\n<pre>\r\n# npm install ganache\r\n\r\nadded 29 packages, and audited 360 packages in 2m\r\n\r\n55 packages are looking for funding\r\n  run `npm fund` for details\r\n\r\n4 vulnerabilities (3 high, 1 critical)\r\n\r\nTo address all issues, run:\r\n  npm audit fix\r\n\r\nRun `npm audit` for details.\r\n# npm audit fix\r\n\r\nadded 4 packages, changed 5 packages, and audited 364 packages in 6s\r\n\r\n55 packages are looking for funding\r\n  run `npm fund` for details\r\n\r\nfound 0 vulnerabilities\r\n]# npm fund\r\nprivateinvoice@0.0.1\r\ntqq https:\/\/opencollective.com\/node-redis\r\nx   mqq redis@3.1.2\r\ntqw https:\/\/opencollective.com\/eslint\r\nx x mqq eslint@8.13.0\r\nx tqq https:\/\/github.com\/sponsors\/epoberezkin\r\nx x   mqq ajv@6.12.6\r\nx tqw https:\/\/github.com\/chalk\/chalk?sponsor=1\r\nx x x mqq chalk@4.1.2\r\nx x mqq https:\/\/github.com\/chalk\/ansi-styles?sponsor=1\r\nx x     mqq ansi-styles@4.3.0\r\nx tqq https:\/\/github.com\/sponsors\/sindresorhus\r\nx x   mqq escape-string-regexp@4.0.0, globals@13.13.0, type-fest@0.20.2, import-fresh@3.3.0, strip-json-comments@3.1.1, make-dir@3.1.0\r\nx mqq https:\/\/github.com\/sponsors\/mysticatea\r\nx     mqq eslint-utils@3.0.0, regexpp@3.2.0\r\ntqq https:\/\/github.com\/sponsors\/RubenVerborgh\r\nx   mqq follow-redirects@1.14.9\r\ntqq https:\/\/github.com\/sponsors\/isaacs\r\nx   mqq rimraf@3.0.2, glob@7.1.7\r\ntqq https:\/\/github.com\/sponsors\/feross\r\nx   mqq safe-buffer@5.2.1\r\nmqq https:\/\/github.com\/sponsors\/ljharb\r\n    mqq array-includes@3.1.4, call-bind@1.0.2, define-properties@1.1.4, has-property-descriptors@1.0.0, es-abstract@1.19.5, es-to-primitive@1.2.1, is-date-object@1.0.5, has-tostringtag@1.0.0, is-symbol@1.0.4, get-symbol-description@1.0.0, has-symbols@1.0.3, is-callable@1.2.4, is-negative-zero@2.0.2, is-regex@1.1.4, is-shared-array-buffer@1.0.2, is-weakref@1.0.2, object-inspect@1.12.0, object.assign@4.1.2, string.prototype.trimend@1.0.4, string.prototype.trimstart@1.0.4, unbox-primitive@1.0.1, has-bigints@1.0.2, which-boxed-primitive@1.0.2, is-bigint@1.0.4, is-boolean-object@1.1.2, is-number-object@1.0.7, side-channel@1.0.4, get-intrinsic@1.1.1, is-string@1.0.7, array.prototype.flatmap@1.3.0, object.fromentries@2.0.5, object.hasown@1.1.0, object.values@1.1.5, resolve@2.0.0-next.3, is-core-module@2.9.0, string.prototype.matchall@4.0.7, regexp.prototype.flags@1.4.3, functions-have-names@1.2.3\r\n#\r\n<\/pre>\n<p>\uff12\uff0eganache \u8d77\u52d5option<\/p>\n<pre>\r\n# ganache -d --db \/opt\/ganache\/db\r\n<\/pre>\n<p>(1) ganache \u306f\u8d77\u52d5\u6bce\u306b\u3001 Accounts\u3068Private Keys\u304c\u5909\u308f\u308b<br \/>\nAccounts\u3068Private Keys\u3092\u521d\u671f\u72b6\u614b\u3067\u56fa\u5b9a\u3059\u308b\u306b\u306f\u3001-d option\u3092\u3064\u3051\u3066\u8d77\u52d5<\/p>\n<pre>\r\n# ganache -d\r\n<\/pre>\n<p>(2) \u30c7\u30fc\u30bf\u306e\u6c38\u7d9a\u5316\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4f5c\u6210<\/p>\n<pre>\r\n# mkdir \/opt\/ganache\/\r\n# mkdir \/opt\/ganache\/db\r\n<\/pre>\n<p>(3) \u30c7\u30fc\u30bf\u306e\u6c38\u7d9a\u5316<br \/>\n&#8211;db\u3067save\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a<\/p>\n<pre>\r\n# ganache --db \/opt\/ganache\/db\r\n<\/pre>\n<p>\uff13\uff0e \u30c7\u30fc\u30bf\u306e\u6c38\u7d9a\u5316\u306e\u78ba\u8a8d<\/p>\n<pre>\r\n# cd \/opt\/ganache\/db\r\n# pwd\r\n\/opt\/ganache\/db\r\n# ls\r\n000003.log  CURRENT  LOCK  LOG  MANIFEST-000002\r\n#\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\uff11\uff0eEthereum \u306e\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u74b0\u5883\u3092install # npm install ganache added 29 packages, and audited 360 packages in 2m 55 packag&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/2091"}],"collection":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2091"}],"version-history":[{"count":17,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/2091\/revisions"}],"predecessor-version":[{"id":2250,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/2091\/revisions\/2250"}],"wp:attachment":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}