Skip to content

feat: Protocol Security, CI Coverage, and Creator Tooling Suite#85

Merged
elizabetheonoja-art merged 1 commit intoSubStream-Protocol:mainfrom
JamesEjembi:feature/protocol-security-and-tooling
Mar 28, 2026
Merged

feat: Protocol Security, CI Coverage, and Creator Tooling Suite#85
elizabetheonoja-art merged 1 commit intoSubStream-Protocol:mainfrom
JamesEjembi:feature/protocol-security-and-tooling

Conversation

@JamesEjembi
Copy link
Copy Markdown
Contributor

🚀 Overview
This PR implements a major upgrade to the SubStream Protocol, focusing on granular security, automated testing visibility, and creator-centric tools.

🧩 Key Changes

  1. Granular Admin Tiers (#27 Integrate Soroban-Auth for Admin Tiers #27)
    Integrated soroban-auth to distinguish between Moderators and Admins.

Moderators: Can manage content and flags.

Admins: Exclusive permission to modify protocol fee percentages.

  1. DevOps & Coverage Reporting (#31 Setup cargo-tarpaulin Report in GitHub Actions #31)
    Added a GitHub Actions workflow using cargo-tarpaulin.

Configured the workflow to comment on PRs with the current code coverage percentage to ensure testing standards.

  1. Subscription-Simulator CLI (#32 Create Subscription-Simulator CLI #32)
    Built a Rust-based CLI tool for creators.

Features: Inputs for growth/churn rates; Outputs for "Estimated Monthly Revenue" and "Historical Growth."

  1. TypeScript Bindings (#35 Export TS Bindings for Creator Dashboard #35)
    Exported auto-generated TS types for the Creator Dashboard.

Enables the Next.js frontend to safely display "Active Subscribers" and "Historical Earnings."

🧪 Testing
Contract: Ran cargo test to verify auth gates.

CI: Verified the Tarpaulin action triggers on this branch.

Tooling: Ran ./target/debug/substream-sim --growth 5 --churn 2.

Closes #27, Closes #31, Closes #32, Closes #35

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 28, 2026

@JamesEjembi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@elizabetheonoja-art elizabetheonoja-art merged commit a4b1870 into SubStream-Protocol:main Mar 28, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants