34 lines
673 B
Plaintext
34 lines
673 B
Plaintext
_title: Signer
|
|
|
|
_section: Signers
|
|
|
|
Tra la la...
|
|
|
|
_subsection: Signer @<signer>
|
|
|
|
_property: signer.connect(provider) => [[signer]]
|
|
TODO
|
|
|
|
_heading: Blockchain Methods
|
|
|
|
_property: signer.getBalance([ blockTag = "latest" ]) => Promise<[[bignumber]]>
|
|
TODO
|
|
|
|
_property: signer.getTransactionCount([ blockTag = "latest" ]) => Promise<number>
|
|
TODO
|
|
|
|
|
|
_subsection: Wallet inherits Signer
|
|
|
|
The Wallet class inherits [[signer]] and can sign transactions and messages
|
|
using a private key as a standard Externally Owned Account (EOA).
|
|
|
|
_heading: Creating an Instance
|
|
|
|
_property: new ethers.Wallet(privateKey [ , provider ])
|
|
TODO
|
|
|
|
_property: Wallet.fromEncryptedJson(json, password)
|
|
TODO
|
|
|