Last chance! 50% off unlimited learning
Sale ends in
personal_ecRecover
returns the address associated with the private key
that was used to calculate a signature.
personal_ecRecover(message, signature)
String - Message that has been signed.
Data - Signature of the message that has been signed.
Address - Address of the account that has signed a message.
Other personal functions: gethr
,
personal_importRawKey
,
personal_listAccounts
,
personal_lockAccount
,
personal_newAccount
,
personal_sign
,
personal_unlockAccount
# NOT RUN {
personal_ecRecover('hello world', '0x1dd3657c91d95f350ab25f17ee7cbcdbccd3f5bc
52976bfd4dd03bd6bc29d2ac23e656bee509ca33b921e0e6b53eb64082be1bb3c69c3a4adccd9
93b1d667f8d1b')
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab