-
Setup NextJS App
Create a nextjs app with below command
npx create-next-app storage-frontend
Add tailwind (to make it simpler to add styling for frontend elements)
https://tailwindcss.com/docs/guides/nextjs (Step 2 and 3 from the link)
-
Metamask and Network Setup
Make sure you installed metamask or other wallet provider.
Switch the network to GoerliTestNet
Make sure to have some GoerliETH to test the app.
-
Install required dependencies
To start from scratch
npm install ethers axios web3modal @walletconnect/web3-provider
Update the code in
index.js
as per the requirement.To simulate the exisiting one:
Clone the repo.
Run
npm i
andnpm run dev
-
To connect your own contract
Update the
/next.config.js
env variablesCONTRACT_ADDRESS
andABI
-
Notifications
You must be signed in to change notification settings - Fork 7
Metacrafters/AdvancedSol_EthersJS
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
The ethersJS advanced Solidity Lesson will be in this repository.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published