Skip to content

Bias-Resistant Deterministic Juror Selection from On-Chain Entropy #39

Open

Description

@meshackyaro

Description

This issue aims to address the implementation of Bias-Resistant Deterministic Juror Selection from On-Chain Entropy.

The core objective is to: Implement a verifiable, reproducible juror-selection algorithm seeded from on-chain entropy that resists grinding and manipulation by the disputing parties.

By completing this feature, we will ensure that the TrustFlow protocol maintains its high standards for security, usability, and decentralized logic. This issue requires careful attention to the Smart Contracts architecture and adherence to the existing project conventions.

When picking up this issue, please ensure you document any new dependencies or architectural decisions made during development.

Component

Smart Contracts

Difficulty

🔴 Hard

Tasks

  • Review Soroban architecture and soroban-cli usage
  • Implement Rust logic for: Bias-Resistant Deterministic Juror Selection from On-Chain Entropy
  • Write comprehensive unit tests in Rust
  • Ensure proper event emission for indexing
  • Run cargo fmt and cargo clippy
  • Verify soroban contract build successfully compiles to WASM without bloating size

Acceptance Criteria

  • Feature accurately implements the objective: Implement a verifiable, reproducible juror-selection algorithm seeded from on-chain entropy that resists grinding and manipulation by the disputing parties.
  • Any PR that introduces Rust errors is automatically blocked
  • CI pipeline runs in under 3 minutes per PR
  • Code is properly reviewed and approved by codeowners

Estimated Time

3-5 days

Activity

  1. added
    enhancement
    help wanted
    Maybe Rewarded
    GrantFox OSS
    Official Campaign | FWC26
    priority: high
    difficulty: hard
    on Jul 20, 2026
  2. guptakumarranjeet150 commented on Sep 12, 2026

    @guptakumarranjeet150

    Hello @maintainers,

    I would love to take this on. My planned approach:

    • Implement Bias-Resistant Deterministic Juror Selection from On-Chain Entropy with explicit require_auth checks, clean storage layouts, and robust Soroban contract logic.
    • Add comprehensive unit tests verifying both happy-path invocations and unauthorized revert scenarios.

    Excited to work on this—please assign to me and I'll submit a clean PR shortly!

  3. shobhamerabacha-star commented on Sep 14, 2026

    @shobhamerabacha-star

    Hey team,

    I would love to take this on. My planned approach:

    • Implement Bias-Resistant Deterministic Juror Selection from On-Chain Entropy with explicit require_auth checks, clean storage layouts, and robust Soroban contract logic.
    • Add comprehensive unit tests verifying both happy-path invocations and unauthorized revert scenarios.

    Ready to deliver a clean, tested PR within 12–24 hours. Please assign!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSMaybe RewardedOfficial Campaign | FWC26difficulty: hardenhancementhelp wantedpriority: high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions