FoodGenius

Cook with AI recipes and prove it on-chain—FoodGenius meets Ethereum.

Repo
FoodGenius banner

About

FoodGenius is an AI-powered recipe generator that turns your fridge into a personal chef. Users input available ingredients, and our app generates personalized recipes with cooking instructions.

I integrated Ethereum to add a verifiable proof-of-cooking layer. Every time a user cooks a recipe, they can submit a cryptographic hash of the recipe JSON and an optional IPFS link to the Ethereum Sepolia testnet. This creates a tamper-proof, on-chain record of cooking activity, enabling social reputation, gamification, and future extensions such as badges or NFTs.

In short: AI creates the recipe, Ethereum proves you really cooked it.

How it's made

The frontend is built with React Native + Expo, with a clean UI for inputting ingredients and generating recipes using AI. We added an Onchain Proof page where users can hash their recipe data locally and submit it to a relay server.

The relay server is a lightweight Node.js + Express + ethers.js backend that signs and relays attestations to the RecipeProof.sol smart contract deployed on the Ethereum Sepolia testnet. The contract emits events (RecipeCooked) with metadata including recipe hash, rating, and optional IPFS CID.

For optional decentralized storage, we integrated Web3.Storage (IPFS) so full recipe details can be pinned and linked to the on-chain event.

We kept gas costs low by storing only hashes on-chain (not full recipe data). The architecture allows future integration with WalletConnect, Ethereum Attestation Service (EAS), or NFT-based badges.

Hacky but fun: we built a dual-mode contract where attestations can be relayed by the server during the hackathon demo, but also directly self-attested by users once wallet support is added.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Miam Miam Chef Ai

Miam Miam Chef AI is your AI-powered meal planner, crafting personalized weekly menus with smart nutrition and Web3 integration. Say goodbye to meal stress and hello to effortless, delicious eating—tailored just for you.

Smart AI-Recipe Generator

You are basically turning fridge chaos into food genius!!