Git Product home page Git Product logo

btcplex's Introduction

BTCplex

BTCplex is an open source Bitcoin block chain browser written in Go, it allows you to search and navigate the block chain. Also provides APIs to access data pragmatically.

This is an early release, you might expect some bugs.

## Requirements

Building BTCplex database takes 1+ week on a small server (dual core 1.2GHz/6GB RAM) and 28 hours on a more powerful server (i5/16GB RAM).

## Installation

Assuming you have:

You will also need to export CGO_LDFLAGS, needed to install levigo.

$ git clone https://github.com/tsileo/btcplex.git
$ cd btcplex
$ export CGO_LDFLAGS="-L/usr/local/lib -L/usr/local/lib -lsnappy"
$ ./build.sh
$ cp -r config.sample.json config.json
$ vim config.json

Start the initial import (the example use nohup, but you should use a tool like supervisord):

$ nohup ./bin/btcplex-import > import.log&

And once the process is done, you will have to restart you bitcoind with the -blocknotify``` parameter: -blocknotify="/home/thomas/btcplex/bin/btcplex-blocknotify -c /home/thomas/btcplex/config.json %s". Now you can start btcplex-prod``:

$ nohup ./bin/btcplex-prod > prod.log&

Even while importing, you can start the webserver:

$ ./bin/btcplex-server

Roadmap

  • Stabilize everything for 1.0 release.
  • Make sure a transaction can't be processed multiples times
  • A receive payment API

Some features that are on my TODO list:

  • An easy way to monitor Bitcoin address via API (maybe using Webhooks)
  • Convert BTC to fiat money easily
  • An official Python module to interact with the API and offer a reliable way to track address
  • An official JS lib to interact with the API
  • A Watch-only addresses page
  • Display unconfirmed transactions on address page
  • Live notification on a unconfirmed transaction page when it actually get included in a block
  • Parse the coinbase to extract which pool mined the block
  • An admin interface to monitor bitcoind/BTCplex
  • New SSE endoind: utxin/utxout for a given address
  • Escrow transaction handling
  • Docker build
  • Provides supervisord config
  • ... (don't hesitate to request features!)

## Documentation

The documentation is written in Markdown and is available in the docs directory, it's also available online (powered by MkDocs) on docs.btcplex.com.

## Contribution

Contribution are welcome, see HACKING.md and DESIGN.md to get started.

Feedback / Support

You can ping me @trucsdedev/[email protected]/[email protected] if you have any feedback/issue.

## Donation

BTC: 16obt7HXb3PmyDb1wZMA2X7HYPUPHp45GB

## License (MIT)

Copyright (c) 2014 Thomas Sileo

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

btcplex's People

Contributors

tsileo avatar

Watchers

James Cloos 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.