Skip to content

Repository files navigation

FiroBlocks API

NestJS REST API for FiroBlocks — a block explorer for the Firo network. Currently provides endpoints for blocks, transactions, addresses, and network stats via direct firod RPC with MongoDB TTL caching.

Requirements

  • Node.js 24
  • MongoDB 8
  • A fully synced firod node with the following indexes enabled in firo.conf:
txindex=1
addressindex=1
spentindex=1
timestampindex=1

Setup

cp .env.example .env
yarn --frozen
yarn dev

Environment Variables

Variable Description
PORT Application Port
FIRO_RPC_HOST firod RPC host
FIRO_RPC_PORT firod RPC port
FIRO_RPC_USER firod RPC username
FIRO_RPC_PASS firod RPC password
MONGO_URI MongoDB connection string

License

Mozilla Public License 2.0

Releases

Packages

Contributors

Languages