Copyright | Aleksandr Krupenkin 2016-2021 |
---|---|
License | Apache-2.0 |
Maintainer | mail@akru.me |
Stability | experimental |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
ENS offers a secure & decentralised way to address resources both on and off the blockchain using simple, human-readable names.
This module provide basic ENS resolvers.
Synopsis
- namehash :: ByteString -> BytesN 32
- resolve :: (JsonRpc m, Account p (AccountT p)) => ByteString -> AccountT p m Address
Documentation
:: ByteString | Domain name |
-> BytesN 32 | Associated ENS node |
Namehash algorithm http://docs.ens.domains/en/latest/implementers.html#algorithm