/winery

A DApp for exquisite wine products minted as NFT and made available for sale buy users

Primary LanguageJavaScript

Winery

About The Project

Winery is an NFT marketplace for minting, buying and selling wines(vintage wine as well). It is a marketplace for users who love exquisite wine as well as exchange minted wine NFTs. Users are able to

  1. Mint a wine NFT
  2. Buy minted wine NFT
  3. Gift minted wine NFT to other users using their wallet address

Live demo

👨‍💻 Languages/tools used for this project includes

👇 Getting Started

Prerequisites

You will need node and yarn installed.

Installation

Step-by-step guide to running this NFT minter locally;

  1. Clone the repo

    git clone https://github.com/gaubrey1/winery.git
  2. Install NPM packages

    npm install
  3. Run your application

    npm start

Smart-Contract-Deployment

Compile the smart contract

npx hardhat compile

Run tests on smart contract

npx hardhat test

Update env file

  • Create a file in the root directory called ".env"
  • Create a key called MNEMONIC and paste in your mnemonic key. e.g
    MNEMONIC="xxxx xxxx xxxx xxxx xxxx xxxx"
    

You can get your MNEMONIC from Metamask Recovery security phrase in settings

Deploy the smart contract

 npx hardhat run scripts/deploy.js

Run the project

 npm start

✍️ Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your new feature branch (git checkout -b feature/newfeature)
  3. Commit your changes (git commit -m 'added a/some new feature(s)')
  4. Push to the branch (git push origin feature/newfeature)
  5. Open a pull request

Thank you