Skip to content

whoisens/whoisens-gateway-eth

Repository files navigation

WhoisENS Ethereum Gateways (Nodes)

https://travis-ci.org/whoisens/whoisens-gateway-eth

Unique service, that provides different Ethereum version of nodes, allows user to select and use any nodes and version. Completely free and OpenSource!

Service intensely used by WhoisENS.org

Endpoint: https://eth.gateway.whoisens.org

How to use

You can use any third-party library as usual to connect to Ethereum node. There's example of using Web3.js.

import Web3 from 'web3';

const networkURL = 'https://eth.gateway.whoisens.org';
const name = 'whoisens.eth';

(async () => {
  const web3 = new Web3(Web3.givenProvider || networkURL);

  const forwardResolve = await web3.eth.ens.getAddress(name);
  console.log('Forward Resolve', forwardResolve);

  const contentHash = await web3.eth.ens.getContenthash(name);
  console.log('Content hash', contentHash);
})();

Install

You can install your own instance of that node. Please see INSTALL.md

Releases

No releases published

Packages

No packages published