Skip to content

Documentation

Photos

Shrink and split by default. Your Pinata JWT sends a photo as one locked file, with a message pointer and network costs.

Without extra setup, a photo is shrunk on your device and split across many network fees. The chat still encrypts it. CorvidLabs does not pin files for you. We will not host a paid pin, because we could not moderate files we cannot read.

One encrypted file with your Pinata JWT

Add your own Pinata JWT in Settings, under Photos. Raven locks the file on this device, stores only the locked bytes with Pinata, and the chat sends one message that points at that file. Not an NFT. Recipients do not need a Pinata account. They fetch through a public Pinata gateway and unlock the photo on their device.

What to paste

  1. Open Pinata, then API Keys, and create a key with pinning permission.
  2. Copy the JWT. It is a long token that starts with eyJ. Do not paste the API Key or API Secret from that same page.
  3. In Raven Settings, paste the JWT and Save. Leave the upload address as Pinata's API. You do not need your own gateway.

Raven checks the JWT with Pinata before keeping it. If Pinata rejects it, your message and ALGO stay in the composer and no message transaction is submitted.

What you are responsible for

You are responsible for what you upload with your Pinata account. Pinata receives encrypted content, not the photo plaintext. It can still see upload timing, encrypted size, and the submitted file name. Recipients who can decrypt the chat can see the photo.

Availability, deletion, and photo metadata

A permanent message pointer does not guarantee that an off-chain file will stay available. You or another provider must keep the encrypted file stored. Unpinning it does not erase copies held by gateways, recipients, or other people.

The original-file upload path preserves the file before encryption. A recipient can therefore receive EXIF location or other metadata inside the original photo. Check and remove sensitive metadata before choosing the file. The on-chain shrink-and-split path re-encodes the image, but its encrypted fragments and transaction metadata remain public records.

Gateways can observe which content identifiers you request and your network address. Read Privacy and security for the wider trade-offs.