随笔分类 - metamask
广为使用的浏览器插件钱包
摘要:https://github.com/MetaMask/zero-client MetaMask ZeroClient and backing iframe service architecture here is a comparison of the extension-based and if
阅读全文
摘要:通过看其test的代码去好好看看它是怎么使用的 1. provider-engine/test/basic.js 返回结果: 2. provider-engine/test/cache-utils.js provider-engine/util/rpc-cache-utils.js 返回: 3. p
阅读全文
摘要:package.json 从script可以看出来,运行该项目,首先要prepublish 作用就是将根目录下的index.js\zero.js\subproviders和util文件夹中的所有文件都使用babel转成es5的版本,存放在dist文件夹中。然后分别使用browserify将index
阅读全文
摘要:https://github.com/MetaMask/provider-engine 在学习这个之前应该先看一下什么是zero-client,MetaMask/zero-client Web3 ProviderEngine Web3 ProviderEngine is a tool for com
阅读全文
摘要:https://github.com/MetaMask/eth-block-tracker A JS module for keeping track of the latest Ethereum block by polling an ethereum provider. 通过拉取以太坊的prov
阅读全文
摘要:kumavis/post-message-stream post-message-stream Sets up a duplex object stream over window.postMessage 在window.postMessage上设置一个双工对象流 所以我们先学习一下window.p
阅读全文
摘要:iframe--require('iframe') higher level api for creating and removing iframes in browsers 用于创建或移除浏览器中的iframe的更高层次的API usage use with browserify 与browse
阅读全文
摘要:https://github.com/MetaMask/Website 将这个包下载下来之后运行npm install出现下面的问题 查解决方法是说更新npm版本有用,后面发现没有,但是中间有个问题记录一下 更新npm版本时 npm install npm@latest -g 原因: 执行命令行命令
阅读全文
摘要:到chrome网上应用商店去下载metamask: 然后查找metamask,进行安装即可 因为我这已经安装好了,所以按钮处是评分,否则应该是安装按钮 安装好后查看chrome://extensions: 然后点击详细信息就可以查看到其的UUID: 然后点击右上见的🦊图标就进入metamask了:
阅读全文
摘要:pimterry/loglevel https://github.com/pimterry/loglevel Minimal lightweight simple logging for JavaScript. loglevel replaces console.log() and friends
阅读全文
摘要:https://github.com/kumavis/iframe-stream/blob/master/test/rebundle.js iframe-stream-其实就是将iframe打包成流 Create a stream around an iframe via post-message-
阅读全文
摘要:用来探测你的浏览器中有没有安装metamask插件 https://github.com/MetaMask/metamask-extension-provider MetaMask Extension Provider A module for providing a MetaMask provid
阅读全文
摘要:https://github.com/MetaMask/json-rpc-engine RpcEngine——MetaMask/json-rpc-engine https://github.com/MetaMask/json-rpc-engine a tool for processing JSON
阅读全文
摘要:https://github.com/MetaMask/obs-store ObservableStore ObservableStore is a synchronous in-memory store for a single value, that you can subscribe to u
阅读全文
摘要:https://github.com/MetaMask/json-rpc-middleware-stream/blob/master/test/index.js#L20 A small toolset for streaming json rpc and matching requests and
阅读全文
摘要:https://github.com/MetaMask/metamask-inpage-provider Used to initialize the inpage ethereum provider injected by MetaMask. Installation metamask-inpag
阅读全文
摘要:https://github.com/DamonOehlman/detect-browser detect-browser This is a package that attempts to detect a browser vendor and version (in a semver comp
阅读全文
摘要:https://github.com/kumavis/obj-multiplex obj-multiplex多路复用 simple stream multiplexing for objectMode 其实就是一个多路复用流能够使用name来区分各个子流,以达到一个parent流下其实有多个子流在运
阅读全文
摘要:https://github.com/MetaMask/safe-event-emitter safe-event-emitter An EventEmitter that isolates the emitter from errors in handlers. If an error is th
阅读全文
摘要:https://github.com/mafintosh/end-of-stream Call a callback when a readable/writable/duplex stream has completed or failed. end-of-stream A node module
阅读全文