SafeStay
Deposit history landlords cannot fake
Created on 18th October 2026
•
SafeStay
Deposit history landlords cannot fake
The problem SafeStay solves
Renters in India hand over ₹20,000 to ₹1,00,000+ in deposits and PG advances with no way to check whether the landlord returned the last tenant's money.
- Review sites are gameable, brokers are paid by the landlord, and nothing about the refund is on record.
- When a landlord keeps a deposit it leaves no public trace, so the next tenant pays blind again.
What SafeStay does: turns deposit outcomes into public, wallet-signed, immutable Arkiv entities.
- A landlord signs
deposit_termsnaming the tenant wallet. - The tenant later signs a
deposit_outcomereferencing those terms. - An outcome counts as verified only when the referenced terms name that same tenant wallet back, so fake reviews require colluding with the landlord's own key.
- Any renter can read a landlord's full record before paying: signed stays, amounts promised versus returned, kept amounts, evidence hashes, expiry dates.
No payments, no custody, no star ratings. Cryptographic provenance on a record nobody, including us, can edit.
Challenges I ran into
Eleven concrete issues are documented in arkiv/friction.md with the exact errors observed on Tiramisu. The ones that cost real time:
- Bare
select()fails. No way to ask for the latest N entities without a predicate. We always sendproject='safestay_v1'plus$creatorand walk pages. createdAtis not indexed. Range filters on it silently return zero rows. We write our ownts: u64attribute instead.- Silent mis-typing. A bare
Date.now()stores asi32and overflows; every timestamp needsu64(BigInt(...)). - Attribute casing. SDK types accept camelCase, Tiramisu rejects it at write time. All keys are snake_case.
watchEntityEventshandlers.onEntityEventfails silently; the real names areonEntityCreatedandonEvent, and the stream is network-wide so we filter onprojectourselves.executeBatchreturns no deadlines. We derive keys first withpredictEntityKeys(salts reused) so outcome and evidence cross-link atomically.ANON_COST_LIMITEDbursts, including an HTTP-200 JSON-RPC error shape that viem's 429 retry ignores. Fixed with batched transport, pinned-block snapshots, and optionalX-API-KEY.
Link to a twitter post explaining your project (or post with the video)
Tracks Applied (5)
Censorship Resistance
Open Source
Privacy
Security
Best Indian Use Case
Technologies used
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
Discussion
Builders also viewed
See more projects on Devfolio
