随笔分类 -  metamask

广为使用的浏览器插件钱包
摘要:https://github.com/MetaMask/sw-controller Service Worker Controller Used to register a service worker and listen for a ready event. Can be used with s 阅读全文
posted @ 2018-11-07 16:51 慢行厚积 阅读(282) 评论(0) 推荐(0) 编辑
摘要:https://github.com/kumavis/sw-stream ServiceWorkerStream and ServiceWorkerGlobalListener This a utility for creating streams between the page and a se 阅读全文
posted @ 2018-11-07 16:51 慢行厚积 阅读(327) 评论(0) 推荐(0) 编辑
摘要:metamask-extension/app/scripts/account-import-strategies/index.js 这部分就是用户如果往metamask中import一个已有的账户调用的接口,就是是直接输入私钥privateKey还是使用json file 即如下图: ethereu 阅读全文
posted @ 2018-10-15 16:07 慢行厚积 阅读(1034) 评论(1) 推荐(0) 编辑
摘要:https://consensys.zendesk.com/hc/en-us/articles/360004427792-Signature-Request-Warnings-eth-sign MetaMask helps you manage your Ethereum private keys. 阅读全文
posted @ 2018-10-08 16:39 慢行厚积 阅读(1229) 评论(0) 推荐(0) 编辑
摘要:https://www.gulpjs.com.cn/docs/getting-started/ ,这个是3.9.0版本 后面发现安装的版本是4.0.0,看下面这个: https://github.com/gulpjs/gulp/blob/master/docs/API.md 参考:https://b 阅读全文
posted @ 2018-09-30 16:45 慢行厚积 阅读(1754) 评论(0) 推荐(0) 编辑
摘要:参考: 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 慢行厚积 阅读(11103) 评论(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 慢行厚积 阅读(8776) 评论(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 慢行厚积 阅读(1549) 评论(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 慢行厚积 阅读(1418) 评论(0) 推荐(0) 编辑
摘要:这个就是浏览器后台所进行操作的地方了,它就是页面也区块链进行交互的中间部分。 metamask-background描述了为web扩展单例的文件app/scripts/background.js。该上下文实例化了一个MetaMask控制器的实例,该实例表示用户的帐户、到区块链的连接以及与新Dapps 阅读全文
posted @ 2018-09-29 16:47 慢行厚积 阅读(1690) 评论(0) 推荐(0) 编辑
摘要:()MetaMask Browser Extension https://github.com/MetaMask/metamask-extension 这就是整个metamask的源码所在之处,好好看看 https://metamask.github.io/metamask-extension/这是 阅读全文
posted @ 2018-09-29 16:46 慢行厚积 阅读(2307) 评论(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 慢行厚积 阅读(1295) 评论(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 慢行厚积 阅读(2027) 评论(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 慢行厚积 阅读(662) 评论(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 慢行厚积 阅读(692) 评论(0) 推荐(0) 编辑
摘要:pump简介 https://github.com/terinjokes/gulp-uglify/blob/master/docs/why-use-pump/README.md#why-use-pump 当使用来自Node.js的管道时,错误不会通过管道流向前传播,如果目标流关闭,源流也不会关闭。p 阅读全文
posted @ 2018-09-29 16:44 慢行厚积 阅读(1519) 评论(0) 推荐(0) 编辑
摘要:https://github.com/MetaMask/metamask-extension/tree/master/app/scripts/controllers/network metamask-extension/app/scripts/controllers/network/network. 阅读全文
posted @ 2018-09-29 16:44 慢行厚积 阅读(1036) 评论(0) 推荐(0) 编辑
摘要:1193 Ethereum Provider JavaScript API Ryan Ghods (@ryanio), Marc Garreau (@marcgarreau) https://ethereum-magicians.org/t/eip-1193-ethereum-provider-ja 阅读全文
posted @ 2018-09-29 16:43 慢行厚积 阅读(1829) 评论(0) 推荐(0) 编辑