diff --git a/src/app/tabs/runTab/settings.js b/src/app/tabs/runTab/settings.js index 12b7e218c7..5ef00fa9e6 100644 --- a/src/app/tabs/runTab/settings.js +++ b/src/app/tabs/runTab/settings.js @@ -193,15 +193,23 @@ class SettingsUI { } web3ProviderDialogBody () { + const thePath = '' + return yo`
- Note: If you are using - Geth - , please configure it to allow requests from Remix: + Note: To use Geth & https://remix.ethereum.org, configure it to allow requests from Remix:(see Geth Docs on rpc server) +
geth --rpc --rpccorsdomain https://remix.ethereum.org
+
+ To run Remix & a local Geth test node, use this command: (see Geth Docs on Dev mode) +
geth --rpc --rpccorsdomain="${window.origin}" --rpcapi web3,eth,debug,personal,net --vmdebug --datadir ${thePath} --dev console
+
+
+ WARNING: It is not safe to use the --rpccorsdomain flag with a wildcard: --rpccorsdomain * +
+
For more info: Remix Docs on Web3 Provider
- geth --rpc --rpccorsdomain https://remix.ethereum.org -

- Web3 Provider Endpoint +
+ Web3 Provider Endpoint
` }