Giter Site home page Giter Site logo

bkchain / bkchain.org Goto Github PK

View Code? Open in Web Editor NEW
37.0 14.0 43.0 640 KB

Source code for http://bkchain.org website (blockchain explorer and deterministic web wallet). Can be run either locally or on a server.

Home Page: http://bkchain.org

JavaScript 99.63% CSS 0.37%

bkchain.org's Introduction

bkchain.org

Blockchain explorer and wallet.

http://bkchain.org

Features:

  • Browse blocks, transactions, etc...
  • JSON API
  • Live transactions/blocks
  • Client-side and server-side versions
  • Search
  • Wallet (electrum deterministic)

How to use

Client-side version

  • Checkout source
  • Open bkchain.html in a browser

Server-side version

Note: might require some additional testing, but it should be functional.

Requirements:

  • Node.js
  • npm

Steps:

  • Go to bkchain.org directory
  • Execute "npm install" to download Node.js dependencies
  • Execute "node blockexplorer.js" to start the server

Default configuration will use https://bkchain.org as proxy backend for API, but you can configure it to use local bkchaind daemon.

Donations

Donation appreciated, to support development and server costs

  • BTC: 1LLqMFskaSaZ3w2LuH6dbQaULcy1Bu1b2R
  • PPC: PEiZ7r4KR85izAhfzQKJgJxdQkQ6PPXXEX
  • LTC: LXzHvrRMQVEHj6gvK4rsZ7HGopgqfxS7PS

bkchain.org's People

Contributors

bkchain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bkchain.org's Issues

Pay-to-Script-Hash incorrectly handled

Peercoin's Pay-to-Script-Hash txOUT scripts are incorrectly handled.

As an example, this block: https://bkchain.org/ppc/block/91033E9CF0A47C1AA3FD6B6D38077D4E3B308A56A76082E0A10A23AC825031A4 contains the following txOUT script which is a P2SH script:

A914CFEB5937AA6A8D21215433B5838BA60617CECB3F87

(Transaction hash: 60bad15d75a656a15bbbdce4c8a9938003ceb948c2d542b0071f8c36ed9fb91d)

The public key is incorrectly interpreted, as it is displayed:

PTYYxyxdCduoZVxabNS3qQJQai1zdh7eGN

While in fact it should be a P2SH address:

pQVx1iSVDpe8GNbx7P5ouBBBbyzUnan4Es

(For reference: https://ppc.blockr.io/address/info/pQVx1iSVDpe8GNbx7P5ouBBBbyzUnan4Es)

You can read more about "Pay-to-Script-Hash" at https://en.bitcoin.it/wiki/Transactions:

scriptPubKey: OP_HASH160 <scriptHash> OP_EQUAL 
scriptSig: ..signatures... <serialized script>

Not compatible with Electrum 2.6.4

Not work even after I added my words (from my 13 words seed) in "mn_words" Array in mnemonic.js.
And change " if(electrumSeed.split(' ').length != 12)" to " if(electrumSeed.split(' ').length != 13)" in wallet.js.
With the same seed (my seed) Its generated 5 + 3 (Address+Change) address. The Electrum generated 20 + 6 (Address+Change).

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.