Wallet
Wallet
new Wallet(networkId)
Param
Type
wallet.setNetworkId(networkId)
Param
Type
wallet.has(address) ⇒ boolean
booleanParam
Type
wallet.delete(address) ⇒ boolean
booleanParam
Type
wallet.clear()
wallet.set(address, account) ⇒ any
anyParam
Type
Description
wallet.get(address) ⇒ Account
AccountParam
Type
wallet.addPrivateKey(privateKey) ⇒ PrivateKeyAccount
PrivateKeyAccountParam
Type
Description
wallet.addRandom([entropy]) ⇒ PrivateKeyAccount
PrivateKeyAccountParam
Type
Description
wallet.addKeystore(keystore, password) ⇒ PrivateKeyAccount
PrivateKeyAccountParam
Type
Description
Last updated
Was this helpful?