NextJS Daap, Matic, ERC721 Marketplace Credit of project idea https://github.com/dabit3/polygon-ethereum-nextjs-marketplace/
https://github.com/doncesarts/react-dapp-erc721-token
This is a Next.js project bootstrapped with create-next-app
.
Configure private key to deploy smart contracts .secret
Run hardhat ethereum node:
npx hardhat node
Deploy contracts to the network
npx hardhat run --network localhost scripts/deploy.js
The address of the smart contracts will be displayed:
nftMarket deployed to: 0x....
nft deployed to: 0x....
Configure environment variables at .env
Run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.