Skip to content
SafeStay

SafeStay

Deposit history landlords cannot fake

Created on 18th October 2026

•

SafeStay

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_terms naming the tenant wallet.
  • The tenant later signs a deposit_outcome referencing 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 send project='safestay_v1' plus $creator and walk pages.
  • createdAt is not indexed. Range filters on it silently return zero rows. We write our own ts: u64 attribute instead.
  • Silent mis-typing. A bare Date.now() stores as i32 and overflows; every timestamp needs u64(BigInt(...)).
  • Attribute casing. SDK types accept camelCase, Tiramisu rejects it at write time. All keys are snake_case.
  • watchEntityEvents handlers. onEntityEvent fails silently; the real names are onEntityCreated and onEvent, and the stream is network-wide so we filter on project ourselves.
  • executeBatch returns no deadlines. We derive keys first with predictEntityKeys (salts reused) so outcome and evidence cross-link atomically.
  • ANON_COST_LIMITED bursts, including an HTTP-200 JSON-RPC error shape that viem's 429 retry ignores. Fixed with batched transport, pinned-block snapshots, and optional X-API-KEY.

Link to a twitter post explaining your project (or post with the video)

https://x.com/DruxAMB/status/2112460220098326660?s=20

Tracks Applied (5)

Censorship Resistance

SafeStay's record cannot be taken down by anyone, including us. Every entity is readonly and signed by its creator's wa...Read More

Open Source

Public MIT repo with full commit history: https://github.com/DruxAMB/safestay The entity schema (arkiv/schema.md), frict...Read More

Privacy

SafeStay keeps personal data off-chain by design. No names, phone numbers, or exact addresses ever touch Arkiv; arkiv/s...Read More

Security

SafeStay's core claim is that who wrote a record is verifiable on-chain, not who the app says wrote it. Every record is...Read More

Best Indian Use Case

Deposit fraud is a daily, high-value problem for Indian renters: ₹20,000 to ₹1,00,000+ handed over in Bangalore, Mumbai,...Read More

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