docs: fixed capitalization of MetaMask (#2033).
This commit is contained in:
parent
45f367512d
commit
d67f8fb778
@ -237,7 +237,7 @@ module.exports = {
|
|||||||
"link-infura": { name: "INFURA", url: "https:/\/infura.io" },
|
"link-infura": { name: "INFURA", url: "https:/\/infura.io" },
|
||||||
"link-javascriptcore": { name: "JavaScriptCore", url: "https:/\/developer.apple.com/documentation/javascriptcore?language=objc" },
|
"link-javascriptcore": { name: "JavaScriptCore", url: "https:/\/developer.apple.com/documentation/javascriptcore?language=objc" },
|
||||||
"link-ledger": "https:/\/www.ledger.com",
|
"link-ledger": "https:/\/www.ledger.com",
|
||||||
"link-metamask": { name: "Metamask", url: "https:/\/metamask.io/" },
|
"link-metamask": { name: "MetaMask", url: "https:/\/metamask.io/" },
|
||||||
"link-otto": "https:/\/github.com/robertkrimen/otto",
|
"link-otto": "https:/\/github.com/robertkrimen/otto",
|
||||||
"link-parity": { name: "Parity", url: "https:/\/www.parity.io" },
|
"link-parity": { name: "Parity", url: "https:/\/www.parity.io" },
|
||||||
"link-pocket": { name: "Pocket Network", url: "https:/\/pokt.network" },
|
"link-pocket": { name: "Pocket Network", url: "https:/\/pokt.network" },
|
||||||
|
@ -73,7 +73,7 @@ $Contract: A Contract is an abstraction which represents a connection to a
|
|||||||
| **Contract** | $Contract |
|
| **Contract** | $Contract |
|
||||||
|
|
||||||
|
|
||||||
_subsection: Connecting to Ethereum: Metamask @<getting-started--connecting>
|
_subsection: Connecting to Ethereum: MetaMask @<getting-started--connecting>
|
||||||
|
|
||||||
The quickest and easiest way to experiment and begin developing on
|
The quickest and easiest way to experiment and begin developing on
|
||||||
Ethereum is to use [[link-metamask]], which is a browser extension
|
Ethereum is to use [[link-metamask]], which is a browser extension
|
||||||
@ -82,13 +82,13 @@ that provides:
|
|||||||
- A connection to the Ethereum network (a [[Provider]])
|
- A connection to the Ethereum network (a [[Provider]])
|
||||||
- Holds your private key and can sign things (a [[Signer]])
|
- Holds your private key and can sign things (a [[Signer]])
|
||||||
|
|
||||||
_code: Connecting to Metamask @lang<script>
|
_code: Connecting to MetaMask @lang<script>
|
||||||
|
|
||||||
// A Web3Provider wraps a standard Web3 provider, which is
|
// A Web3Provider wraps a standard Web3 provider, which is
|
||||||
// what Metamask injects as window.ethereum into each page
|
// what MetaMask injects as window.ethereum into each page
|
||||||
const provider = new ethers.providers.Web3Provider(window.ethereum)
|
const provider = new ethers.providers.Web3Provider(window.ethereum)
|
||||||
|
|
||||||
// The Metamask plugin also allows signing transactions to
|
// The MetaMask plugin also allows signing transactions to
|
||||||
// send ether and pay to change state within the blockchain.
|
// send ether and pay to change state within the blockchain.
|
||||||
// For this, you need the account signer...
|
// For this, you need the account signer...
|
||||||
const signer = provider.getSigner()
|
const signer = provider.getSigner()
|
||||||
|
Loading…
Reference in New Issue
Block a user