@ -193,15 +193,23 @@ class SettingsUI {
}
web3ProviderDialogBody ( ) {
const thePath = '<path/to/local/folder/for/test/chain>'
return yo `
< div class = "" >
< span > Note : If you are using < / s p a n >
< a href = "https://geth.ethereum.org/docs/rpc/server" target = "blank" > Geth < / a >
< span > , please configure it to allow requests from Remix : < / s p a n >
Note : To use Geth & https : //remix.ethereum.org, configure it to allow requests from Remix:(see <a href="https://geth.ethereum.org/docs/rpc/server" target="_blank">Geth Docs on rpc server</a>)
< div class = "border p-1" > geth -- rpc -- rpccorsdomain https : //remix.ethereum.org</div>
< br >
To run Remix & a local Geth test node , use this command : ( see < a href = "https://geth.ethereum.org/getting-started/dev-mode" target = "_blank" > Geth Docs on Dev mode < / a > )
< div class = "border p-1" > geth -- rpc -- rpccorsdomain = "${window.origin}" -- rpcapi web3 , eth , debug , personal , net -- vmdebug -- datadir $ { thePath } -- dev console < / d i v >
< br >
< br >
< b > WARNING : < / b > I t i s n o t s a f e t o u s e t h e - - r p c c o r s d o m a i n f l a g w i t h a w i l d c a r d : < b > - - r p c c o r s d o m a i n * < / b >
< br >
< br > For more info : < a href = "https://remix-ide.readthedocs.io/en/latest/run.html#more-about-web3-provider" target = "_blank" > Remix Docs on Web3 Provider < / a >
< br >
< b > geth -- rpc -- rpccorsdomain https : //remix.ethereum.org</b>
< br > < br >
< span > Web3 Provider Endpoint < / s p a n >
< br >
Web3 Provider Endpoint
< / d i v >
`
}