Takarabako helps turn your leftover travel cash into dollar savings


Leftover travel cash becomes dollar savings.
Every trip ends the same way: a few foreign banknotes in your pocket. Too little to be worth exchanging, too much to throw away, and useless once you're home. Takarabako (宝箱, "treasure box" in Japanese) gives that cash somewhere to go.
HOW IT WORKS FOR A TRAVELER Sign up with just an email. You get a wallet without a seed phrase or an app, plus a personal ENS name like alice-1a2b.takarabako.eth. For example, at the Takarabako kiosk in Tokyo, scan your QR code and feed in your banknotes. Each note is converted at the live exchange rate and becomes a US-dollar balance on Ethereum, which earns a small base yield. You watch a lacquered treasure box on screen fill with gold as each deposit confirms. You don't need to know anything about crypto: the kiosk does the work, and your cash keeps its value after you fly home.
For every dollar deposited you also receive tkCASH, a token worth one US dollar of the banknotes inside that specific machine. tkCASH is created only when a note goes in and destroyed when cash comes out, so the total supply always matches the cash the kiosks hold.
WHY YOU CAN TRUST THE MACHINE The kiosk is a verifiable machine. Its ENS name, tokyo-01.takarabako.eth, publishes the key it signs every note with, and that key was generated on the device itself. A deposit only counts if the signature matches the kiosk's name, so a fake box or a replayed signature can't create money. Every receipt shows "✓ tokyo-01.takarabako.eth". When an operator counts the cash box, the count is recorded on-chain. If it doesn't match, that kiosk stops accepting deposits until a human resolves it. You can always cash out, even from a paused kiosk.
WHAT YOU CAN DO WITH YOUR SAVINGS
Accounts can be verified as one real person with a World ID selfie check. Unverified accounts can move up to $1,000 a day. Verified customers have no daily limit and can log in at the kiosk with World ID.
FOR OPERATORS Every kiosk becomes a verifiable financial machine. A live proof-of-reserve dashboard shows the cash each kiosk holds, how fully tkCASH is backed, the banknotes coming in, daily cash flows, and who holds the token. An AI treasury agent answers operators' questions from live on-chain data and proposes actions (topping up the yield reserve, adjusting the base rate, pausing a kiosk, or adding USDC float). It can't execute anything: hard limits in code reject unsafe proposals, and a human approves every action. The agent also runs automatically when something looks wrong, like a reserve count that doesn't match.
Takarabako turns the cash you forgot from your trip into savings you can actually use.
Takarabako has four parts: a physical kiosk, a Node/TypeScript backend, a Next.js 16 web app, and five Solidity contracts on Ethereum Sepolia (all verified on Etherscan).
THE KIOSK (HARDWARE) A Raspberry Pi 4 with a touchscreen drives a TB74 bill acceptor on its serial port (ICT protocol, 9600 8E1). A Python listener accepts a note only while a customer is logged in. Otherwise it refuses the note and the acceptor hands it back. It also reports unrecognized notes so the screen can tell the customer to try again. A small Node bridge on the Pi turns each accepted note into a deposit and signs it with a key generated on the Pi itself (EIP-712 NoteAccepted: kiosk, amount, currency, session, nonce, time). The Python code never sees account IDs or talks to the backend directly.
CONTRACTS (Solidity, Foundry)
BACKEND (Node, Express, TypeScript)
FRONTEND (Next.js 16) One app serves three audiences:
PARTNER TECHNOLOGIES AND WHAT THEY GAVE US
Curvegrid MultiBaas: Our contract layer and indexer. Every tkCASH write and every approved agent action is built by MultiBaas as an unsigned transaction, signed locally with the treasury key and submitted, so the key never leaves our backend and we don't need a hosted wallet. Saved Event Queries (cash in by kiosk and by note type, holders rebuilt from Transfer events, reserve attestations) power the dashboard. HMAC-signed webhooks, with replay protection, stream every event into Postgres, which feeds the live feed and wakes the AI agent when something looks wrong. One idempotent script (npm run mb:setup) uploads the ABIs, links the contract addresses, saves the queries and registers the webhook.
ENS v2: Our names live under takarabako.eth on the official ENS v2 Sepolia deployment, with our own registry (subnames are ERC-1155 tokens) and resolver, so any ENS-aware app can resolve them. ENS gave us three features: verifiable kiosks (the name resolves to the Pi's key, and the backend recovers the signer and compares), sending money by name, and positions as transferable deeds (aqua-<id>.takarabako.eth). When a kiosk is retired, it's marked as retired in ENS, and notes signed with the old name stop verifying.
1inch Aqua + SwapVM: Customers provide ETH/USDC liquidity as SwapVM strategies registered in Aqua, using the Aqua and SwapVM SDKs. The advanced mode splits a customer's chosen price range into up to five concentrated strategies. Strategies entirely below the price hold only USDC and strategies entirely above hold only ETH, so a range below the current price becomes a "buy the dip" ladder. Token amounts come from SwapVM's liquidity maths, so every strategy starts at the market price. Because Aqua tracks virtual balances, the treasury can act as the market maker for every customer without moving tokens around.
World ID: A Selfie Check tied to the customer's wallet address. We store the nullifier uniquely (one human, one account), and the same proof also works as a kiosk login.
Privy: Login with Google or an email code in the browser, so travelers never see a seed phrase.
Claude: We use two models for two jobs.
HACKY BITS WORTH MENTIONING
Testing: 18 Foundry tests, including the supply == reserve fuzz test, and 78 backend tests (webhook signatures, policy limits, proposal lifecycle, monitor rules, World ID checks).

