Skip to content

Commit

Permalink
Web3 Provider modal for local devmode
Browse files Browse the repository at this point in the history
  • Loading branch information
ryestew committed Mar 30, 2020
1 parent 78f7173 commit 463736d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/app/tabs/runTab/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,14 @@ class SettingsUI {
web3ProviderDialogBody () {
return yo`
<div class="">
<span>Note: If you are using </span>
<a href="https://geth.ethereum.org/docs/rpc/server" target="blank">Geth</a>
<span>, please configure it to allow requests from Remix:</span>
<span>Note: If you are using Geth & https://remix.ethereum.org, please configure it to allow requests from Remix:</span>
<br>
<b>geth --rpc --rpccorsdomain https://remix.ethereum.org</b>
<b>geth --rpc --rpccorsdomain https://remix.ethereum.org</b>
<br>(see <a href="https://geth.ethereum.org/docs/rpc/server" target="blank">Geth Docs on rpc server</a>)
<br><br>
However, if you want to run Remix locally and use a local test node, please use this command:
<br><b>geth --rpc --rpccorsdomain="package://a7df6d3c223593f3550b35e90d7b0b1f.mod" --rpcapi web3,eth,debug,personal,net --vmdebug --datadir <path/to/local/folder/for/test/chain> --dev console</b>
<br>(see <a href="https://geth.ethereum.org/getting-started/dev-mode" target="blank">Geth Docs on Dev mode</a>)
<br><br>
<span>Web3 Provider Endpoint</span>
</div>
Expand Down

0 comments on commit 463736d

Please sign in to comment.