Authenticated Esplora proxy for BDK applications.
BDK Client → Proxy (localhost:8080) → Maestro Esplora API
Clone Maestro-Esplora-Proxy Repo:
git clone https://github.com/maestro-org/maestro-esplora-proxy.git && cd maestro-esplora-proxyCopy .env.example template:
cp .env.example .envEdit your .env file:
MAESTRO_API_KEY=your-maestro-api-key-here
# mainnet
ESPLORA_URL=https://xbt-mainnet.gomaestro-api.org/v0/esplora
# testnet4
# ESPLORA_URL=https://xbt-testnet.gomaestro-api.org/v0/esploraRun proxy:
cargo runWithin your client-side code, connect to the locally running Esplora Proxy.
Example
let blockchain = EsploraBlockchain::new("http://localhost:8080", 20);See the Mempool.space Migration Guide for a comprehensive walkthrough on replacing your existing Esplora provider with Maestro.