Table of Contents
To get a local copy up and running follow these simple example steps.
-
- Metamask extension https://metamask.io/
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
yarn dev
or
npm run dev
-
Visit http://localhost:3000 to view your application.
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
https://faucet.polygon.technology/
- Select mumbai network
- Select MATIC token
- Paste your wallet address
- Submit and wait...
Distributed under the MIT License. See LICENSE
for more information.
Leonardo Tosetto - leonardo.a.tosetto@gmail.com
Project Link: https://github.com/elPoeta/nft-marketplace
Demo: https://poether-nft.vercel.app/
- 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