Nathan Woodburn 499b19562d
All checks were successful
Build Docker / BuildImage (push) Successful in 35s
feat: Add cors
2025-08-22 20:59:48 +10:00
2025-08-22 12:46:34 +10:00
2025-08-22 13:53:27 +10:00
2025-08-22 12:46:34 +10:00
2025-08-22 12:46:34 +10:00
2025-08-22 13:34:17 +10:00
2025-08-22 12:46:34 +10:00
2025-08-22 12:46:34 +10:00
2025-08-22 13:53:27 +10:00
2025-08-22 12:46:34 +10:00
2025-08-22 20:59:48 +10:00

Fire HSD - Public Handshake API

A Python Flask webserver providing a free public API for the Handshake blockchain.

Features

  • Query blocks, headers, transactions, coins, and names from a public HSD node
  • No authentication required for read-only endpoints
  • Fast, simple, and open source (AGPLv3)

Quick Start

  1. Install requirements
    python3 -m pip install -r requirements.txt
    
  2. Run the dev server
    python3 server.py
    
  3. Production (Gunicorn)
    python3 main.py
    

API Endpoints

Some examples:

  • /api/v1/status — Check HSD node status
  • /api/v1/block/<blockid> — Get block data by block id
  • /api/v1/header/<blockid> — Get header data by block id
  • /api/v1/tx/<txid> — Get transaction info
  • /api/v1/name/<name> — Get name info
  • /api/v1/help — List all API endpoints

Configuration

Set environment variables in .env or use example.env:

HSD_HOST=127.0.0.1
HSD_API_KEY=APIKEY

Support & Donations

If you'd like to help keep the service running and growing, consider donating:

License

GNU AGPLv3

© 2025 Nathan Woodburn

Description
HSD Proxy
Readme AGPL-3.0 187 KiB
Languages
Python 61%
HTML 36.1%
CSS 1.9%
Dockerfile 1%