Skip to content

mazdakdev/Cafe3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buy Me a Coffee – Single-User Web3-Based Version

A beautiful modern Web3 app built with Nuxt, Vue 3 and Solidity. It uses Foundry for smart contract development and lets users buy me a coffee and leave blockchain-backed messages.

Cafe3

Getting Started

  1. Install Dependencies

    pnpm install
  2. Start Development Server

    pnpm dev
  3. Connect Wallet

    • Install MetaMask browser extension
    • Connect your wallet to the application
    • Switch to Kaia Kairos Testnet (automatically handled)
  4. Buy Coffee

    • Select coffee items and quantities
    • Enter your name and message
    • Confirm the transaction
    • View your message in the guest book

Technical Stack

TODO

Project Structure

TODO

Smart Contract Integration

The frontend integrates with a deployed BuyMeACoffee smart contract that supports:

  • buyCoffee(name, message) - Send coffee with a message
  • getMemos() - Retrieve all coffee orders
  • withdrawTips() - Owner can withdraw accumulated tips
  • getOwner() - Get the contract owner address

TODOs

  • Watch for wallet change
  • Deploy the smart contract to mainnet
  • Deploy frontend to gh pages

About

Cáfe3 – Let's have a coffee in the web's third dimension.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published