You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dan Janosik
d4906b6f6b
|
7 years ago | |
---|---|---|
app | 7 years ago | |
bin | 8 years ago | |
docs | 7 years ago | |
public | 7 years ago | |
routes | 7 years ago | |
views | 7 years ago | |
.gitignore | 8 years ago | |
LICENSE | 8 years ago | |
README.md | 7 years ago | |
app.js | 7 years ago | |
package.json | 7 years ago |
README.md
BTC Explorer
Simple, stateless Bitcoin blockchain explorer, via RPC. Built with Node.js, express, bootstrap-v4.
This tool is intended to be a simple, stateless, self-hosted explorer for the Bitcoin blockchain, driven by RPC calls to your own bitcoind node. This tool is easy to run but lacks features compared to full-fledged (stateful) explorers.
I built this tool because I wanted to use it myself. Whatever reasons one might have for running a full node (trustlessness, technical curiosity, etc) it's helpful to appreciate the "fullness" of a node.
Features
- List of recent blocks
- Browse blocks by height, in ascending or descending order
- View block details
- View transaction details, with navigation backward via spent outputs
- View raw JSON output used to generate most pages
- Mempool/unconfirmed transaction counts by fee (sat/B)
Getting started
Prerequisites
- Install and run a full, archiving node - instructions. Ensure that your node has full transaction indexing enabled (
txindex=1
) and the RPC server enabled (server=1
). - Synchronize your node with the Bitcoin network.
Instructions
- Clone this repo
npm install
to install all required dependencies- Optional: Uncomment the "bitcoind" section in env.js to automatically connect to the target node.
npm start
to start the local server- Navigate to http://127.0.0.1:3002/
- Connect using the RPC credentials for your target bitcoin node (if you didn't edit env.js in Step 3)