Skip to content

Lesson 6 补充学习笔记

Zhicheng Cai edited this page Jan 28, 2018 · 1 revision

1. 钱包相关

比特币私钥、公钥、钱包地址之间的关系:
http://blog.csdn.net/jeason29/article/details/51576659

light client实现原理:
https://blog.ethereum.org/2015/01/10/light-clients-proof-stake/

2. Events

官方文档中关于Events的介绍:
https://solidity.readthedocs.io/en/develop/contracts.html#events

JS文档中关于Events使用的介绍: <github.com/ethereum/wiki/wiki/JavaScript-API#contract-events>

有的同学按视频里的代码写了event却出现ui不会自动更新的问题,可以尝试重启浏览器。这应该是metamask切换网络后的bug

Finally, Metamask seems to have problems switching networks cleanly. After switching to the network you want to use, try closing all open Chrome windows (not just the window you're using Metamask in) and then open the browser again from scratch.
https://ethereum.stackexchange.com/questions/28747/cant-retrieve-event-logs-with-metamask-web3

(by 顺达助教)