I have a html code interacting with my smart contract via a local test rpc local host.
I was just wondering if I deploy this contract to the main network instead of using test rpc, what should be the http provider I specify in my html code?
As well as would the user whom will interact with the html page need to have a test rpc running as well.
<script>
if (typeof web3 !== 'undefined' && typeof window.web3.currentProvider !== "undefined")
{
console.log(typeof web3)
web3 = new Web3(web3.currentProvider );
} else {
web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));
}