block chain/Readme.md
# 基础
- [x] [区块链相关应用和公司(文章底)](http://www.8btc.com/what-is-blockchain)
- [x] [区块链理论学习入门指南](https://daimajia.com/2017/08/24/how-to-start-blockchain-learning)
- [x] [★比特币白皮书](http://www.8btc.com/wiki/bitcoin-a-peer-to-peer-electronic-cash-system)
- [x] [★精通比特币](http://book.8btc.com/books/6/masterbitcoin2cn/_book/)<!-- http://zhibimo.com/read/wang-miao/mastering-bitcoin/index.html -->
- [x] [浅谈区块链共识机制与分布式一致性算法](https://blog.csdn.net/u011537073/article/details/54318840)
- [ ] [《Nodejs开发加密货币》之二十四:DPOS机制(分布式共识算法)](https://blog.csdn.net/imfly/article/details/52171339)
# 分布式共识机制
## 公链
POW [Bitcoin A Peer-to-Peer Electronic Cash System](http://www.8btc.com/wiki/bitcoin-a-peer-to-peer-electronic-cash-system)
- [x] <http://www.8btc.com/the-proof-of-work-concept>
- [x] POS [POS白皮书:基于权益证明的交易](http://www.8btc.com/pos-white-book)
## 联盟链
- [x] PBFT [区块链核心技术:拜占庭共识算法之PBFT](https://www.jianshu.com/p/fb5edf031afd)
## 侧链
- [x] [侧链白皮书:用楔入式侧链实现区块链的创新—摘要、前言](http://www.8btc.com/enabling-blockchain-innovations-with-pegged-sidechains-abstract-introduction)
# 视频
~~- [ ][bitcoin and cryptocurrency](<https://www.coursera.org/learn/cryptocurrency>)~~
# 实践
- [ ] [以太坊私有链搭建](https://zhuanlan.zhihu.com/p/27106175)
- [ ] [在CentOS 6.5上搭建以太坊私有链](https://link.zhihu.com/?target=http%3A//www.huiyanghua.com/article/plant/469/4707.html)
- [ ] [创建自己的私有比特币测试链](https://link.zhihu.com/?target=http%3A//bitshuo.com/topic/5847b86b63baf1df6cad0d6f)
- [ ] [以太坊智能合约编写实例](https://link.zhihu.com/?target=http%3A//blog.csdn.net/u013137970/article/details/53018423)
- [ ] [以太坊智能合约编程之菜鸟教程](https://link.zhihu.com/?target=http%3A//ethfans.org/posts/101-noob-intro)
- [ ] [通过truffle部署以太坊智能合约](https://link.zhihu.com/?target=http%3A//bitshuo.com/topic/584241f863baf1df6cad0d40)
# basic
~~- [ ] 整理一个最简单的比特币关键术语和结构流程说明(可以用问答形式对关键点进行整理)~~
~~- [ ] 共识机制整理~~
- [ ] [!!!Dpos的补充,整理到共识机制里面去](http://blockgeek.org/t/dpos/207)
# extension
- [x] [区块链的在鉴权、物联网、能源方面的应用](https://github.com/yjjnls/awesome-non-financial-blockchain)
# bitcoin
- [x] 比特币白皮书
- [x] 精通比特币
~~- [ ] [比特币可以跟进的项目](https://github.com/bitpay/bitcore)~~
~~- [ ] [简单的比特币项目,可以看源码模仿着做一个](https://github.com/bitpay/bitcoind.js)~~
- [ ] [比特币源码分析](https://www.jianshu.com/u/30081a05cf95)
- [ ] [比特币网络源代码分析](https://github.com/wecodexyz/awesome-blockchain-articles/blob/master/book/%E6%AF%94%E7%89%B9%E5%B8%81%E7%BD%91%E7%BB%9C%E6%BA%90%E4%BB%A3%E7%A0%81%E5%88%86%E6%9E%90.pdf)
- [x] [一文看懂怎样用 Python 创建比特币交易](https://mp.weixin.qq.com/s/3FTkvhu1k2t9KC_2009hTA)
- [ ] [Leaf-Node weakness in Bitcoin Merkle Tree Design](https://bitslog.wordpress.com/2018/06/09/leaf-node-weakness-in-bitcoin-merkle-tree-design/)
[深入理解比特币交易的脚本](http://mp.weixin.qq.com/s/tbU9Pg0vQkA7JdKSgNyPAQ)
可以看看<https://github.com/hpb-project/ico>
最好能做些项目! 比如自己建一个币(改比特币源码)/自己用fabric做一个小应用之类的
★比特币部分基本流程:
1. 比特币基础概念整理好
2. 比特币源码分析整理(看重思路流程,不用全部整理,一定要做简化,注重流程分析就可以)(大头)(可以参考简书上的文章,对关键几个步骤的代码进行分析)
3. 构建最小的链POW,包括不同的语言
4. 上面的资料和awesome资料整理好
5. frequent Q&A 整理
# 以太坊
- [ ] [简单的智能合约例子](https://ethfans.org/posts/block-chain-technology-smart-contracts-and-ethereum)
- [ ] [★以太坊白皮书](http://ethfans.org/wikis/%E4%BB%A5%E5%A4%AA%E5%9D%8A%E7%99%BD%E7%9A%AE%E4%B9%A6)
英文版 [A Next Generation Smart Contract & Decentralized Application Platform](http://www.the-blockchain.com/docs/Ethereum_white_paper-a_next_generation_smart_contract_and_decentralized_application_platform-vitalik-buterin.pdf)
- [x] [区块链100讲:从开发者的角度快速解读以太坊白皮书](https://blog.csdn.net/HiBlock/article/details/81297461)
- [ ] [\[以太坊源代码分析\] I.区块和交易,合约和虚拟机](http://blog.csdn.net/teaspring/article/details/75389151?locationNum=3&fps=1)
- [ ] [solidity语言学习](https://solidity.readthedocs.io/en/develop/)
- [ ] [solidity 开发](https://learnblockchain.cn/)
- [ ] [solidity](http://ethfans.org/wikis/Solidity-%E6%96%87%E6%A1%A3--%E7%AC%AC%E4%B8%80%E7%AB%A0)
- [ ] [web3.js(与以太坊交互的js语言)](https://github.com/ethereum/web3.js)
- [ ] [Web 3:由用户控制的互联网,技术全梳理!](https://www.jianshu.com/p/19bbe6b7a73f)
- [ ] [truffle框架](http://truffleframework.com/)
- [x] [BlockChain 与 Ethereum 介绍](https://jysperm.me/2016/05/blockchain-slides/)
- [x] [以太坊设计原理](https://ethfans.org/posts/510)
- [ ] [智能合约案例](https://github.com/vczh2/solidityExample)
- [ ] !!!★<https://github.com/xianfeng92/Love-Ethereum> 整理这里面的资源
- [ ] !!![以太坊源码分析](https://github.com/ZtesoftCS/go-ethereum-code-analysis)
- [ ] [以太坊源码分析 中国人写的](https://blog.csdn.net/teaspring)
- [ ] [干货 | 以太坊分片:Overview and Finality](https://ethfans.org/posts/ethereum-sharding-and-finality)
- [ ] [以太坊分片](https://github.com/liuchengxu/blockchain-tutorial/blob/master/content/ethereum/ethereum-sharding-overview-and-finality.md)
- [x] [查看以太坊价格](http://blockgeek.org/t/topic/516)
- [ ] [锁定合约1](http://blockgeek.org/t/topic/338)
- [ ] [锁定合约2](http://blockgeek.org/t/topic/386)
- [ ] [用 Parity 发送 ERC20 Token](http://blockgeek.org/t/topic/391)
- [ ] [代币与 ERC](http://blockgeek.org/t/topic/513)
- [ ] [区块链开发之ETH离线签名和其代币离线签名](https://blog.csdn.net/wypeng2010/article/details/81357381)
以太坊部分基本流程:
1. 白皮书等基本概念整理好
那篇入门的文章
[精通以太坊](https://github.com/ethereumbook/ethereumbook)和精通比特币一样整理
2. 源码分析整理好
3. solidity基本概念整理好
4. Dapp开发整理(合约、web3、truffle)
5. 上述资源和awesome整理好
6. EVM原理、设计,最好有代码分析
# Hyperledger
<https://cn.hyperledger.org/>
- [ ] [Hyperledger 源码分析之 Fabric](https://link.zhihu.com/?target=https%3A//yeasy.gitbooks.io/hyperledger_code_fabric/content/)
- [ ] [fabric 源码分析](https://blog.csdn.net/idsuf698987/article/category/7016640/2)
- [ ] <http://www.cnblogs.com/aberic/tag/Fabric/default.html?page=1>
- [ ] [杨宝华的书](https://yeasy.gitbooks.io/blockchain_guide/content/fabric_design/)
<http://blockgeek.org/t/topic/301> 和微信里面的比较一下
~~- [ ] [IBM fabric教程](http://www.yanglajiao.com/article/yunlilang/79726682)~~
- [ ] [源码分析](https://github.com/yeasy/hyperledger_code_fabric) <https://yeasy.gitbooks.io/hyperledger_code_fabric/overview.html>
- [ ]
# 书籍
- [ ] [Nodejs开发加密货币](https://github.com/imfly/bitcoin-on-nodejs) / [源码](https://github.com/Ebookcoin/ebookcoin) <http://book.8btc.com/books/1/bitcoin-on-nodejs-master/_book/>
- [x] [★区块链技术指南(有密码学相关)](https://link.zhihu.com/?target=https%3A//yeasy.gitbooks.io/blockchain_guide/content/)
# 密码学
- [x] [什么是椭圆曲线加密(ECC)](https://link.zhihu.com/?target=http%3A//8btc.com/article-138-1.html)
- [x] [!!比特币背后的密码学原理(看完比特币以后添加到crypto里面)](https://link.zhihu.com/?target=http%3A//www.jianshu.com/p/225ff9439132)
- [x] [密码学一小时必知](https://link.zhihu.com/?target=https%3A//blog.helong.info/blog/2015/04/12/translate-Everything-you-need-to-know-about-cryptgraphy-in-1-hour/)
- [x] [现代密码学实践指南](https://blog.helong.info/blog/2015/06/06/modern-crypto/)
# 其他
- [ ] [bigchaindb](https://link.zhihu.com/?target=https%3A//www.bigchaindb.com/)
- [ ] [IPFS](https://link.zhihu.com/?target=https%3A//ipfs.io/) IPFS 是基于区块链实现的分布式文件存储系统
- [ ] [布比区块链](https://link.zhihu.com/?target=http%3A//www.bubi.cn/) 《区块链技术原理与底层架构》有相关介绍
* * *
## 交易所
- [ ] 极客教程整理
- [ ] 买的课程整理+课程里面的论文
- [ ] <https://github.com/imbaniac/awesome-blockchain> 关注里面的交易所
- [ ] 中文的一个github资料,可以看那些交易所。<https://github.com/dily3825002/awesome-blockchain>
- [ ][数字货币交易所课程](<https://hiblock.one/blog/%E5%8C%BA%E5%9D%97%E9%93%BE100%E8%AE%B2%EF%BC%9A%E4%BB%A3%E5%B8%81%E9%94%81%E4%BB%93%E5%90%8E%E9%80%90%E6%AD%A5%E9%87%8A%E6%94%BE%E7%9A%84erc20%E6%99%BA%E8%83%BD%E5%90%88%E7%BA%A6%E5%AE%9E%E8%B7%B5/> )
- [ ] github上的awesome-block-chain等也有关于exchange的整理
~~!!! 每一部分研究都可以参考 <https://github.com/yjjnls/awesome-blockchain-cn> 里面的部分~~
* * *
分叉
<http://www.8btc.com/tan90d97>
<https://baijiahao.baidu.com/s?id=1608264747005780350&wfr=spider&for=pc>
~~分片技术 <https://zhuanlan.zhihu.com/p/38903236>~~
★公有链客户端是否真的持有数据?到底是怎么个原理?
如果客户端不是一直挖,那会保存数据么?客户端重新上线后如何同步数据?
用户数据加密授权等如何操作?
一些白皮书资料 <https://github.com/mipengchong/blockchain/tree/master/white_papers>
!!!最小可行区块链原理
- [ ] [闪电网络](https://lightning.network/lightning-network-paper.pdf)
HelloZeroNet / ZeroNet
<https://ethfans.org/posts/219> 以太坊紫皮书
<!-- [干货 | 权益证明 FAQ(完整版)](https://ethfans.org/posts/Proof-of-Stake-FAQ-new-2018-3-15) 可以加到consensus里面 -->
相关钱包技术也要关心一下 比如 <https://github.com/MyEtherWallet> mist等
!!!! 各大链的奖励机制是什么,比如EOS、Cardano等
## blog
★<https://hiblock.one/blog里面的区块链100讲>
[区块链技术博客](http://me.tryblockchain.org/)
[深入浅出区块链](https://learnblockchain.cn/)
## build your own blockchain
<!-- - [ ] [lets-build-a-blockchain](https://github.com/Haseeb-Qureshi/lets-build-a-blockchain) -->
<!-- - [ ] [Do-It-Yourself (DIY) - Build Your Own Blockchain(include talk notes)](https://github.com/openblockchains/awesome-blockchains#do-it-yourself-diy---build-your-own-blockchain) -->
<!-- - [ ] [build-your-own-blockchain](https://github.com/danistefanovic/build-your-own-x#build-your-own-blockchain--cryptocurrency) -->
<!-- - [ ] [Python实现一条基于POS算法的区块链](https://learnblockchain.cn/2018/08/07/python-blockchain-with-pos/)
- [ ] [用 Python 从零开始创建区块链](http://blockgeek.org/t/topic/498)
- [ ] [想学习区块链?那就用 Python 构建一个](http://python.jobbole.com/89246/) -->
<!-- - [ ] [20分钟,我用简单的Python代码创建了一个完整的区块链!想学吗?](https://blog.csdn.net/blockchain_lemon/article/details/80891527) -->
<!-- - [ ] [200行代码搞懂区块链](https://mp.weixin.qq.com/s/9g-c3_YR4MJ3JWzrQN_b6A) -->
<!-- - [ ] [go 搭建公链 youtue教程](https://www.youtube.com/channel/UCRxmNhjCYQkGVbKSumcK5Wg/videos?view_as=subscriber)
- [ ] [go 搭建公链 youtue教程](https://github.com/yjjnls/blockchain_go_videos) -->
<!-- - [ ] [区块链实践,动手写一个](https://github.com/wecodexyz/awesome-blockchain-articles#%E8%A6%81%E5%AD%A6%E4%B9%A0%E5%8C%BA%E5%9D%97%E9%93%BE%E6%8A%80%E6%9C%AF%E8%87%AA%E5%B7%B1%E5%8A%A8%E6%89%8B%E5%86%99%E4%B8%80%E4%B8%AA%E5%90%A7) -->
<!-- - [ ] [java的](http://blockgeek.org/t/topic/559) -->
- [x] [区块链reference](https://github.com/Blockchain-zju/references) 里面有算法分析以及一些资料
<!-- - [ ] [简历验证系统](https://github.com/Dearkano/ResumeVerification) -->
<!-- - [ ] [Nebulas上的一些项目](https://incentive.nebulas.io/dapps-board.html#5) 可以看看有哪些项目,以及一些项目的code -->
<!-- - [ ] !!! 各语言搭建blockchain <https://github.com/liuchengxu/blockchain-tutorial> -->
<!-- - [ ] !!! go搭建blockchain <https://jeiwan.cc/tags/bitcoin/> -->
<!-- - [ ] [Code for learning the blockchain data structure](https://github.com/seanjameshan/blockchain) -->
<!-- - [ ] !!![100个精品项目带你学会区块链](https://github.com/Fabsqrt/BitTigerLab/blob/master/Blockchain/README.md) -->
<!-- - [ ] [go实现merkle树和pow](http://blockgeek.org/t/topic/3020) -->
<!-- - [ ] (<https://github.com/anders94/blockchain-demo/>) A web-based demonstration of blockchain concepts -->
<!-- - [ ] pow(js实现) <http://blockgeek.org/t/topic/558> -->
<!-- PoS是残次品,我把它比作Vista。两种DPoS和SPoS都比纯PoS好,PoS最大的两个问题,长程攻击和nothing at stake是非常致命的。(<https://zhuanlan.zhihu.com/p/45037610>) -->
<!-- - [ ] [Proof-of-Stake (vs proof-of-work)](https://www.youtube.com/watch?v=M3EFi_POhps) -->
<!-- - [ ] [GO语言打造区块链](https://edu.csdn.net/course/detail/9385) -->
<!-- - [ ] [区块链与身份验证](https://edu.csdn.net/course/detail/9526) -->
<!-- - [ ] [Go语言构造区块链](http://blockgeek.org/t/topic/234) -->
[Taireum 一种兼容以太坊的企业级分布式账本与智能合约平台](http://www.codeorg.cn/article/detail/blockchain/517)
<https://github.com/taireum/go-taireum>
- [x][关于tangle](<https://www.jianshu.com/p/5d932cecce3a>)
~~!!! 每一部分研究都可以参考 https://github.com/yjjnls/awesome-blockchain-cn 里面的部分~~
<!-- - [ ] [区块链实例:信息公正、交易资产等](https://yeasy.gitbooks.io/blockchain_guide/content/app_dev/chaincode_example01.html) -->
ERC20
软分叉最后如何合并到主链上面?(比特币分叉之后如何达成最长链的共识?)
比特币中交易费是比特币,那么以太坊中的交易费为什么是gas,发送Ether,交易费却是gas,gas和Ether有什么关系?怎么算钱,怎么计算?
todo 一个区块包含多少条交易,是否有限制?
gas price是多少Gwei,那Gwei和Ether怎么换算?
- [x] ethereum 查询网站
- [x] [etherscan](https://etherscan.io/blocks)
- [x] [EthStats.net](https://ethstats.net/)
- [x] <https://ethgasstation.info/>
根据地址查看合约
<https://etherscan.io/address/0x38c6a68304cdefb9bec48bbfaaba5c5b47818bb2#code>
* * *
## 测试
[区块链性能测评实战案例](http://www.infoq.com/cn/articles/block-chain-practice)
[Hyperledger Caliper:测量区块链性能的工具](http://www.infoq.com/cn/articles/tool-to-measure-blockchain-performance-hyperledger-caliper?utm_source=notification_web&utm_campaign=notifications&utm_medium=link&utm_content=content_in_followed_topic)
[如何十分钟搭建你的区块链概念验证环境?](https://quant.la/Article/View/1037/%E5%A6%82%E4%BD%95%E5%8D%81%E5%88%86%E9%92%9F%E6%90%AD%E5%BB%BA%E4%BD%A0%E7%9A%84%E5%8C%BA%E5%9D%97%E9%93%BE%E6%A6%82%E5%BF%B5%E9%AA%8C%E8%AF%81%E7%8E%AF%E5%A2%83%EF%BC%9F.html)
## 安全
[区块链安全技术总结](http://www.sohu.com/a/243770504_354899)
[以太坊智能合约安全](http://blockgeek.org/t/topic/556)
- [x] iota、menero、eos的awesome整理好
- [ ] <http://blockgeek.org/t/topic/1795> 里面的目录整理进去
- [x] 比特币部分
- [ ] 以太坊部分
- [ ] <https://github.com/Xel/Blockchain-stuff> 整理(以太坊的书再整理进去)
- [ ] 先实现一些较为简单的链,有个感性理性直观认识
- [ ] 极客时间课程最后一部分
- [ ] <https://time.geekbang.org/column/article/9273?utm_source=infoq&utm_medium=sitenavigation>
- [ ] <https://learnblockchain.cn/2017/10/27/build_blockchain_by_python/>
- [ ] <http://adilmoujahid.com/posts/2018/03/intro-blockchain-bitcoin-python/>
- [ ] build your own blockchain里面一些简单的但是不同语言的实现(先跟着实现几个)
<!-- - [ ] 共识那一部分整理好(最好添加对应代码)(浅谈区块链共识机制与分布式一致性算法,《Nodejs开发加密货币》之二十四:DPOS机制(分布式共识算法),Dpos的补充,整理到共识机制里面去,干货 | 权益证明 FAQ(完整版))
- [x] 密码学完善
- [x] (比特币背后的密码学原理(看完比特币以后添加到crypto里面))
- [x] 环签名、盲签名(<https://blog.csdn.net/baidu_17508977/article/details/80930889> <https://www.jianshu.com/p/feb97fa6dd8c)>
- [x] (<http://book.8btc.com/books/6/masterbitcoin2cn/_book/ch06.html> 数字签名那一部分)
- [ ] DAG, merkle tree以及以太坊结构整理好,这也属于密码学部分 <http://www.sohu.com/a/247540268_100222281> !!!!最好有代码!!!!!!!
- [ ] 比特币中的MT (零知识证明 Merkle tree in blockchain里面的部分,SPV验证)
- [ ] 以太坊中的MPT
- [ ] DAG的应用 -->
- [ ] 比特币部分整理
- [ ] 以太坊部分整理
- [ ] 所有可以跟进的项目,应用整理,仿照着做几个也可以
- [ ] exchange、wallet 等等再说吧