How to Build a Full Stack NFT Marketplace on Ethereum with Polygon and Next.js – [2021 Tutorial]
Nader Dabit
🚨 Update – Be sure to install ipfs-http-client@50.1.2 instead of ipfs-http-client for this to work properly
🙂 Subscribe to my channel: https://www.youtube.com/naderdabit
🔵 Follow me on Twitter: https://twitter.com/dabit3
🔗 Step by step article:
https://dev.to/dabit3/building-scalable-full-stack-apps-on-ethereum-with-polygon-2cfb
🔗 Source code
https://github.com/dabit3/polygon-ethereum-nextjs-marketplace/
In this video, you’ll learn how to build a full stack NFT marketplace on Ethereum with Solidity, Polygon, IPFS, Next.js, Ethers.js, and Hardhat.
We’ll start from scratch, creating a new project and installing the dependencies. We’ll then write and test out the smart contracts. Once the tests have passed, we’ll write the front end code to connect the smart contracts.
After testing on a local network, we’ll deploy to the Matic / Polygon network using a custom RPC provider (Infura).
0:00 – Introduction
3:00 – Project initialization and configuration
17:40 – Creating an Ethereum wallet
21:20 – Coding the NFT smart contract
28:19 – Coding the Market smart contract
58:50 – Testing the contracts
1:10:57 – Updating _app.js
1:14:35 – Updating the home page
1:35:24 – Deploying to a local node
1:39:47 – Coding the create-item page
1:58:00 – Coding the my-assets page
2:03:10 – Coding the creator-dashboard page
2:09:25 – Deploying to Matic Mumbai Testnet
2:20:40 – Conclusion