flow-pie/chamaa.api

Smart contract for saving rules

Open

#82 opened on Nov 9, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)HTML (4 forks)auto 404
good first issue

Repository metrics

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

Description

Goal: On-chain proof of savings (immutable record of member deposits).

Explanation: This contract handles how much each member contributes, time, and rules like minimum deposit. Ensures fairness and prevents tampering.

Key Functions:

  • deposit()

  • getMemberSavings(address member)

  • setMinimumDeposit(uint amount)

Deliverables:

  • contracts/SavingsContract.sol

  • Unit tests: deposit + query savings balance

Contributor guide