luislucena16 / workshop-chainlink

NFT Marketplace with Solidity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About this repository

This is a complete NFT Marketplace with scripts, tests and deploys. Built with Solidity using Hardhat.

Setting Up

  1. Clone the repository

  2. Install dependencies

$ cd workshop-chainlink
$ npm install
  1. Boot up local development blockchain
$ npx hardhat node

Note: you must have a separate terminal running your node with hardhat in order to deploy.

  1. Connect development blockchain accounts to MetaMask
  • Copy private key of the addresses and import to MetaMask.
  • Connect your metamask to hardhat blockchain, network 127.0.0.1:8545.
  • If you have not added hardhat to the list of networks on your metamask, open up a browser, click the fox icon, then click the top center dropdown button that lists all the available networks then click add networks. A form should pop up. For the "Network Name" field enter "Hardhat". For the "New RPC URL" field enter "http://127.0.0.1:8545". For the chain ID enter "1337". Then click save.
  1. Deployment
$ npx hardhat run src/backend/scripts/deploy.js --network localhost
  1. Tests
$ npx hardhat test

Contribution

  • Create a new branch and open an PR!!

About

NFT Marketplace with Solidity

License:MIT License


Languages

Language:JavaScript 70.8%Language:Solidity 29.2%