Skip to content
Akinbola0xKENZMAN
Work/Games · Privacy & cryptography
Stellar

Clash of Pirates

On-chain PvP where zero-knowledge proofs hide your moves until the reveal.

Role
Lead engineer
When
Jan 2026 – Feb 2026
Team
105 of 132 commits, 6 contributors
Stack
Noir, Rust / Soroban, UltraHonk, TypeScript
Clash of Pirates: screenshot of the live app

Overview

Players commit three turns of attacks (Slash, Fireball, Lightning) and defenses (Block, Dodge, Counter). A Noir circuit proves every move is legal and binds the commitment to the player and the session, so nobody can peek or change moves after seeing the opponent's.

The problem

On a public chain, the second player can read the first player's move before choosing. Simultaneous-move games need hiding plus proof of honesty.

What I built

  1. A duel-commit circuit validating six move types and producing a Pedersen commitment bound to player and session
  2. Soroban contracts for the game, a token, a points tracker and an on-chain UltraHonk verifier
  3. Passkey smart-account wallets with WebAuthn and Ed25519 verifiers and delegated session keys
  4. An animated battle UI kept strictly separate from protocol logic

Under the hood

How it flows

On-chain

Stack

NoirRust / SorobanUltraHonkTypeScriptVitePasskey smart accounts