powered by
personal_importRawKey imports the given unencrypted private key (hex string) into the key store, encrypting it with the passphrase.
personal_importRawKey
personal_importRawKey(keydata, password)
Data - Message that has been signed.
String - Password of the account.
Address - Address of the new account.
Other personal functions: gethr, personal_ecRecover, personal_listAccounts, personal_lockAccount, personal_newAccount, personal_sign, personal_unlockAccount
gethr
personal_ecRecover
personal_listAccounts
personal_lockAccount
personal_newAccount
personal_sign
personal_unlockAccount
# NOT RUN { personal_importRawKey('a5e3d0b2bb3011d00a139e5cdc4ae13144962752d6af7916bf2b d271a240094e', 'password') # } # NOT RUN { # }
Run the code above in your browser using DataLab