Skip to content

Commit

Permalink
suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniket-Engg committed Jun 10, 2021
1 parent 842a186 commit f1e245a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/hardhat.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ Remixd and Hardhat

**Note:** If you have not used `remixd` before, read more about it [here](./remixd.html)

If `remixd` is running locally on device and shared folder is a **hardhat project**, one more websocket listener will be running on port `65522`. According to its documentation,
If `remixd` is running locally on your device and shared folder is a **hardhat project**, an additional websocket plugin will be listening on port `65522`. According to its documentation,

> _Hardhat projects are npm projects with the hardhat package installed and a hardhat.config.js file._
Remixd hardhat listener is a websocket plugin similar to remixd and is used to perform Hardhat actions with Remix IDE.
The remixd hardhat listener is a websocket plugin similar to remixd and is used to perform Hardhat actions with Remix IDE.

It doesn't need any extra installation as it is shipped with [remixd NPM](https://www.npmjs.com/package/@remix-project/remixd) module.

Expand All @@ -25,7 +25,7 @@ If a hardhat project is shared through remixd and `localhost` workspace is loade

![](images/a-hardhat-compilation.png)

One can check this box to run the compilation for hardhat along with the Remix. Result of the compilation will be shown in the Remix IDE terminal
One can check this box to run the compilation for hardhat along with the Remix. The result of the compilation will be shown in the Remix IDE terminal

![](images/a-hardhat-compilation-success.png)

Expand All @@ -36,7 +36,7 @@ and also in the **remixd** terminal.
Hardhat Provider
------------------

_In Hardhat, contracts are deployed starting a local node. Read more about it in [Hardhat documentation](https://hardhat.org/getting-started/#connecting-a-wallet-or-dapp-to-hardhat-network)_
_In Hardhat, contracts are deployed by starting a local node. Read more about it in [Hardhat documentation](https://hardhat.org/getting-started/#connecting-a-wallet-or-dapp-to-hardhat-network)_

**Hardhat Provider** is a plugin on Remix IDE which enables users to deploy the contract to the Hardhat 'localhost' network. This plugin can be activated from Remix IDE plugin manager.

Expand All @@ -52,7 +52,7 @@ As soon as you select `Hardhat Provider`, a modal is opened asking for the `Hard

If Hardhat node is running with default options, then the default endpoint value in modal will not need any change. In case, Hardhat node host and port are different, JSON-RPC endpoint should be updated in the modal text box.

Once the correct endpoint is filled in the modal, just click on `OK` and the accounts from Hardhat node will be loaded in `ACCOUNT` section. Network id will also be shown.
Once the correct endpoint is filled in the modal, just click on `OK` and the accounts from the Hardhat node will be loaded in the `ACCOUNT` section. Network id will also be shown.

![](images/a-hardhat-provider-connected.png)

Expand Down

0 comments on commit f1e245a

Please sign in to comment.