Juicebox

what did your ai get done this week? signed weekly receipts for all your tokenmaxxing

Juicebox

Created At

ETHGlobal Mumbai

Winner of

0G

0G - Build with 0G Private Computer 1st place

Project Description

everyone's token maxing right now. companies spend thousands a month per engineer on claude code and codex, and when someone asks "ok but what did we actually get for it?" the only answer is a token leaderboard. which literally rewards burning tokens, not shipping stuff.

so we built juicebox. every person gets one signed weekly receipt of what their ai actually got done.

it runs on your laptop, reads your claude code and codex sessions, and links them to the PRs and pushes they turned into. when you hit "write my week", a private ai on the 0G private computer (running inside a TEE) reads each session and writes one line: built, fixed, figured out, researched, wrote, planned or wasted. you pay for it from your own 0G credits, so you sign in with 0G and literally watch your balance go down by less than a cent.

then you sign the whole week with a key made on your laptop (no wallet needed, and you can't drop or edit a line, that's the whole point) and send it. the full list goes to swarm, encrypted on your laptop, and arkiv gets a read-only record with the signed totals that you own, not your company. the company signs in with github and sees everyone's week, the PRs behind it and where the money went. never anyone's prompts.

and since both sides have a reason to fudge the numbers, a chainlink CRE workflow checks every team once a month: it reads the receipts straight from arkiv, verifies every signature, asks github if what shipped is still there, and writes the score onchain on sepolia. nobody can change it.

also for fun there's AI Wrapped, which tells you how much time you spend overthinking, treating ai like your therapist, or just saying hi :)

How it's Made

it's a next.js + typescript app that runs right on your laptop. there's no juicebox server at all, which was kind of the point from day one.

first it reads your claude code and codex logs, figures out what each session cost, and matches it to the PRs and commits it actually turned into on github.

then 0G does the fun part. every session goes to a private ai on the 0G private computer, running inside a TEE, so your prompts never hit a normal ai api. it reads what you did and writes one line like "built the spend dashboard" or "went in circles on retries". and you pay with sign in with 0G, so it comes out of your own daily credits. you can literally watch your balance go down by less than a cent. every answer keeps its 0G request id, so you can check it later.

you sign the whole week with a key made on your laptop, so nobody can quietly edit a line after.

sending it was my favourite part to build. the full list gets encrypted on your laptop and goes to swarm. arkiv gets a read-only record with just the signed totals, and the record belongs to you, not your company, even though the company pays the gas. only the company's key can open the list.

and because both sides could fudge the numbers, a chainlink CRE workflow checks every team once a month. it reads the receipts straight from arkiv, checks every signature, asks github if the stuff that shipped is still there, and writes the score onchain on sepolia where nobody can touch it.

the hacky bits: CRE only takes 250 KB per response so we read arkiv in small pages, and swarm's own encryption puts the key inside the link, which you can't put on a public chain, so we encrypt it ourselves and seal the key to the company.

background image mobile

Join the mailing list

Get the latest news and updates