shohu / c0ban

c0ban source tree
MIT License
0 stars 0 forks source link

Blockchain Explorer #6

Closed shohu closed 6 years ago

shohu commented 6 years ago

bitcore-node

https://bitcore.io/ https://github.com/bitpay/bitcore-node https://qiita.com/you21979@github/items/a0886460be33f31134b0

bitcore-nodeとは?
bitpayが開発したオープンソースなビットコインフルノードです。
bitcoindをnode.jsに内包していてp2pネットワーク、ブロックチェーンがjavascriptから扱いやすい構造になっています
bitpayが開発しているプロダクト(insight-api,bitcoin-wallet-service)は、bitcore-node上のプラグインとして実装されています

bitcore-lib、bitcore-nodeを使えばビットコインについてjavascriptからほとんどの機能を直接あつかえるようになります。
それらをパッケージ化してbitcoreと呼んでいるようです

https://bitcore.io
https://github.com/bitpay/bitcore-node

Comment

It will take quite a while change bitcore, bitcore-insight for c0ban. And We take care for bitcore-node which is full node bitcoin. It's troublesome.

shohu commented 6 years ago

blockcypher

https://github.com/blockcypher/explorer https://github.com/blockcypher/blockcypher-python

We will be able to create if use above source.

We can't use ? following source use https://api.blockcypher.com. https://github.com/blockcypher/blockcypher-python/blob/master/blockcypher/api.py#L60

shohu commented 6 years ago

iquidus

https://github.com/iquidus/explorer

Good ? I found following sentence. *coind is c0ban OK ??

Requires

node.js >= 0.10.28
mongodb 2.6.x
*coind

app.js

explorer use bitcoin-node-api for accessing bitcoin

var express = require('express')
  , path = require('path')
  , bitcoinapi = require('bitcoin-node-api')
 :
 :
// routes
app.use('/api', bitcoinapi.app);

bitcoin-node-api

this api use "bitcoin" lib.

https://github.com/nieldlr/Bitcoin-Node-Api https://github.com/nieldlr/Bitcoin-Node-Api/blob/master/lib/api.js

var bitcoin = require('bitcoin');
  :
  :
  function setWalletDetails(details){
    if('undefined' == typeof details.rpc){
      client = new bitcoin.Client(details);
    }

bitcoin

https://www.npmjs.com/package/bitcoin node-bitcoin is a simple wrapper for the Bitcoin client's JSON-RPC API.

shohu commented 6 years ago

iquidus

2017-11-20 14 20 41

Item Summary Note
Explorer Search block
Movement Search Transaction
Network List of Node
TOP100 Top 100 Current Balance each address
Markets --- Delete. can't move
shohu commented 6 years ago

I decided to choice iquidus