All workCase 03 / 35

Voxcard

On-chain Ajo/Esusu savings circles on Xion

TL;DR · Problem

Ajo and Esusu circles run on trust.

TL;DR · Built

VoxCard moves the traditional Ajo/Esusu rotating savings circle onto a blockchain.

TL;DR · Outcome

VoxCard is deployed on Vercel and runs a complete group-savings flow on Xion: create a group, request and approve membership, contribute in full or in part, and rotate payouts.

Cover — Voxcard
Voxcard screenshot
DemoSee Voxcard in action
Subscribe on YouTube
Voxcard AjoWatch on YouTube ↗
01

Overview

VoxCard moves the traditional Ajo/Esusu rotating savings circle onto a blockchain. People start or join a savings group, contribute each cycle, and the contract tracks who has paid and whose turn it is to receive the pot, so no coordinator holds the money and nobody has to take the treasurer's word for it.

It was built by a team of three. I wrote most of the commits: the CosmWasm contract in Rust (join requests, partial contributions, trust scores, automatic payouts) and the React frontend that talks to it on the Xion chain. A later Stacks version of the same idea added a Turnkey embedded wallet.

02

The challenge

Ajo and Esusu circles run on trust. One person collects every contribution and hands the pot to each member in turn, which works until someone is late, disputes the count, or disappears with the money. Records live in a notebook or a chat thread.

The contract had to encode the social rules of a circle (who may join, how much is due, what happens when someone pays only part of it) in a way that a member with no crypto background could still follow.

03

The goal

Make a savings circle that runs itself on-chain and still feels familiar to people who already use Ajo.

  • 01Let anyone create a plan with a size, contribution amount, frequency and duration.
  • 02Gate membership with a join request that existing members approve or deny.
  • 03Support full and partial contributions each cycle and track what is still owed.
  • 04Pay out to members in rotation without an administrator pressing a button.
  • 05Hide the wallet language so the app reads like a normal sign-in.
04

The Ajo smart contract

The contract is written in Rust with CosmWasm and deployed to Xion. A plan stores its participants, current cycle, payout index and pooled balance. Execute messages cover creating a plan, requesting to join, approving or denying a request, and contributing.

I built the contract's main features over the project: partial and full contributions, per-participant debt tracking, and a trust score that rises with reliable payment. Later fixes corrected the payout index and made payouts happen automatically.

  • 01Plans carry a trust score requirement, so new members can be kept out of high-value circles.
  • 02Join requests are decided by current members through recorded approvals and denials.
  • 03Queries return a participant's cycle status: required, paid, remaining and any debt.
Join flow5 screens · slideshow

01 / 05Plan detail as creator

Plan and dashboard
Plan members and trust score
05

Creating and joining a group

The Create Plan page takes the plan's name, number of participants, amount, frequency and duration, then submits it to the chain. The Plans page lists every plan read back from the contract, and a plan's detail page shows its members, balance and join requests.

Contribute flow4 screens · slideshow

01 / 04Plan after contributing

06

Contributing and payouts

A contribute modal lets a member pay a full instalment or, when the plan allows it, a part of one. The dashboard shows what is due this cycle, past transactions and the member's trust score badge.

Dashboard with trust score
07

Making it feel like Web2

Midway through the build I removed the hard requirement for a visible wallet and reworded the interface: plans became groups and connecting a wallet became signing in. The app uses Burnt Labs' Abstraxion account abstraction on Xion, so people authenticate without handling keys directly.

Plan and dashboard
Dashboard with 'groups' wording
08

The Stacks port

A second repository ports VoxCard to the Stacks blockchain for a Stacks embedded-wallet challenge, with a Clarity contract and sBTC-oriented frontend. My part there was small: I added the Turnkey wallet setup and got the connection working so the frontend was ready to send transactions to the backend. The contract and product requirements document were written by teammates.

09

More screens

Dashboard with empty plan
10

The outcome

VoxCard is deployed on Vercel and runs a complete group-savings flow on Xion: create a group, request and approve membership, contribute in full or in part, and rotate payouts. It shows a real Ajo cycle expressed as contract logic, and the Stacks fork shows the same product carried to a second chain.

Work together

Have an idea worth building?

I take products from first sketch to shipped, on the web, on mobile and on-chain. Let's talk about yours.