flow-pie / flow-pie/chamaa.api

Integrate backend with smart contract

Open
#13 0 comments 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
Connect Node.js API endpoints to blockchain transactions.

### Description
Modify existing endpoints (loans, savings, voting) to trigger smart contract calls.
Save blockchain transaction hash for each on-chain action.

### Deliverables
- Updated endpoints (`/loans`, `/savings`, `/votes`)
- Returns transaction hash to frontend
- Rollback logic for failed on-chain actions

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.