0.2.4 • Published 4 years ago
hipr-eth v0.2.4
ETH Middleware
Usage
hipr-eth is hipr middleware that resolves names from ethereum.
firstly, if you don't have a local ethereum light node running, you need one. install geth and start a light node on port 8545
geth --syncmode "light" --httponce the light client is synced, make sure you have hipr installed
npm i -g hiprfinally install the hipr-eth middleware
hipr install hipr-eththen spin up a server (assuming you have an hsd/hnsd root server listening on port 5349)
hipr hipr-eth :5333 :5349now you can resolve trustlessly from ethereum!
Example
You can test that hipr is resolving properly by running
> dig @127.0.0.1 -p 5333 humbly.eth +short
184.73.82.1or
> dig @127.0.0.1 -p 5333 certified.badass +short
184.73.82.1