基于区块链的毕业设计scaffold-eth-nextjs – 脚手架eth nextjs

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计scaffold-eth-nextjs – 脚手架eth nextjs 是一篇很好的国外资料

scaffold-eth-nextjs

This is a work in progress!

My iteration of Austin Griffith’s scaffold-eth. Also inspired by Nader Dabit’s blog post

  • Typescript
  • Hardhat
  • Ethers.js
  • web3-react
  • Linting with ESLint
  • Formatting with Prettier
  • Linting, typechecking and formatting on by default using husky for commit hooks
  • Testing with Jest and react-testing-library

Getting Started

git clone https://github.com/ChangoMan/scaffold-eth-nextjs.git cd scaffold-eth-nextjs  yarn install # or npm install  # Start up the Hardhat Network npx hardhat node

Here we just install the npm project’s dependencies, and by running npx hardhat node we spin up an instance of Hardhat Network that you can connect to using MetaMask. In a different terminal in the same directory, run:

npx hardhat run scripts/deploy.js --network localhost

This will deploy the contract to Hardhat Network. After this completes run:

yarn dev # or npm run dev

This will start up the Next.js development server and your site will be available at http://localhost:3000/

To interact with the local contract, be sure to switch your MetaMask Network to Localhost 8545


scaffold-eth-nextjs

This is a work in progress!

My iteration of Austin Griffith’s scaffold-eth. Also inspired by Nader Dabit’s blog post

  • Typescript
  • Hardhat
  • Ethers.js
  • web3-react
  • Linting with ESLint
  • Formatting with Prettier
  • Linting, typechecking and formatting on by default using husky for commit hooks
  • Testing with Jest and react-testing-library

Getting Started

git clone https://github.com/ChangoMan/scaffold-eth-nextjs.git cd scaffold-eth-nextjs  yarn install # or npm install  # Start up the Hardhat Network npx hardhat node

Here we just install the npm project’s dependencies, and by running npx hardhat node we spin up an instance of Hardhat Network that you can connect to using MetaMask. In a different terminal in the same directory, run:

npx hardhat run scripts/deploy.js --network localhost

This will deploy the contract to Hardhat Network. After this completes run:

yarn dev # or npm run dev

This will start up the Next.js development server and your site will be available at http://localhost:3000/

To interact with the local contract, be sure to switch your MetaMask Network to Localhost 8545

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/22553.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计scaffold-eth-nextjs – 脚手架eth nextjs

提供最优质的资源集合

立即查看 了解详情