personal_sign
returns an Ethereum specific signature with
keccak256
.
personal_sign(address, message, password)
Address - Address of the user.
String - Message to sign.
String - Password of the account.
Data - Signature.
Other personal functions: gethr
,
personal_ecRecover
,
personal_importRawKey
,
personal_listAccounts
,
personal_lockAccount
,
personal_newAccount
,
personal_unlockAccount
# NOT RUN {
personal_sign('0xb117a8bc3ecf2c3f006b89da6826e49b4193977a', 'hello world',
'password')
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab