Skip to main content

Limits and defaults

Storage and retention

Value
Retention range1 to 365 days, per stream
Default retention180 days
Where it is setChannel settings, by the owner; your own settings for your DM inbox
Changing itAn on-chain transaction
Storage providers per channelOne or more, added or removed at any time
Messages per erase request100, batched automatically
Erasure reported asPer storage provider, "erased on k of n"
Signed request validity5 minutes of clock skew, one nonce per request
Gate answers cached by the node10 minutes
Retention sweep on the nodeEvery 6 hours

Files

Value
Chunk size, storage transportAbout 240 KB, the practical per-message limit
Chunk partitions9, round-robin
P2P transport, per file500 MB maximum
Seed cache700 MB, kept up to 7 days for re-serving
Download availabilityStorage: the channel's retention. P2P: while a seeder is online

Channel keys

Value
Scheduled epoch rotationEvery 7 days, when an admin is present
Publish key reset, sealed channelsTwo transactions

Push notifications

Value
Tag size1 byte, so 256 buckets shared by all users
Proof-of-work4 leading zeros, bound to a 10-second epoch
Registration refreshEvery 6 hours
Registration secrecyEncrypted to the relay's public key
Content in the push pathNone

Cryptography

Value
Channel and DM contentAES-256-GCM
DM key agreementECDH on secp256k1, fresh ephemeral key per message, HKDF-SHA256
Protected-channel keyPBKDF2-SHA256, 310,000 iterations, from the password
Web app state at restAES-256-GCM under a key derived from a wallet signature
Web private key at restscrypt-encrypted keystore
Android key at restEncrypted preferences under a hardware-backed key

On-chain costs

Paid in POL on Polygon PoS, typically cents:

  • Creating a channel, and the gate contract if it is contract-backed
  • Creating your DM inbox, once
  • Adding or removing members of a closed channel
  • Changing a channel's retention or storage providers
  • Banning at the contract level, appointing a moderator, and resetting a sealed channel's publish key

Chatting, DMs, file sharing, joining an open channel and rotating the channel key are free.

Platform requirements

Value
Android8.0, API 26, or newer
iOS pushRequires the PWA installed to the Home Screen, iOS 16.4 or newer
Storage node endpointHTTPS on a real hostname