Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.55 KB

README.md

File metadata and controls

34 lines (27 loc) · 1.55 KB

NFT Buying and Bidding platform

Introduction:-

This is a kind of market place where we can directly buy the NFT's or could gamble the NFT's of the client based on the game we play like rock ,paper, scissors or cup game.

Functionality :-

  • As part of buying its directly transfering the price of the NFT to the owner of the NFT and sending NFT to the buyers account .
  • When it comes to bidding the buyer should have to pay 51% of the NFT price in order to play the game to win . As it is a 2 player game the contract would take total of 102% of the NFT ammount in which the winner would get the NFT and the 100% amount would be send to the owner and the remaining 2% is transferred to the admin of the market.

Basic Requirements :-

  • ERC721 smart contract
  • Hardhat environment
  • Knowledge in soldiity

Sample Hardhat Project Working and commands

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.

Try running some of the following tasks:

npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js

Steps to Run the project :

  • Download the source code in rar format .
  • Extract the file and copy the specified path .
  • open the folder in the visual studio code .
  • In the terminal enter the command "npm install" for downloading all the dependencies of the project .
  • Run the project bu using the command "npm start"
  • The project final rendering is present in the files of the code .