flow-pie/chamaa.api

Setup blockchain node connection

Open

#10 aperta il 1 nov 2025

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)HTML (4 fork)auto 404
help wanted

Metriche repository

Star
 (3 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor