Back to Portfolio

Afribit Africa

Empowering African communities through Bitcoin education and circular economies.

Next.js
React
Tailwind CSS
BTCPay Server
Lightning Network

Desktop View

Mobile View

Overview

Afribit is a grassroots organization building a Bitcoin circular economy in Kibera, one of Africa's largest informal settlements. The platform facilitates financial inclusion, environmental stewardship, and community resilience through education, waste management, micro-loans, and merchant onboarding. It features a custom donation system, merchant mapping, and community storytelling.

2,000+
Transactions
150+
Merchants
120+
Trained

Key Features

Bitcoin Circular Economy

Integrated payment systems allowing merchants and residents to transact in Bitcoin without intermediaries.

Donation Platform

Custom crowdfunding implementation using BTCPay Server for transparent, direct-to-community donations.

Merchant Mapping

Interactive map showing locations of Bitcoin-accepting merchants in Kibera.

Community Hub

Resources and educational content for the 'Ride to Freedom' boda-boda program and women's upcycling collective.

Under the Hood

donation-processor.ts
async function processDonation(amount: number, currency: string) {
  const rate = await getBitcoinRate(currency);
  const sats = (amount / rate) * 100_000_000;

  return await btcPayServer.createInvoice({
    price: sats,
    currency: "BTC",
    itemDesc: "Community Donation"
  });
}