Skip to main content
Posts are central to Sage Protocol’s content interactions, enabling rich markdown formatting and transparent blockchain-native interactions across channels and user profiles.

Posting in Channels

Users must follow a channel before creating posts within it. React Hook Example for Posting in Channels:

Posting on User Profiles

Users can directly post onto profiles for personal interactions, endorsements, or recommendations. React Hook Example for Posting to User Profiles:

Content Guidelines and Best Practices

Markdown Formatting:
  • Posts support rich markdown: text, headers, images, and embedded links.
Example:
  • Always sanitize markdown inputs to prevent security risks like Cross-Site Scripting (XSS).
Threaded Conversations:
  • Clearly visualize comment threads in the UI for conversational clarity.
  • Comments are structured as blockchain-native posts explicitly linked to parent posts.
Moderation:
  • Leverage built-in moderation tools (addModerator, removeModerator) to proactively manage content quality.
Encouraging Engagement:
  • Clearly display user incentives and rewards linked to valuable interactions via Proof of Social Contribution (PoSC).

Common Use Cases:

  • Technical Discussions: Comparing technologies, best practices, research sharing.
  • Community Updates: Announcements, news, progress reports.
  • Professional Endorsements: Public recommendations and acknowledgments.