← all projects

EqubFlow

@sadik-tofik·Sadik Tofik·49 followers·added 2026-10-24
0
stars
28k
lines
184
files
0
forks
49
followers
languages
TypeScript 99%JavaScript 1%

EqubFlow runs Ethiopian rotating savings groups (Equb) on Arc testnet in USDC. packages/domain is a pure, zero-I/O TypeScript core: all money is bigint base units, decision-chain.ts implements RFC 8785 canonical JSON and a SHA-256 hash chain, classifier.ts matches incoming transfers to payment requests, and authorizer.ts decides whether a payout may move. apps/worker/src/watcher.ts ingests USDC ERC-20 Transfer logs from 0x3600000000000000000000000000000000000000 and de-duplicates the 18-decimal native mirror log (0xfffe) so each contribution is credited once. packages/db/src/round-engine.ts opens rounds, creates engine proposals when deadlines pass and settles payouts through the authorizer, under Postgres RLS roles and triggers that freeze core columns of authorized actions. apps/executor/src/circle-adapter.ts is the only component holding wallet credentials: it provisions the pot and per-member Circle developer-controlled wallets and executes authorized transfers. The Next.js app ships English, Amharic and Afaan Oromo, Supabase OTP sign-in, and verify-browser.ts re-verifies the chain client-side. Apache-2.0.

events
tags
circle components
team · solo

1 (Solo) — Sadik Tofik

on xx/sadik_tofik
last pushed 2026-10-16