hackquest logo
  • Learn
  • Explore Course
  • Build
  • Explore Hackathon
  • Project Archive
  • Community
  • Forum
  • Global Event
  • My Community
  • Co-learning
  • Organization Hub
  • More
    • Glossary
    • Blog
    • Faucet
    • Job Station
    • Press Kit
    • Founder
hackquest logo

Baraza Protocal

Reputation-weighted, on-chain arbitration for chamas, ROSCAs, and informal trade partnerships piloted in East Africa, built on Arbitrum with Stylus (Rust) jury selection.

Videos

Project image 1
Project image 2
Project image 3
Project image 4

Tech Stack

React
Node
Web3
Ethers
Solidity
Rust
Arbitrum
Arbitrum Stylus

Description

Baraza Protocol brings reputation-weighted, on-chain arbitration to chamas, ROSCAs, and informal trade partnerships — trust economies that run on a handshake, not a contract. When a dispute happens, both parties post a bond (via M-Pesa or a wallet), a Stylus (Rust) contract runs a commit-reveal, reputation-weighted random draw over the circle's own members to select a jury, and a majority vote resolves the case on-chain forfeiting the losing party's bond and updating both parties' soulbound reputation score.

Unlike generic on-chain arbitration (e.g. Kleros), Baraza is built for a non-crypto-native user: gasless filing, mobile-money bonds, and jurors drawn from people who actually know the circle, not anonymous global stakers.

Progress During Hackathon

Fully built from scratch and independently verified across contracts, backend, and frontend:

  1. Smart contracts:

DisputeEscrow, BarazaRegistry, and ReputationSBT deployed and tested live on Arbitrum Sepolia, covering the complete dispute lifecycle: filing, bonding, jury selection, voting, resolution, and on-chain reputation updates.

Testing also surfaced and fixed a real edge case: a juror without a minted reputation profile could have made resolution revert permanently and strand both bonds. Jury selection now guarantees every juror has a profile.

  1. Stablecoin bonds (Paxos USDG):

Bonds can now be posted in USDG as well as ETH, gated by an admin-controlled token allowlist so a dispute can't be denominated in an arbitrary token. Tested end to end against real deployed bytecode: file, approve, bond, jury draw, vote, resolve, payout (the winner receives 95% of the pot; 5% stays as the juror reward pool). Official Paxos addresses for Arbitrum Sepolia and Arbitrum One are wired in.

  1. Stylus jury selection:

The reputation-weighted, commit-reveal draw algorithm is independently verified via a dependency-minimal Rust test crate (determinism, no duplicate jurors, zero-reputation floor all pass). The full stylus-sdk contract wrapper is written but not yet compiled/deployed — a Solidity MockJurySelector stands in for it today, with the real Stylus contract as the clear next milestone.

  1. Backend:

Express API with an M-Pesa relayer ( Daraja-sandbox-ready). A payer confirms a bond by M-Pesa and the relayer records it on-chain, so the bonding step needs no wallet or gas from a non-crypto-native user. Gasless dispute filing via ERC-4337 account abstraction is designed for but not yet integrated.

  1. Frontend:

React app with a custom visual identity built around the protocol's own metaphor: disputes render as a literal jury circle, not a generic dashboard. Live and fully connected to the deployed contracts.

This isn't a proof-of-concept scaffold — it's a working system, honest about the one piece still ahead of it.

Fundraising Status

No funds raised. Baraza Protocol is a hackathon entry no token, no fundraise. Open to grant or seed funding to continue development post-hackathon.

Team Leader
JJames wasonga
Project Link
Deploy Ecosystem
Arbitrum SepoliaArbitrum Sepolia
Sector
SocialFiDeFiInfra