emerald-vault icon indicating copy to clipboard operation
emerald-vault copied to clipboard

Implement `emerald_sign`

Open gagarin55 opened this issue 8 years ago • 1 comments

Method which allows sign arbitrary message.

The sign method calculates an Ethereum specific signature with: sign(keccak256("Ethereum Signed Message: " + len(message) + message))).
Parameters

    Address - 20 Bytes - address.
    Data - Data which hash to sign.

params: [
  "0xcd2a3d9f938e13cd947ec05abc7fe734df8dd826",
  "0x5363686f6f6c627573" // Schoolbus
]

Returns

    Data - Signed data.

gagarin55 avatar Feb 22 '18 15:02 gagarin55

We need to add passphrase into rpc call, to unlock keyfile for selected adress

r8d8 avatar Feb 27 '18 14:02 r8d8