https://github.com/deco31416/dapp-donate-restaurants-nft
A dapp that allows customers to donate funds to restaurants and earn NFT
https://github.com/deco31416/dapp-donate-restaurants-nft
Last synced: 3 months ago
JSON representation
A dapp that allows customers to donate funds to restaurants and earn NFT
- Host: GitHub
- URL: https://github.com/deco31416/dapp-donate-restaurants-nft
- Owner: deco31416
- License: mit
- Created: 2022-04-11T00:06:35.000Z (about 3 years ago)
- Default Branch: dev
- Last Pushed: 2022-04-11T00:06:43.000Z (about 3 years ago)
- Last Synced: 2025-01-10T23:19:49.891Z (4 months ago)
- Language: JavaScript
- Homepage: https://fund-the-restaurants.web.app/
- Size: 341 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fund The Restaurants
A dapp that allows customers to donate funds to restaurants and earn NFT- Live Site - https://fund-the-restaurants.web.app/
- Demo - https://youtu.be/Cj3Wk7cqk4Q## Features
- Customers can donate crypto to restaurants owners
- Restaurant owners can create a post to get funds from someone
- Customers can earn NFT and FTR(ERC20) by donating crypto to restaurants
- Customers can also earn FTR by sharing the link to their friends or families
- Customers can pay 1 FTR to change the background color of their NFTs
- Image is uploaded on IPFS
- Latest price for Matic and ETH using Chainlink Price Feeds## Technologies
- React
- Bootstrap 4
- Solidity
- Openzeppelin/contracts ERC721.sol and ERC20.sol
- IPFS
- Chainlink Price Feeds
- Portis (Alternative Wallet Provider)
- Moralis SDK## Running the dapp on local host
- Clone or download this repository
- Run `npm i` to install the dependencies
- Open up Ganache and click "Quickstart"
- Run `truffle migrate` to deploy the contract
- Create a file called 'config.js' on the src folder and add the following code
```
export const portisId = 'Get Portis ID from Portis Dashboard';
```
- Run `npm start` to start the dapp## Disclaimer
These contracts are not audited. Please review this code on your own before using any of the following code for production. I will not be responsible or liable for all loss or damage caused from this project.