Coder Social home page Coder Social logo

tondaatouk / btc-rpc-explorer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from janoside/btc-rpc-explorer

0.0 0.0 0.0 6.53 MB

Simple, database-free, self-hosted Bitcoin blockchain explorer, via RPC. Built with Node.js, express, bootstrap-v4.

Home Page: https://btc-explorer.com

License: MIT License

JavaScript 50.62% CSS 0.79% HTML 48.59%

btc-rpc-explorer's Introduction

BTC Explorer

Simple, database-free Bitcoin blockchain explorer, via RPC. Built with Node.js, express, bootstrap-v4.

This tool is intended to be a simple, 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. With this explorer, one can not only explore the blockchain (in the traditional sense of the term "explorer"), but also explore the capabilities of one's own node.

A live demo of the tool is available at https://btc-explorer.com

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 transaction outputs
  • View raw JSON output used to generate most pages
  • Search to directly navigate to transactions or blocks
  • Mempool summary, showing unconfirmed transaction counts by fee level
  • RPC Browser to explore all of the RPC commands available from your node
  • RPC Terminal to send commands to your node
  • Currently supports BTC, LTC. Support for any Bitcoin-RPC-protocol-compliant coin can be added easily.

Getting started

The below instructions are geared toward BTC, but can be adapted easily to other coins.

Prerequisites

  1. 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).
  2. Synchronize your node with the Bitcoin network.

Instructions

  1. Clone this repo
  2. npm install to install all required dependencies
  3. Optional: Uncomment the "bitcoind" section in env.js to automatically connect to the target node.
  4. Optional: Change the "coin" value in env.js. Currently supported values are "BTC" and "LTC".
  5. npm start to start the local server
  6. Navigate to http://127.0.0.1:3002/
  7. Connect using the RPC credentials for your target bitcoin node (if you didn't edit env.js in Step 3)

Screenshots

Connect via RPC


Homepage (list of recent blocks)


Node Details


Browse Blocks


Block Details


Mempool Summary


Transaction Details


Transaction, Raw JSON


RPC Browser


Donate

To support continued development of this tool and/or to support the hosting of the live demo site:

  • Bitcoin: 3NPGpNyLLmVKCEcuipBs7G4KpQJoJXjDGe
  • Litecoin: ME4pXiXuWfEi1ANBDo9irUJVcZBhsTx14i

btc-rpc-explorer's People

Contributors

janoside avatar qshuai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.