flow-pie/chamaa.api

Setup blockchain node connection

Open

#10 建立於 2025年11月1日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)HTML (4 fork)auto 404
help wanted

倉庫指標

Star
 (3 star)
PR 合併指標
 (PR 指標待抓取)

描述

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)"

貢獻者指南