ethers.js/docs/v5/api/experimental/README.md
2021-02-08 15:26:10 -05:00

1.4 KiB

Documentation: html

Experimental

BrainWallet

BrainWallet . generate( username , password [ , progressCallback ] ) => BrainWallet

Generates a brain wallet, with a slightly improved experience, in which the generated wallet has a mnemonic.

BrainWallet . generateLegacy( username , password [ , progressCallback ] ) => BrainWallet

Generate a brain wallet which is compatible with the ethers v3 and earlier.

EIP1193Bridge

NonceManager

**new **NonceManager( signer )

Create a new NonceManager.

nonceManager . signer => Signer

The signer whose nonce is being managed.

nonceManager . provider => Provider

The provider associated with the signer.

nonceManager . setTransactionCount( count ) => void

Set the current transaction count (nonce) for the signer.

This may be useful in interacting with the signer outside of using this class.

nonceManager . incrementTransactionCount( [ count = 1 ] ) => void

Bump the current transaction count (nonce) by count.

This may be useful in interacting with the signer outside of using this class.