flow-pie/chamaa.api

Write basic smart contract for Chama

Open

#11 opened on Nov 1, 2025

View on GitHub
 (1 comment) (0 reactions) (0 assignees)HTML (4 forks)auto 404
help wanted

Repository metrics

Stars
 (3 stars)
PR merge metrics
 (PR metrics pending)

Description

**Goal: **Create a base Solidity smart contract that all others will extend.

Explanation: Define common structs and events (e.g., Member, Loan, Group). This becomes your “ChamaaCore.sol”.

Contents:

  • Structs: Member, LoanRequest, TransactionRecord.

  • Events: LoanRequested, LoanApproved, ContributionMade.

  • Modifiers: onlyMember, onlyAdmin.

Deliverables:

  • contracts/ChamaaCore.sol

  • Compiles without warnings in Hardhat/Remix.

Contributor guide