I want to write web3 frontend web apps to ethereum and smart contracts, but I dont really want to run a full node myself. Is it possible to connect to an existing node somewhere and use that? or must I have my own full node?
@plorph Just come across your post while reseaching for another. Maybe you can play with the providers example from the web3.js wiki:
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")); }
@o0ragman0o So first of all, I'm pretty happy that I can run geth with --rpc and then set the flag --rpccorsdomain "mydomain.net" and it works, luckily geth doesnt run as a full full node... i am not entirely sure what geth is doing to be honest because I thought it runs as a node but it takes much less resources that what a full node should take.
To my original question, I haven't been able to find available ip:ports for any old ethereum node that I could run my services on. For now I think I'll be using my own geth node which seems to run pretty lite and takes no setup.
Comments
providers
example from the web3.js wiki:To my original question, I haven't been able to find available ip:ports for any old ethereum node that I could run my services on. For now I think I'll be using my own geth node which seems to run pretty lite and takes no setup.