Espressos
https://github.com/BlockCaffeine/EspressOS
This component is the web application that provides a user interface for interacting with the Smart Contract Cafereum. It is written using Svelte-Kit and uses the Viem library for interacting with the blockchain.
The application connects to the users metamask wallet and allows users to purchase coffee products as well as view their statistics. It is optimized for mobile devices only and not tested on desktop.
Getting Started
- Add
.envfile with the following content:
env
PUBLIC_CAFEREUM_ADDRESS="0x1234567890abcdef1234567890abcdef12345678" # Smart contract address- Install dependencies:
bash
pnpm install
pnpm run dev:start