From: Ardis Lu Date: Mon, 3 Oct 2022 07:42:34 +0000 (-0700) Subject: Add detailed styling X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=d99eef3229da80dbe41b5e34d24285aba885b643;p=ens2hex Add detailed styling --- diff --git a/index.html b/index.html index 7ed0a01..3bbfee1 100644 --- a/index.html +++ b/index.html @@ -5,18 +5,73 @@ + ens2hex - ens2hex @@ -89,44 +143,57 @@
-
+

About this site

What is this? -

This is a tool to get the Ethereum hexadecimal (0x) address for every ENS (.eth) name in a list.

+
+

This is a tool to get the Ethereum hexadecimal (0x) address for every ENS (.eth) name in a list.

+
How does it work? -

This tool generates a JSON-RPC payload to bulk query the ENS PublicResolver smart contract, which returns the hexadecimal addresses. -

The keccak256 implementation was taken from Deno (original code here).

-

There are no dependencies other than the keccak256 implementation. The rest of the tool consists of about 80 lines of vanilla JavaScript.

-

Click here to view the source code on GitHub.

+
+

This tool generates a JSON-RPC request containing a payload to query the ENS PublicResolver smart contract for the hexadecimal addresses.

+

Then the tool sends the request to a public Ethereum node, which executes the payload and provides a response.

+
+
+
+ Credits +
+

There are no dependencies other than the keccak256 implementation used to prepare the JSON-RPC payload. The rest of the tool consists of about 80 lines of vanilla JavaScript.

+

The keccak256 implementation was taken from Deno (original code here).

+

Click here to view this site's source code on GitHub.

+
-
- - - -

Or upload a list of names:

-
- - -
- - - - - - - - - - - -
ENS nameAddress
-
-
+
+

ENS lookup

+
+ + + +

Or upload a list of names:

+
+ + +
+ + + + + + + + + + + +
ENS nameAddress
+
+
+