About
## Challenges I ran into
## Challenges I ran into
**1. We guessed the query syntax wrong.** We started with `attr = "x" && n >= 1`. Arkiv's real language is typed: `attr = str('x') AND n >= i32(1)`, with `key(0xโฆ)` for references. We found this by reading the SDK source. Now every query is built with the SDK's own `eq / and / or / gte` helpers, and the exact string is shown in the app's "Show query" panel.
**2. The node rejected `createdAt`, though the SDK accepts it.** Writing an attribute named `createdAt` failed on Tiramisu with an error saying the name holds `"A"`, outside the charset, while the SDK's validator allows AโZ. We renamed every attribute to `snake_case` (`created_at`, `post_key`, `entry_key`โฆ).
**3. Fresh wallets can't pay for gas.**
The faucet needs a login, so a throwaway wallet can't fund itself. An unfunded write fails with `Execution error without revert data`, which doesn't mention balance being the problem .
**4. The public RPC rate-limited us (`ANON_COST_LIMITED`).** A feed that needs every entity of several types, plus polling every 5โ30 seconds, used up the anonymous query budget fast. We added one shared 60-second cache per query, slowed polling to 2 minutes, and derived the stats from the cached lists instead of separate counting queries.
**5. Seeding 2,486 entities that reference each other.** Comments need their post's key and votes need their target's key. We wrote in phases (posts โ confirmations โ comments by depth โ votes), mapped the returned keys, batched with `executeBatch`, and derived the 21 wallets from one master key so the addresses are reproducible.
**6. "Still accurate" needs a non-owner to extend a post.** It wasn't clear that this was allowed. The answer is the `permissionlessExtension` creation flag, set at creation. Salaries carry it, so any wallet can extend one without being able to change it. Every entity is also `readonly`.
**7. Static export broke prefetch.**
Next 16's static export wrote prefetch files under paths the client doesn't request, causing 404s. A small post-build script writes the expected copies.
**8. What we chose not to build.**
We considered LinkedIn sign-in for verification. It needs a backend, doesn't confirm employment, and would tie posts to real identities, so we didn't build it. Companies come from a pasted LinkedIn company page link instead, and private employment proof (zkEmail) is designed in `docs/zkemail-design.md` but not built.
Details and repro steps for the Arkiv-specific items are in [`arkiv/friction.md`](https://github.com/jashwanth0712/tanka/blob/main/arkiv/friction.md).
## Link to a twitter post explaining your project (or post with the video) https://x.com/jashwanth0712/status/2111933509594206533?s=20
## The problem it solves
**The problem it solves**
- **Salaries are a secret.** Offers are quoted as one "CTC" number, and what people really earn in a role, level and city is rarely public.
- **Honest workplace news gets silenced.** Posts about layoffs, delayed appraisals and toxic teams are the first to be taken down by a legal notice or HR complaint.
- **Speaking up is risky.** Posting under your name or an email-linked account can cost you the job, so most people stay quiet and the data stays thin.
- **Fake entries are easy.** One person can post ten inflated salaries to make a company look generous, and a salary from years ago sits there looking current.
- **You have to trust the site.** If a review site edits or deletes a number, nobody can tell.
**How Tankha fixes it**
- **Anonymous packages and threads.** There's no sign-up and no email. You see pseudonyms, and a scanner blocks phone numbers, emails and links before anything is written.
- **Nothing to take down.** Every post, vote and comment is an Arkiv entity, read-only once written, with no database or server of ours.
- **Fakes get flagged.** A trust score computed from chain data hides suspicious bursts by default and warns the community.
- **Stale data fades.** Posts expire after about 18 months unless someone confirms them as "Still accurate".
- **You can check it yourself.** Every list shows the exact Arkiv query behind it, so anyone can reproduce the numbers.
- **Any company, any time.** Paste a company's LinkedIn page link and its community exists.
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.








