BlockChainVisualizer
所属分类:区块链开发
开发工具:HTML
文件大小:15164KB
下载次数:0
上传日期:2018-05-24 16:38:10
上 传 者:
sh-1993
说明: BlockChain可视化器,可视
(BlockChainVisualizer,vis)
文件列表:
LICENSE (11357, 2018-05-25)
img (0, 2018-05-25)
img\EVM_chain_visualization.png (61237, 2018-05-25)
img\block.png (96094, 2018-05-25)
img\vis2.png (318421, 2018-05-25)
img\vis3.png (305467, 2018-05-25)
index.js (2202, 2018-05-25)
node_modules (0, 2018-05-25)
node_modules\.bin (0, 2018-05-25)
node_modules\.bin\csv2json (22, 2018-05-25)
node_modules\.bin\csv2tsv (21, 2018-05-25)
node_modules\.bin\dsv2dsv (21, 2018-05-25)
node_modules\.bin\dsv2json (22, 2018-05-25)
node_modules\.bin\json2csv (22, 2018-05-25)
node_modules\.bin\json2dsv (22, 2018-05-25)
node_modules\.bin\json2tsv (22, 2018-05-25)
node_modules\.bin\miller-rabin (32, 2018-05-25)
node_modules\.bin\mime (14, 2018-05-25)
node_modules\.bin\mkdirp (20, 2018-05-25)
node_modules\.bin\rimraf (16, 2018-05-25)
node_modules\.bin\seek-bunzip (28, 2018-05-25)
node_modules\.bin\seek-table (32, 2018-05-25)
node_modules\.bin\sha.js (16, 2018-05-25)
node_modules\.bin\sshpk-conv (23, 2018-05-25)
node_modules\.bin\sshpk-sign (23, 2018-05-25)
node_modules\.bin\sshpk-verify (25, 2018-05-25)
node_modules\.bin\targz (19, 2018-05-25)
node_modules\.bin\tsv2csv (21, 2018-05-25)
node_modules\.bin\tsv2json (22, 2018-05-25)
node_modules\.bin\uuid (16, 2018-05-25)
node_modules\accepts (0, 2018-05-25)
node_modules\accepts\HISTORY.md (4736, 2018-05-25)
node_modules\accepts\LICENSE (1167, 2018-05-25)
node_modules\accepts\index.js (5252, 2018-05-25)
node_modules\accepts\package.json (2274, 2018-05-25)
node_modules\ajv (0, 2018-05-25)
node_modules\ajv\.tonic_example.js (439, 2018-05-25)
... ...
# BlockChainVisualizer
A project that analysis the Ethereum block and visualize it
Vertices: A wallet address. represented by a address hash.
Edges: A transaction between two addresses.
## Instruction
```
node ./index.js
```
open browswer
```
http://localhost:3000/index
```
Note that, this is the env tested:
node.js v10.1.0
npm 5.6.0
web3@1.0.0-beta.34
Also note, I have provide ethereum mainnet.infura token for developer. so that you can just deploy and run. it is:
```fchiwsz5q5eaapI6WSmo```
## Example
for block at height 5***8510
Block on main chain:
https://etherscan.io/block/5***8510
![Alt text](https://github.com/aertoria/BlockChainVisualizer/blob/master/img/block.png?raw=true "img")
Data pulled from chain
{"nodes":[{"id":"0xebcA018C743E2F878D4D88***D81eAFA2967f95ee"},{"id":"0xA783b02ce5853AD7***b6FD0417C729cc462328dF"},{"id":"0xDf78cF07ef59411F3E747C54Ecd0FE5AA66F54FE"},...],
"links":[{"source":"0xebcA018C743E2F878D4D88***D81eAFA2967f95ee","target":"0xA783b02ce5853AD7***b6FD0417C729cc462328dF"},{"source":"0xDf78cF07ef59411F3E747C54Ecd0FE5AA66F54FE","target":"0x8d12A197cB00D4747a1fe03395095ce2A5CC6819"},...
]}
##API
Visualize one block
http:localhost:3000/directed/5601207
Visualize all the blocks between a and b
http://localhost:3000/directedM/5601207/5601217
Visualized as:
Version 2(updated May 21.2018)
![Alt text](https://github.com/aertoria/BlockChainVisualizer/blob/master/img/vis3.png?raw=true "img")
Version 1
![Alt text](https://github.com/aertoria/BlockChainVisualizer/blob/master/img/EVM_chain_visualization.png?raw=true "img")
近期下载者:
相关文件:
收藏者: