MetaMask/provider-engine-1】的更多相关文章

https://github.com/MetaMask/provider-engine 在学习这个之前应该先看一下什么是zero-client,MetaMask/zero-client Web3 ProviderEngine Web3 ProviderEngine is a tool for composing your own web3 providers. 这个模块就是用来教你怎么去构建自己的web3 providers的,从之前的其他学习,如mascara和zero-client等中我们都…
用来探测你的浏览器中有没有安装metamask插件 https://github.com/MetaMask/metamask-extension-provider MetaMask Extension Provider A module for providing a MetaMask provider to other WebExtensions. 即我们使用的: web3.currentProvider 这里的currentProvider就是metamask-extension-provi…
Utilities for handling Ethereum keys ethereumjs-wallet A lightweight wallet implementation. At the moment it supports key creation and conversion between various formats. 轻量级钱包实现.目前,它支持各种格式之间的key的创建和转换 It is complemented by the following packages: et…
https://github.com/trufflesuite/truffle-hdwallet-provider/blob/master/index.js 实现代码 truffle-hdwallet-provider/index.js const bip39 = require("bip39"); const ethJSWallet = require('ethereumjs-wallet'); const hdkey = require('ethereumjs-wallet/hdk…
eip title author discussions-to status type category created 1102 Opt-in provider access Paul Bouchon <mail@bitpshr.net> https://ethereum-magicians.org/t/eip-1102-opt-in-provider-access/414 Draft Standards Track Interface 2018-05-04 Simple summary T…
eip title author discussions-to status type category created requires 1193 Ethereum Provider JavaScript API Ryan Ghods (@ryanio), Marc Garreau (@marcgarreau) https://ethereum-magicians.org/t/eip-1193-ethereum-provider-javascript-api/640 Draft Standar…
https://github.com/MetaMask/metamask-inpage-provider Used to initialize the inpage ethereum provider injected by MetaMask. Installation npm install metamask-inpage-provider -S   metamask-inpage-provider/createErrorMiddleware.js 处理JSON-RPC调用是出现的错误,并将错…
https://github.com/MetaMask/mascara (beta) Add MetaMask to your dapp even if the user doesn't have the extension installed 可以开始分析一下这里的代码,从package.json中我们可以看到start中的内容: "scripts": { "test": "echo \"Error: no test specified\&qu…
The MetaMask Controller——The central metamask controller. Aggregates other controllers and exports an api. The core functionality of MetaMask all lives in what we call The MetaMask Controller. Our goal for this file is for it to eventually be its own…
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 you understand how we create the InpageProvider in the inpage.js script, you will be able to understan…