|
|
@ -21,7 +21,7 @@ export class ExternalHttpProvider extends AbstractProvider { |
|
|
|
const thePath = '<path/to/local/folder/for/test/chain>' |
|
|
|
const thePath = '<path/to/local/folder/for/test/chain>' |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<> |
|
|
|
<> |
|
|
|
<div className=""> |
|
|
|
<div className="pr-1"> |
|
|
|
<FormattedMessage |
|
|
|
<FormattedMessage |
|
|
|
id="udapp.externalHttpProviderText1" |
|
|
|
id="udapp.externalHttpProviderText1" |
|
|
|
values={{ |
|
|
|
values={{ |
|
|
@ -32,8 +32,7 @@ export class ExternalHttpProvider extends AbstractProvider { |
|
|
|
) |
|
|
|
) |
|
|
|
}} |
|
|
|
}} |
|
|
|
/> |
|
|
|
/> |
|
|
|
<div className="border p-1">geth --http --http.corsdomain https://remix.ethereum.org</div>
|
|
|
|
<div className="border p-1 mt-2 mb-3">geth --http --http.corsdomain https://remix.ethereum.org</div>
|
|
|
|
<br /> |
|
|
|
|
|
|
|
<FormattedMessage |
|
|
|
<FormattedMessage |
|
|
|
id="udapp.externalHttpProviderText2" |
|
|
|
id="udapp.externalHttpProviderText2" |
|
|
|
values={{ |
|
|
|
values={{ |
|
|
@ -44,14 +43,12 @@ export class ExternalHttpProvider extends AbstractProvider { |
|
|
|
) |
|
|
|
) |
|
|
|
}} |
|
|
|
}} |
|
|
|
/> |
|
|
|
/> |
|
|
|
<div className="border p-1"> |
|
|
|
<div className="border p-1 mt-2 mb-3"> |
|
|
|
geth --http --http.corsdomain="{window.origin}" --http.api web3,eth,debug,personal,net --vmdebug --datadir {thePath} --dev console |
|
|
|
geth --http --http.corsdomain="{window.origin}" --http.api web3,eth,debug,personal,net --vmdebug --datadir {thePath} --dev console |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<br /> |
|
|
|
<div className='alert-warning p-1 mb-3 px-2'> |
|
|
|
<br /> |
|
|
|
<FormattedMessage id="udapp.externalHttpProviderText3" values={{ b: (chunks) => <b><p className='pt-2'>{chunks}</p></b> }} /> |
|
|
|
<FormattedMessage id="udapp.externalHttpProviderText3" values={{ b: (chunks) => <b><>{chunks}</></b> }} /> |
|
|
|
</div> |
|
|
|
<br /> |
|
|
|
|
|
|
|
<br /> |
|
|
|
|
|
|
|
<FormattedMessage |
|
|
|
<FormattedMessage |
|
|
|
id="udapp.externalHttpProviderText4" |
|
|
|
id="udapp.externalHttpProviderText4" |
|
|
|
values={{ |
|
|
|
values={{ |
|
|
@ -62,9 +59,9 @@ export class ExternalHttpProvider extends AbstractProvider { |
|
|
|
) |
|
|
|
) |
|
|
|
}} |
|
|
|
}} |
|
|
|
/> |
|
|
|
/> |
|
|
|
<br /> |
|
|
|
<label className='pt-4 mb-0'> |
|
|
|
<br /> |
|
|
|
|
|
|
|
External HTTP Provider Endpoint |
|
|
|
External HTTP Provider Endpoint |
|
|
|
|
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</> |
|
|
|
</> |
|
|
|
) |
|
|
|
) |
|
|
|