A blockchain explorer lets you browse blocks, transactions, and addresses through a web interface — running your own, connected to your own node, gives you a private, always-available explorer without depending on third-party services.
Why Run Your Own Explorer
- Query your own node's data without relying on a public explorer's availability or rate limits
- Full privacy — your queries aren't visible to a third-party explorer operator
- Useful for development/testing environments needing explorer functionality
Prerequisites
- A fully synced node for the relevant chain (e.g. see How to Run a Bitcoin Full Node on a VPS)
- Node.js or the specific runtime required by your chosen explorer software
- A database (PostgreSQL or MongoDB, depending on the explorer)
Step 1 — Choose Explorer Software
Several open-source blockchain explorer projects exist, generally chain-specific (Bitcoin, Ethereum, and other networks each have their own popular explorer projects) — choose one actively maintained and matching your specific blockchain.
Step 2 — Clone the Explorer Repository
git clone https://github.com/example/blockchain-explorer.git
cd blockchain-explorer
Step 3 — Install Dependencies
npm install
Step 4 — Configure the Connection to Your Node
cp config.example.json config.json
nano config.json
{
"rpcHost": "127.0.0.1",
"rpcPort": 8332,
"rpcUser": "your_rpc_user",
"rpcPassword": "your_rpc_password"
}
Step 5 — Set Up the Database
sudo -u postgres createdb explorer_db
See How to Install and Secure MySQL 8 on Ubuntu & Debian or the PostgreSQL equivalent for the underlying database setup if not already installed.
Step 6 — Run Initial Indexing
npm run index
This processes the blockchain data from your node into the explorer's database structure — can take significant time for chains with substantial history, similar to the underlying node's own initial sync time.
Step 7 — Start the Explorer Web Interface
npm start
Step 8 — Access the Explorer
http://YOUR_SERVER_IP:3000
Step 9 — Add HTTPS and Restrict Access (If Not Purely Local Use)
See How to Install Nginx Proxy Manager with Docker if you want to expose this beyond localhost, with appropriate access restrictions if it's meant for personal/team use rather than public access.
Keeping the Explorer in Sync with New Blocks
Most explorer software includes a continuous indexing process that watches for new blocks and updates its database accordingly — verify this is running (often as a background service) rather than only running the one-time initial index.
Resource Considerations
Indexing and serving explorer data adds meaningful additional CPU/storage load beyond just running the underlying node — ensure your VPS plan accounts for both the node and the explorer together, not just the node's requirements alone.
Common Errors
Explorer shows no data or is stuck — verify the RPC connection details match your node's actual configuration, and that your node is itself fully synced first.
Continue Reading
- How to Run a Bitcoin Full Node on a VPS
- How to Monitor Blockchain Node Sync Status and Health
- How to Install and Secure MySQL 8 on Ubuntu & Debian
Browse more articles in Cryptocurrency & Blockchain Node Hosting.