ユーザ用ツール

サイト用ツール


blockchain:ether.jsを使用したdapps開発

文書の過去の版を表示しています。


ether.jsを使用したDApps開発

ether.js と React を使用して DApps を開発します。

Reactプロジェクトの生成

<coce PowerShell>

npx create-react-app react-etherjs

Need to install the following packages:

create-react-app

Ok to proceed? (y) y npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.

Creating a new React app in C:\Users\miyazato\work\ethereum\react-etherjs.

Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template…

added 1377 packages in 2m

179 packages are looking for funding

run `npm fund` for details

Initialized a git repository.

Installing template dependencies using npm… npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated

added 39 packages in 17s

179 packages are looking for funding

run `npm fund` for details

Removing template package using npm…

removed 1 package, and audited 1416 packages in 6s

179 packages are looking for funding

run `npm fund` for details

6 moderate severity vulnerabilities

To address all issues (including breaking changes), run:

npm audit fix --force

Run `npm audit` for details.

Created git commit.

Success! Created react-etherjs at C:\Users\miyazato\work\ethereum\react-etherjs Inside that directory, you can run several commands:

npm start
  Starts the development server.
npm run build
  Bundles the app into static files for production.
npm test
  Starts the test runner.
npm run eject
  Removes this tool and copies build dependencies, configuration files
  and scripts into the app directory. If you do this, you can’t go back!

We suggest that you begin by typing:

cd react-etherjs
npm start

Happy hacking!

cd react-etherjs

</code>

blockchain/ether.jsを使用したdapps開発.1652009518.txt.gz · 最終更新: 2022/05/08 11:31 by dot