Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.
Abhijith68 edited this page Aug 25, 2016 · 1 revision

if (typeof web3 !== 'undefined') { web3 = new Web3(web3.currentProvider); } else { // set the provider you want from Web3.providers web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545")); }

Clone this wiki locally