Table of Contents
About The Project
#### Web3 Dapp. Buy, sell, and showcase NFTs, over Polygon ethereum network.
##### Inspired by crypto.com/nft
[![Product Name Screen Shot][product-screenshot]](https://poether-nft.vercel.app/)
Built With
Getting Started
To get a local copy up and running follow these simple example steps.
Prerequisites
###### Enviroment
Pacakage manager
npm https://docs.npmjs.com/downloading-and-installing-node-js-and-npm ###### or
###### Browser
Metamask extension https://metamask.io/
Installation
Use yarn or npm to install dependencies
- Clone the repo
git clone https://github.com/elPoeta/nft-marketplace.git
- Install NPM packages
yarn install
or
npm install
- Clean
yarn hardhat clean
or
npx hardhat clean
- Compile
yarn hardhat compile
or
npx hardhat compile
- Start local ethereum network
yarn hardhat node
or
npx hardhat node
- Deploy contract locally
hardhat run --network localhost scripts/deploy.ts
- Tests
yarn hardhat test
or
npx hardhat test
- Client
cd client
- Install NPM packages
yarn install
or
npm install
- Run
sh yarn dev
orsh npm run dev
- Visit http://localhost:3000 to view your application.
Metamask-Local
Metamask hardhat network configuartion
- Open metamask extension
- Add local test nework
- click combo box
click add network button
- Add local network parameters
- Network Name: Hardhat-Localhost
- RPC URL: http://127.0.0.1:8545
- Chain ID: 31337
Currency Symbol: ETH
- Show test network
- click icon
- click settings
- click advanced
switch ON show test networks
- Select test network
- click combo box
click Hardhat-Localhost
- Import private key
- click icon
- click Import Account
- enter hardhat private key
click import
Faucet
Polygon faucet
https://faucet.polygon.technology/
- Select mumbai network
- Select MATIC token
- Paste your wallet address
- Submit and wait…
Demo
https://poether-nft.vercel.app/
License
Distributed under the MIT License. See LICENSE
for more information.
Contact
Leonardo Tosetto - leonardo.a.tosetto@gmail.com
Project Link: https://github.com/elPoeta/nft-marketplace
Demo: https://poether-nft.vercel.app/
Acknowledgments
- Node js
- Typescript
- Solidity
- Hardhat
- Polygon
- Polygon Faucet
- Mumbai Faucet
- React
- Next js
- Vercel
- Alchemy
- Tailwind css
- Metamask
- Hero icons
- Img Shields
- GitHub Emoji Cheat Sheet
- Choose an Open Source License
- vscode
- vscode hardhat extension
- vscode react snippets extension
- vscode Tailwind CSS IntelliSense extension
[product-screenshot]: images/screenshot.gif