close
The Wayback Machine - https://web.archive.org/web/20210303165839/https://github.com/topics/solidity
Skip to content
#

solidity

Here are 4,478 public repositories matching this topic...

shrugs
shrugs commented Apr 12, 2018

🎉 Description

The ECDSA contract has a function toEthSignedMessage(bytes32), but we should have a function that works for any length of a bytes array:

function toEthSignedMessage(bytes s) pure internal returns (bytes32) {
  return keccak256(
    "\x19Ethereum Signed Message:\n",
    uintToBytes(s.length),
    s);
}

Where uintToBytes is implemented from an ideally

chainlink
maxnth
maxnth commented Jan 14, 2021

Maybe this is caused by me not being a native speaker but the following sentence in the README under the section Configure seems to be mixed up a bit.

You can configure your node's behavior by setting environment variables which can be, along with default values that get used if no corresponding environment variable is found.

Improve this page

Add a description, image, and links to the solidity topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the solidity topic, visit your repo's landing page and select "manage topics."

Learn more