Skip to content

A dapp that allows customers to donate funds to restaurants and earn NFT

License

Notifications You must be signed in to change notification settings

Crypto-Help-Team/Fund-The-Restaurants

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fund The Restaurants

A dapp that allows customers to donate funds to restaurants and earn NFT

Polygon (Matic Mumbai) Testnet

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)

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

About

A dapp that allows customers to donate funds to restaurants and earn NFT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.9%
  • Solidity 10.8%
  • HTML 2.7%
  • CSS 1.6%