Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Quick Start

Upload an Avatar

objekt ens avatar upload 1a35e1.eth -f avatar.png -w my-wallet

Upload with Encryption

Encrypt a file so only you and specific recipients can read it:

objekt put secret.pdf -w my-wallet --encrypt --view-key --storage ipfs

This outputs a view key (objekt_vk_...) and a content URI. Anyone with the view key can decrypt.

Sell Access

Deposit the view key to the reveal service with a price:

objekt reveal deposit 1a35e1.eth phone \
  --view-key objekt_vk_abc123... \
  --price 5.00 \
  --content-uri ipfs://Qm... \
  --ttl 7d \
  -w my-wallet

Buyers pay USDC on Base via x402 to get the view key:

objekt reveal buy 1a35e1.eth phone -w buyer-wallet

How It Works

  1. Sign — CLI signs requests with EIP-712 typed data via your OWS wallet
  2. Pay — For paid tiers (IPFS, Arweave), x402 wraps fetch with USDC payment on Base
  3. Store — Server validates signature, verifies ENS ownership, stores content
  4. Encrypt — Client-side ECIES encrypts content for multiple recipients across chains
  5. Reveal — View keys are escrowed, buyers pay to access them