Skip to content

mikeminer/basedrestaurant

Repository files navigation

🍝 Based Pasta Ristorante — dApp link :https://mikeminer.github.io/basedrestaurant/

featured on https://devfolio.co/projects/based-restaurant-e84d and Farcaster Integration https://farcaster.xyz/miniapps/4fyWAbe6EnGD/based-pasta-ristorante

Welcome to Based Pasta Ristorante, a playful Web3 restaurant experience built as a decentralized application (dApp) on the Base network.

Users can order NFT-based pasta dishes, send on-chain messages, and tip the waiter in ETH — all from a sleek, one-page interface.


🚀 Features

  • NFT Pasta Menu – Choose from iconic Italian pasta dishes (including Pappardelle al Ragù) as free on-chain orders.
  • On-chain Orders – Your pasta choice and note are stored immutably on the Base blockchain.
  • ETH Tips – Tip your waiter in ETH; the higher your tip, the faster the simulated delivery countdown.
  • Transaction Display – See your transaction hash and a direct BaseScan link.
  • ENS Integration – Displays ENS avatar and address for pappardelle.eth.
  • Social Sharing – Quickly DM your order to the chef on X or DeBank.

🧩 Tech Stack

  • HTML / CSS / Vanilla JavaScript (fully client-side)
  • ethers.js v6 for Web3 interactions
  • Base Mainnet RPC for blockchain connectivity
  • ENS API via ethers.js for name and avatar resolution

⚙️ Setup Instructions

1️⃣ Clone the repo

git clone https://github.com/mikeminer/basedrestaurant.git
cd based-pasta-dapp

2️⃣ Open the file

Simply open Based Pasta D App (html) in your browser. No build tools required.


💸 How It Works

  1. Connect your wallet (MetaMask recommended).
  2. Select your pasta dish from the dropdown menu.
  3. Add an optional note (max 64 characters).
  4. Enter an ETH tip amount (optional).
  5. Click “🍽️ Place order (on-chain)”.
  6. The transaction is sent to the Base network.
  7. Once complete, your order summary appears with:
    • BaseScan transaction link
    • Copy-to-clipboard summary
    • Share buttons for X and DeBank

📫 Social Links


🧠 Notes

  • The current smart contract address is (0x18b1119706520839E2aa632191331A94A673F00c).

📜 License

This project is released under the MIT License.


🍷 Buon Appetito & Enjoy the Based Pasta Experience!

About

an italian nft based restaurant built on Base network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors