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
- Mint a wine NFT
- Buy minted wine NFT
- Gift minted wine NFT to other users using their wallet address
You will need node and yarn installed.
Step-by-step guide to running this NFT minter locally;
-
Clone the repo
git clone https://github.com/gaubrey1/winery.git
-
Install NPM packages
npm install
-
Run your application
npm start
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
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!
- Fork the Project
- Create your new feature branch (
git checkout -b feature/newfeature
) - Commit your changes (
git commit -m 'added a/some new feature(s)'
) - Push to the branch (
git push origin feature/newfeature
) - Open a pull request