question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

API eth_sign properties

See original GitHub issue

This is more of a design choice, but was there a reason we decided to implement eth_sign as such: https://github.com/aionnetwork/aion/blob/843761824132b2dfe2a6e8dbc5b755167f571718/modApiServer/src/org/aion/api/server/rpc/ApiWeb3Aion.java#L614-L636

Functionally it works, but the use of keccak256 when we (probably?) use blake2b elsewhere doesn’t make sense. I vote we switch to blake2b because:

  • There are no compatibility issues, the VM does not support either hashing algorithm right now
  • It’s more consistent with what developers and users expect when using Aion

For context, I stumbled on this adding the offline signing feature for aion-keystore

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ali-sharifcommented, Oct 18, 2018

I vote to completely remove eth_sign from the json rpc api. It’s confusing, since people think this function let’s you sign a raw transaction (which it doesn’t) and most people don’t know about the payload signature scheme to validate random data (which this endpoint was designed for)

0reactions
AionJayTcommented, Mar 18, 2019

the aion web3 support the sign feature.

Read more comments on GitHub >

github_iconTop Results From Across the Web

API methods - EthSigner - latest - ConsenSys
Calculates an Ethereum specific signature using sign(keccak256("\x19Ethereum Signed Message:\n" + len(message) + message)))." Adds a prefix to ...
Read more >
web3.eth API — Web3.py 5.31.3 documentation - Read the Docs
The web3.eth object exposes the following properties and methods to interact with the RPC APIs under the eth_ namespace. Often, when a property...
Read more >
EthSign
EthSign is a decentralized, versioned, and consensus-based electronic agreements signing application built on Polygon.
Read more >
Ethereum: Signing and Validating - Medium
A core primitive of Ethereum and other cryptocurrencies is the ability to sign data that can be verified by anyone.
Read more >
EthSign Token Sale Review And Token Analysis | CryptoRank.io
ESA enables electronic agreements to have tighter binding properties by enforcing its execution using smart contracts in addition to or in place of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found