摘要: 参考: 1)https://www.colabug.com/3204345.html 2)https://www.toptal.com/ethereum/one-click-login-flows-a-metamask-tutorial#utilize-unreal-developers-today 阅读全文
posted @ 2018-09-29 17:02 慢行厚积 阅读(11064) 评论(0) 推荐(1) 编辑
摘要: 启发: https://github.com/MetaMask/metamask-extension/issues/714 https://github.com/MetaMask/metamask-extension/issues/3383 () 下面是cryptokitties这个游戏使用meta 阅读全文
posted @ 2018-09-29 16:59 慢行厚积 阅读(8762) 评论(0) 推荐(1) 编辑
摘要: ()metamask-extension/app/scripts/controllers/transactions Transaction Controller is an aggregate of sub-controllers and trackers exposed to the MetaMa 阅读全文
posted @ 2018-09-29 16:48 慢行厚积 阅读(1543) 评论(0) 推荐(0) 编辑
摘要: When a new site is visited, the WebExtension creates a new ContentScript in that page's context, which can be seen at app/scripts/contentscript.js. Th 阅读全文
posted @ 2018-09-29 16:47 慢行厚积 阅读(1398) 评论(0) 推荐(0) 编辑
摘要: 这个就是浏览器后台所进行操作的地方了,它就是页面也区块链进行交互的中间部分。 metamask-background描述了为web扩展单例的文件app/scripts/background.js。该上下文实例化了一个MetaMask控制器的实例,该实例表示用户的帐户、到区块链的连接以及与新Dapps 阅读全文
posted @ 2018-09-29 16:47 慢行厚积 阅读(1678) 评论(0) 推荐(0) 编辑
摘要: ()MetaMask Browser Extension https://github.com/MetaMask/metamask-extension 这就是整个metamask的源码所在之处,好好看看 https://metamask.github.io/metamask-extension/这是 阅读全文
posted @ 2018-09-29 16:46 慢行厚积 阅读(2258) 评论(0) 推荐(0) 编辑
摘要: The MetaMask Controller——The central metamask controller. Aggregates other controllers and exports an api. The core functionality of MetaMask all live 阅读全文
posted @ 2018-09-29 16:46 慢行厚积 阅读(1270) 评论(0) 推荐(0) 编辑
摘要: The most confusing part about porting MetaMask to a new platform is the way we provide the Web3 API over a series of streams between contexts. Once yo 阅读全文
posted @ 2018-09-29 16:46 慢行厚积 阅读(2007) 评论(0) 推荐(0) 编辑
摘要: https://github.com/MetaMask/metamask-extension/blob/develop/docs/porting_to_new_environment.md MetaMask has been under continuous development for near 阅读全文
posted @ 2018-09-29 16:45 慢行厚积 阅读(686) 评论(0) 推荐(0) 编辑
摘要: The UI-即上图左下角metamask-ui部分,即其图形化界面 The MetaMask UI is essentially just a website that can be configured by passing it the API and state subscriptions 阅读全文
posted @ 2018-09-29 16:45 慢行厚积 阅读(660) 评论(0) 推荐(0) 编辑