• Stars
    star
    104
  • Rank 330,604 (Top 7 %)
  • Language
    Go
  • License
    MIT License
  • Created almost 11 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

BTCplex is an open source Bitcoin block chain browser written in Go, it allows you to search and navigate the block chain.

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.

More Repositories

1

microblog.pub

A self-hosted, single-user, ActivityPub powered microblog.
Python
1,102
star
2

bakthat

Bakthat is a MIT licensed backup framework written in Python, it's both a command line tool and a Python module that helps you manage backups on Amazon S3/Glacier and OpenStack Swift. It automatically compress, encrypt (symmetric encryption) and upload your files.
Python
491
star
3

blobstash

You personal database. Mirror of https://git.sr.ht/~tsileo/blobstash
Go
102
star
4

little-boxes

Tiny ActivityPub framework written in Python, both database and server agnostic.
Python
82
star
5

dirtools

Exclude/ignore files in a directory (using .gitignore like syntax), compute hash, search projects for an entire directory tree, gzip compression and track changes in a directory over time.
Python
74
star
6

flask-yeoman

A Flask blueprint to make create web application using Yeoman and Flask an easy task.
Python
51
star
7

txwatcher

A little Python utility that lets you monitor Bitcoin addresses through Blockchain Websocket API and perform custom callbacks.
Python
49
star
8

blobsnap

BlobSnap: a snapshot-based backup system designed to provide "time machine" like features.
Go
47
star
9

pycgminer

Python wrapper for cgminer RPC API.
Python
41
star
10

incremental-backups-tools

Storage agnostic incremental backups tools, building blocks for creating incremental backups utilities.
Python
28
star
11

embedded-js-widget

Building an embedded widget using RequireJS and Ractive.js.
CSS
27
star
12

cube-client

A Python client for Cube: Time Series Data Collection & Analysis
Python
26
star
13

eve-mocker

Mocking tool for Eve powered REST API.
Python
21
star
14

camlipy

Unofficial Python client for Camlistore.
C
19
star
15

blobsfile

BlobStash's storage engine. Mirror of https://git.sr.ht/~tsileo/blobsfile
Go
16
star
16

defender

Golang middleware to prevent brute force attacks
Go
16
star
17

entries.pub

WIP IndieWeb blog engine
OCaml
14
star
18

blobfs

New project: https://git.sr.ht/~tsileo/blobfs
Go
12
star
19

indieauth

Implements an IndieAuth (an identity layer on top of OAuth 2.0) client/authentication middleware.
Go
12
star
20

rigsmonitoring

Self-hosted monitoring dashboard for your mining rigs written in Python.
JavaScript
10
star
21

blkparser

Open source Bitcoin block chain parser written in Go.
Go
9
star
22

gluapp

HTTP framework for GopherLua.
Go
9
star
23

poussetaches

Lightweight asynchronous task execution service
Go
9
star
24

objets

Objets is an object storage server (using a directory as backend) with a AWS S3 compatible API.
Go
8
star
25

are-you-tracking-me

Open-source Android application (written in Kotlin) that let you send your GPS location to your own server at a regular interval.
Kotlin
6
star
26

pyblinkm

Drive a BlinkM with Python via I2C using python-smbus on Raspberry Pi.
Python
5
star
27

s3layer

S3 compatibility layer for custom data sources.
Go
3
star
28

ts4

A content-addressed blob store backed by S3, indexed by upload time (in SimpleDB) accessible via a simple HTTP API.
Go
3
star
29

globster

Tools for converting globs to regular expressions.
Python
3
star
30

yammpress

Python
2
star
31

blobs

Blobs mobile app (built with Flutter)
Dart
2
star
32

blobstash-python

Python client for BlobStash. Mirror of https://git.sr.ht/~tsileo/blobstash-python
Python
2
star
33

broxy

The most friendly proxy ever!
Go
2
star
34

rawgeo

Building block for geohash based spatial indexes
Go
2
star
35

jquery-hawk-ajax

A jQuery plugin to use the hawk HTTP authentication scheme with $.ajax
JavaScript
2
star
36

ginette

Ginette is my personal always-on voice assistant powered by Python.
Python
2
star
37

bakthat-syncserver

Draft of a synchronization server for bakthat.
Python
1
star
38

blckchn

(obsolete)
Python
1
star
39

rightnow

Python
1
star
40

misc

Misc stuff that aren't worth a repo.
Lua
1
star
41

wesh

A Bonjour name server for your local network
Python
1
star
42

went-there

Lua application built to run on ge0 that I use to track my locations using Are You Tracking Me?.
Lua
1
star
43

blobpad

BlobPad is a note taking application build on top of BlobStash.
JavaScript
1
star
44

gemapi

Gemapi is a lightweight Gemini framework.
Python
1
star