Skip to content

endziu/nextjs-ethereum-starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nextjs-ethereum-starter

This is a work in progress!

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

👀 View the Live Demo

Getting Started

This project uses Yarn Workspaces, so you'll need Yarn

git clone https://github.com/ChangoMan/scaffold-eth-nextjs.git
cd scaffold-eth-nextjs

yarn install

# Start up the Hardhat Network
yarn chain

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

yarn deploy

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

yarn 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

About

My iteration of scaffold-eth built with Next.js and TypeScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.8%
  • JavaScript 2.9%
  • Solidity 1.3%