flow-pie / flow-pie/chamaa.api

Write basic smart contract for Chama

Open
#11 1 comment 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
HTML
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.