From: Ardis Lu Date: Sun, 23 Oct 2022 03:10:29 +0000 (-0700) Subject: Use Cloudflare gateway on own domain X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=5f34e0316dc89733ec5a07400be9f6a9906b9c76;p=ens2hex Use Cloudflare gateway on own domain --- diff --git a/index.html b/index.html index 3635fc1..8035de1 100644 --- a/index.html +++ b/index.html @@ -215,7 +215,7 @@
Credits
-

This tool uses the public 1RPC Ethereum node to query the ENS smart contract on the Ethereum blockchain. Click here to see a list of some other public nodes you could use.

+

This tool uses Cloudflare's Ethereum gateway to query the ENS smart contract on the Ethereum blockchain. Click here to see a list of some other public nodes you could use.

In the code, the only dependency is the keccak256 implementation used to hash the ENS names. The rest of the tool consists of about 80 lines of vanilla JavaScript to manipulate the names and prepare the JSON-RPC payload.

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

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

@@ -240,7 +240,7 @@ Advanced options
- +