Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement emerald_sign #265

Open
gagarin55 opened this issue Feb 22, 2018 · 1 comment
Open

Implement emerald_sign #265

gagarin55 opened this issue Feb 22, 2018 · 1 comment

Comments

@gagarin55
Copy link
Contributor

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.
@r8d8 r8d8 mentioned this issue Feb 26, 2018
@r8d8
Copy link
Contributor

r8d8 commented Feb 27, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants