personal_importRawKey: New account creation giving the private key.

Description Usage Arguments Value See Also Examples

View source: R/personal.R

Description

personal_importRawKey imports the given unencrypted private key (hex string) into the key store, encrypting it with the passphrase.

Usage

1
personal_importRawKey(keydata, password)

Arguments

keydata

Data - Message that has been signed.

password

String - Password of the account.

Value

Address - Address of the new account.

See Also

Other personal functions: gethr, personal_ecRecover, personal_listAccounts, personal_lockAccount, personal_newAccount, personal_sign, personal_unlockAccount

Examples

1
2
personal_importRawKey('a5e3d0b2bb3011d00a139e5cdc4ae13144962752d6af7916bf2b
d271a240094e', 'password')

gethr documentation built on May 2, 2019, 7:03 a.m.