You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
@@ -37,25 +41,25 @@ import { Resolver } from './resolver.js';
37
41
38
42
/**
39
43
* This class is designed to interact with the ENS system on the Ethereum blockchain.
40
-
* For using ENS package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager, after that ENS features can be used as mentioned in following snippet.
41
-
* ```ts
42
-
*
43
-
* import { Web3 } from 'web3';
44
-
*
45
-
* const web3 = new Web3('https://127.0.0.1:4545');
* For using individual package install `web3-eth-ens` packages using: `npm i web3-eth-ens` or `yarn add web3-eth-ens`. This is more efficient approach for building lightweight applications.
50
-
*
51
-
* ```ts
52
-
*import { ENS } from 'web3-eth-ens';
53
-
*
54
-
* const ens = new ENS(undefined,'https://127.0.0.1:4545');
* For using ENS package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager, after that ENS features can be used as mentioned in following snippet.
45
+
* ```ts
46
+
*
47
+
* import { Web3 } from 'web3';
48
+
*
49
+
* const web3 = new Web3('https://127.0.0.1:4545');
* For using individual package install `web3-eth-ens` packages using: `npm i web3-eth-ens` or `yarn add web3-eth-ens`. This is more efficient approach for building lightweight applications.
54
+
*
55
+
* ```ts
56
+
*import { ENS } from 'web3-eth-ens';
57
+
*
58
+
* const ens = new ENS(undefined,'https://127.0.0.1:4545');
* The registryAddress property can be used to define a custom registry address when you are connected to an unknown chain. It defaults to the main registry address.
0 commit comments