@wansproject/hash

Hash utility functions for Ethereum.

Usage no npm install needed!

<script type="module">
  import wansprojectHash from 'https://cdn.skypack.dev/@wansproject/hash';
</script>

README

Etheruem Hash Utilities

This sub-module is part of the ethers project.

It contains several common hashing utilities (but not the actual hash functions).

For more information, see the documentation.

Importing

Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.

const {

    isValidName,
    namehash,

    id,

    messagePrefix,
    hashMessage

} = require("@wansproject/hash");

License

MIT License