Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
bitcoin-infrastructure-esplora【部署与运维】Esplora: Blockstream's HTTP-based block explorer + indexer. REST API at /api/<endpoint>. Powers blockstream.info, mempool.space's earlier versions, and self-hosted explorers. USE WHEN: deploying a personal block explorer, integrating with Esplora REST API, building wallet / monitoring on Esplora-style endpoint.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Block explorer + REST API by Blockstream. Two parts:
Repo: github.com/Blockstream/esplora.
Heavy: requires Bitcoin Core with txindex=1 + esplora-electrs
indexer + frontend Node.js process.
# Start Esplora's electrs-fork as backend
electrs --daemon-rpc-addr=127.0.0.1:8332 \
--http-addr=127.0.0.1:3000
# Frontend serves /api proxy + UI
cd esplora && npm run dev
Public endpoint for blockstream.info:
GET /api/tx/<txid>
GET /api/block/<hash>
GET /api/address/<addr>/utxo
GET /api/address/<addr>/txs
GET /api/mempool
GET /api/fee-estimates
JSON responses; well-documented at github.com/Blockstream/esplora/blob/master/API.md.
Run your own:
| Aspect | Esplora REST | Bitcoin Core REST | Mempool.space API |
|---|---|---|---|
| Address history | yes | no | yes |
| Mempool details | rich | basic | rich |
| Fee estimates | yes | basic | best |
| Self-hostable | yes | yes (no UI) | yes |
| API style | Esplora-spec | bitcoind REST | mempool.space spec |
esplora-electrs (the indexer) vs Esplora frontend
— both names overlap.