flow-pie / flow-pie/chamaa.api

Setup blockchain node connection

Open
#10 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 the backend to your chosen blockchain node.

**Explanation:**
This is your bridge between backend and chain.
You’ll configure:

- A Web3 provider (`ethers.providers.JsonRpcProvider` or `Nethereum.Web3`).

- Wallet connection for the admin’s private key.

- Error handling + connection test route.

**Deliverables:**

- `/services/blockchain.js` or `BlockchainService.cs`

- `GET /blockchain/status` endpoint → returns `"Connected to Polygon (Kenya)"`

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.