Quick Start
Upload an Avatar
objekt ens avatar upload 1a35e1.eth -f avatar.png -w my-walletUpload 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 ipfsThis 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-walletBuyers pay USDC on Base via x402 to get the view key:
objekt reveal buy 1a35e1.eth phone -w buyer-walletHow It Works
- Sign — CLI signs requests with EIP-712 typed data via your OWS wallet
- Pay — For paid tiers (IPFS, Arweave), x402 wraps fetch with USDC payment on Base
- Store — Server validates signature, verifies ENS ownership, stores content
- Encrypt — Client-side ECIES encrypts content for multiple recipients across chains
- Reveal — View keys are escrowed, buyers pay to access them