Realcast

Mobile Farcaster Client with Provably Real Media based on Hardware Attestation (Secure Enclaves) and ZK-based anonymity.

Repo
Realcast banner

About

We built a Farcaster client with an inbuilt tool for taking images, such that when the images are taken, they are cryptographically signed by a verifiable credential that belongs to the device. It uses our own in-house cryptographic libraries to guarantee instantaneous anonymous signatures, revokability and scalability (I will elaborate with specifics later). The authencitity of the images are guaranteed by the fact that the needed signing credentials are only distributed to provably honest devices. Ie, their hardware and firmware is signed and hardware-attested, giving strong assurances that the execution environment won't use the keys to sign false data: only what comes through the native camera API gets signed. This is made possible by Google PlayIntegrity, which essentially allows us to treat mobile devices like TEEs.

How it's made

We use our own rust-based crates, which are built on the BBS crate for cryptography, for image signing. We also incorprated parts of C2PA. These libraries were built with Kotlin bindings, which were bound to React Native using Expo's module system.

The React Native part was a fork of Litecast, an existing Farcaster implementation. We introduced PlayIntegrity-based security checks to ensure secure, conditional issuance of the cryptographic credentials needed to sign the images. We improved the UX and robustness of Litecast, and introduced an inbuilt camera applet, where the images are captured and signed within the same secure environment.

The signed images stored on our publicly accessible server, with a FastAPI endpoint written in Python, and the server is configured to optionally timestamp the images. This makes it easy for others to access the images over the Farcaster network. Timestamping on chain involved aggregating hashes in a Merkle tree to save gas and allowing users to fetch a Merkle inclusion proof.

Prizes

  • Polygon · Unified Bridge zkEVM Extension · 3rd place

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

MobiScale

Cryptographic Photo-Identity Verification using Apple's Secure Enclave and RISC-0 ZK Proofs.