You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When competitive payroll bounties or task rewards are published on-chain, frontrunning bots monitoring the public Stellar mempool can observe valid proof submissions, extract the solution payload, and submit their own claim with a higher gas fee to steal the reward before the legitimate contributor's transaction confirms.
Task
Implement a cryptographic commit-reveal claim scheme in contracts/soroban/src/lib.rs:
@liutingqiu has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
I will implement the commit-reveal scheme in contracts/soroban/src/lib.rs by adding commit_bounty_claim and reveal_bounty_claim entrypoints, a Commitment storage key keyed by claimant and bounty_id, and a ledger-sequence gate that rejects reveals before the stored commit ledger plus five. The commitment will be SHA256 over claimant, proof, and secret_salt, and reveal will verify the preimage, validate the bounty solution, then dispatch the token payout to the claimant. In contracts/soroban/src/test.rs I will add test_commit_reveal_full_workflow, test_reveal_before_challenge_delay_rejected, and test_reveal_with_tampered_preimage_panics, plus a mismatched-claimant negative case, then run cd contracts/soroban && cargo test until it passes cleanly. My background includes merged PRs in drydocs/meridian (#1175, #1176) and 65 merged PRs in Sottara-Labs/sottara, so Soroban storage and test patterns are familiar. ETA is same or next day.
@yodakkak has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
I inspected contracts/soroban/src/lib.rs and contracts/soroban/src/test.rs. I will implement commit_bounty_claim(env, claimant, bounty_id, commitment_hash) storing DataKey::BountyCommitment(bounty_id, claimant) with the current ledger sequence, enforce a 5-ledger challenge delay window in reveal_bounty_claim(env, claimant, bounty_id, proof, secret_salt), verify env.crypto().sha256(...) over claimant || proof || secret_salt matches the stored commitment before payout, and add unit tests covering full commit-reveal, early reveal rejection, and preimage/claimant tampering.
Implemented the cryptographic commit-reveal anti-frontrunning mechanism and submitted in PR #214 with full 134/134 green unit test coverage and architectural threat model documentation.
Congratulations, @Aabidah-06! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.
🧑💻 @Aabidah-06: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
😎 @Aabidah-06: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.
markankamaransheogarat-sys commented on Oct 20, 2026
Notice to maintainers @Prudentdev-xyz, @Abdqoharr and @drips-wave:
The implementation of this issue merged via PR #218 was authored and submitted hours earlier by @markankamaransheogarat-sys in PR #214. Please review the formal attribution dispute and cryptographic git audit trail here: #218 (comment)
Activity
liutingqiu commentedon Oct 19, 2026
@liutingqiu has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @liutingqiu to this issue.
yodakkak commentedon Oct 19, 2026
@yodakkak has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @yodakkak to this issue.
markankamaransheogarat-sys commentedon Oct 19, 2026
Implemented the cryptographic commit-reveal anti-frontrunning mechanism and submitted in PR #214 with full 134/134 green unit test coverage and architectural threat model documentation.
Aabidah-06 commentedon Oct 19, 2026
@Aabidah-06 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Aabidah-06 to this issue.
drips-wave commentedon Oct 19, 2026
Congratulations, @Aabidah-06! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.
🧑💻 @Aabidah-06: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
feat(soroban): escrow competitive bounty rewards behind authenticated…
test(soroban): cover bounty settlement, early reveal, tampered preima…
fix(soroban): repair two pre-existing unclosed tests blocking upstrea…
feat: milestone payroll escrow, verified mobile handover, GraphQL str…
drips-wave commentedon Oct 19, 2026
This issue has been completed by @Aabidah-06 as part of the Stellar Wave Program's 10th Wave 🥳
😎 @Aabidah-06: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.
markankamaransheogarat-sys commentedon Oct 20, 2026
Notice to maintainers @Prudentdev-xyz, @Abdqoharr and @drips-wave:
The implementation of this issue merged via PR #218 was authored and submitted hours earlier by @markankamaransheogarat-sys in PR #214. Please review the formal attribution dispute and cryptographic git audit trail here:
#218 (comment)