<div class=${css.dialogParagraph}>Interact with your file system from Remix. <br>See the <a target="_blank" href="https://remix-ide.readthedocs.io/en/latest/remixd.html">Remixd tutorial</a> for more info.
<div class=${css.dialogParagraph}>
Access your file system from Remix IDE. Remixd the NPM module needs to be running in the background to use the Remixd plugin. For more info please check the <a target="_blank" href="https://remix-ide.readthedocs.io/en/latest/remixd.html">Remixd tutorial</a>.
</div>
<div class=${css.dialogParagraph}>If you are just looking for the remixd command here it is:
<div class=${css.dialogParagraph}>If you have looked at the Remixd docs and just need remixd command, <br> here it is:
<div class=${css.dialogParagraph}>A connection will start a session between <em>${window.location.origin}</em> and your local file system <i>ws://127.0.0.1:65520</i>
<br>To see that a connection has been made, check that there is a localhost section in the Files Explorer
</div>
</div>
<div class=${css.dialogParagraph}>Connection will start a session between <em>${window.location.origin}</em> and your local file system <i>ws://127.0.0.1:65520</i>
<div class=${css.dialogParagraph}>Please make sure your system is secured enough (port 65520 should not be opened nor forwarded).
so please make sure your system is secured enough (port 65520 neither opened nor forwarded).
This feature is still in Alpha, so we recommend you to keep a copy of the shared folder.
</div>
</div>
<div class=${css.dialogParagraph}>
<div class=${css.dialogParagraph}>
<h6 class="text-danger">
<h6 class="text-danger">
Before using, make sure you have the <b>latest remixd version</b>.<br><a target="_blank" href="https://remix-ide.readthedocs.io/en/latest/remixd.html#update-to-the-latest-remixd">Read here how to update it</a>
Before using, make sure you have the <b>latest remixd version</b>.<br><a target="_blank" href="https://remix-ide.readthedocs.io/en/latest/remixd.html#update-to-the-latest-remixd">Read here how to update it</a>
</h6>
</h6>
</div>
</div>
<div class=${css.dialogParagraph}>This feature is still in Alpha, so we recommend you to keep a copy of the shared folder.</div>
Note: To run Hardhat network node on your system, go to hardhat project folder and run command:
<div class="border p-1">npx hardhat node</div>
<br>
For more info, visit: <a href="https://hardhat.org/getting-started/#connecting-a-wallet-or-dapp-to-hardhat-network" target="_blank">Hardhat Documentation</a>
@@ -189,14 +188,16 @@ export class ExecutionContext {
...
@@ -189,14 +188,16 @@ export class ExecutionContext {
constoldProvider=web3.currentProvider
constoldProvider=web3.currentProvider
web3.setProvider(endpoint)
web3.setProvider(endpoint)
web3.eth.net.isListening((err,isConnected)=>{
web3.eth.net.isListening((err,isConnected)=>{
if(!err&&isConnected){
if(!err&&isConnected===true){
this.executionContext=context
this.executionContext=context
this._updateBlockGasLimit()
this._updateBlockGasLimit()
this.event.trigger('contextChanged',[context])
this.event.trigger('contextChanged',[context])
this.event.trigger('web3EndpointChanged')
this.event.trigger('web3EndpointChanged')
cb()
cb()
}elseif(isConnected==='canceled'){
web3.setProvider(oldProvider)
cb()
}else{
}else{
web3.setProvider(oldProvider)
web3.setProvider(oldProvider)
cb('Not possible to connect to the Web3 provider. Make sure the provider is running, a connection is open (via IPC or RPC) or that the provider plugin is properly configured.')
cb('Not possible to connect to the Web3 provider. Make sure the provider is running, a connection is open (via IPC or RPC) or that the provider plugin is properly configured.')