Types of Messages

  1. Posts: General updates or announcements.
  2. Reactions: Responses to posts or URLs, like likes or recasts.
  3. Follows: Indicating a user follows another account.
  4. Verifications: Confirming ownership of an Ethereum address.
  5. UserData: Providing metadata about an account.

Message Storage and Limits

Messages are stored on OpenRealm Hubs and are subject to storage limits based on the type of message and the rented storage units from the Storage Registry.

CategoryLimit
Casts5,000
Reactions2,500
Links2,500
Verifications50
UserData50

Ordering and Expiration

Messages include timestamps for display and ordering, though these are user-reported and not verifiable. When storage limits are exceeded, the oldest messages (based on timestamps) are discarded, with the message hash serving as a tiebreaker.

Specific Message Types

  1. Casts

Definition: Short, public messages with text, URLs, and mentions. Content: Can contain up to 320 bytes of text, two URLs, and five mentions. Management: Operate on a first-in, first-out basis when limits are reached.

  1. Threads

Function: Replies to casts form threads, with each reply referencing the parent cast’s ID. Structure: A cast without a parent ID is a top-level cast, while replies form a thread.

  1. Channels

Channels organize casts by topics, similar to forums. A cast can denote a topic URI as its parent, defining the channel’s scope.

  1. Reactions

Function: Indicate a relationship between an account and a target (cast or URL). Types: Likes or recasts, managed on a first-in, first-out basis upon limit exceedance.

  1. Links

Function: Indicate following relationships between accounts. Management: Operate on a first-in, first-out basis with a display timestamp for expiration management.

  1. Verifications

Purpose: Prove ownership of an Ethereum address, using signatures from both the Ethereum address and the account’s signer. Standard: Utilizes the EIP-712 standard for signature requests.

  1. UserData

Uniqueness: Only one message per type is retained; older duplicates are discarded.

TypeDescription
pfpURL of a profile picture
displayDisplay name for the account
bioShort biography about the account
urlURL of the account’s homepage
usernameActive username of the account