Skip to content
ChamaDAO

ChamaDAO

The complete savings platform made for EVERYONE

Created on 27th April 2025

•

ChamaDAO

ChamaDAO

The complete savings platform made for EVERYONE

The problem ChamaDAO solves

According to FSD Kenya, more than a quarter of the Kenyan population(5 million - 7 million citizens) still rely on informal sources of savings and credit, 50%+ of them being women from rural areas. Informal financial groups, such as ROSCAs (Rotating Savings and Credit Associations) and ASCAs (Accumulating Savings and Credit Associations) also called Chamas, help individuals manage short-term risks and fund long-term investments.
However, there exist, in our opinion, four major challenges that have made the growth and expansion of these important financial structures to thrive. In this paper we will take a look at these challenges and explain how and why ChamaDAO is the perfect solution not only to solve the mentioned barriers but also make DeFi more accessible in the African continent.

Transparency & Trust
Traditional chamas rely on manual record-keeping and centralized leadership, creating opportunities for fraud, mismanagement, and disputes. Members often lack real-time visibility into funds, transactions, and decision-making processes, leading to distrust. A truly decentralized and transparent system is required to ensure that every transaction is verifiable, auditable, and immutable, eliminating the need for blind trust in human intermediaries. Hence the need for trust-less agreements.

Capital Access
Today informal savings groups across the continent face significant barriers when seeking external funding, as financial institutions and investors often require extensive credit history and centralized governance structures. Without access to scalable financing, most chamas remain constrained to small, member-funded operations. A decentralized, transparent system is needed to unlock new funding streams, attract investors, and establish on-chain creditworthiness, enabling chamas to access loans, grants, and investment opportunities at scale.

Scalability
As chamas expand, reliance on manual, handwritten processes and informal management systems creates mounting inefficiencies. Critical operational data is often poorly recorded or inaccessible, preventing chamas from leveraging insights to drive informed decision-making. High costs associated with intermediary services and training further restrict growth. A decentralized solution powered by smart contracts can automate contributions, loan disbursement, and rule enforcement while capturing every transaction digitally. This transformation not only slashes administrative overhead and cost but also delivers real-time, analyzable data—empowering chamas to scale seamlessly and make data-driven decisions for sustainable growth.

Challenges we ran into

During the development of ChamaDAO, a decentralized platform modernizing Kenyan savings groups (chamas) on Base, our team faced several technical challenges. These obstacles tested our ingenuity but ultimately strengthened our project. Below, we outline three notable challenges, the hurdles they presented, and how we overcame them to deliver a robust solution.

1. M-Pesa On-Ramp Integration for Fiat-Crypto Bridging

Challenge:
A core feature of ChamaDAO is enabling seamless deposits and withdrawals by integrating M-Pesa, Kenya’s leading mobile money service, to bridge Kenyan Shillings (KES) with on-chain stablecoins (USDC). However, establishing reliable fiat-crypto rails proved challenging. We encountered API rate limits that throttled transaction throughput, inconsistent webhook deliveries that disrupted transaction confirmations, and network outages in rural test regions, mirroring M-Pesa’s known connectivity issues in remote areas. These problems risked delaying user onboarding and undermining the accessibility critical to serving our target audience of 5-7 million chama participants.
Solution:
To address these issues, our team implemented a resilient queuing system for M-Pesa API interactions. Failed on-ramp requests are automatically requeued and retried using an exponential back-off strategy, ensuring graceful handling of rate limits and network disruptions. We also introduced local caching to store webhook data temporarily, mitigating the impact of inconsistent deliveries. For rural connectivity, we optimized our off-chain server to batch transactions during stable network windows, improving reliability. These enhancements not only stabilized M-Pesa integration but also ensured ChamaDAO’s accessibility across diverse network conditions, aligning with Base’s mission to enable scalable, user-friendly DeFi solutions.

2. Structuring and Integrating Uniswap V4 Hooks for DeFi Functionality

Challenge:
To enhance ChamaDAO’s DeFi capabilities, we integrated Uniswap V4 to enable asset swaps, dynamic fee structures, and stablecoin-optimized pools for chama treasuries. However, structuring Uniswap V4 hooks and integrating them with liquidity pools proved complex. We struggled with designing custom hooks to support dynamic fees tailored to chama strategies and faced difficulties ensuring composability with our smart contracts for pool interactions. The novelty of Uniswap V4’s architecture meant limited real-world examples, and our initial implementations led to inefficiencies in gas costs and hook execution.
Solution:
Our team tackled this challenge by diving deep into the Uniswap V4 documentation to understand hook mechanics and pool configurations. We also engaged with the Uniswap Discord community, where we reviewed discussions from developers facing similar issues and adopted their best practices, such as modular hook designs for flexibility. To address dynamic fees, we developed a hook that adjusts fees based on trade volume and pool stability, optimizing returns for chama members. For composability, we refactored our smart contracts to expose standardized interfaces, ensuring seamless integration with Uniswap V4 pools. These efforts enabled ChamaDAO to offer robust DeFi features, such as low-slippage USDC swaps, enhancing treasury management while showcasing Uniswap V4’s potential on Base.

3. Smart Wallet Integration with Secure Storage and Passkeys

Challenge:
To simplify user onboarding, ChamaDAO leverages account abstraction via smart wallets, allowing users to create accounts with email or import existing wallets without external apps. Integrating smart wallets posed significant challenges, particularly around secure storage of sensitive data, such as private keys, and implementing passkeys for authentication. We also faced issues with MMKV (a high-performance key-value storage library) for managing wallet data on mobile devices, as its configuration was unfamiliar to our team. These hurdles risked compromising user security and delaying our mobile app’s deployment.
Solution:
Our team overcame these challenges through rigorous research and community support. We studied Web3Auth and EIP-4337 documentation to implement secure passkey-based authentication, replacing traditional private key management with user-friendly, cryptographically secure alternatives. For MMKV, we conducted in-depth testing to optimize its configuration for mobile performance, ensuring fast and secure storage of wallet metadata. When we hit roadblocks, we sought assistance from the Base developer community and GitHub forums, where we found solutions to specific MMKV errors and passkey integration pitfalls. By combining these insights with iterative prototyping, we successfully deployed a smart wallet system that balances security and usability, enabling seamless onboarding for ChamaDAO’s users on Base.

Tracks Applied (5)

AI

Conversational Chatbot / Governance Advisor A user-facing AI chatbot can answer members’ questions about ChamaDAO rules,...Read More

Stablecoins

ChamaDAO transforms informal Kenyan savings groups (chamas) into decentralized financial ecosystems, using USDC as our p...Read More

Consumer

We chose this track because ChamaDAO prioritizes the end-user experience, aligning with the Consumer Track’s focus on ac...Read More

Mini-apps

To align with this track, we are developing a minimal version of ChamaDAO as a MiniKit-powered mini app, complementing o...Read More

DeFi

ChamaDAO enables members to contribute funds, access loans, and manage collective investments transparently via smart co...Read More

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio