Chris Whinfrey
Nov 15, 2017 · 1 min read

Thanks Himanshu! If you want to avoid running a full node I would recommend using a service like Infura.
https://infura.io/
Here’s a post on setting up Infura with Truffle although it’s a little dated. Infura now requires you get an API key and include that in your URL.
http://truffleframework.com/tutorials/using-infura-custom-provider
Also, you can checkout our starter project which has an Infura configuration in truffle.js set up and uses truffle-hdwallet-provider which eliminates a lot of the boiler plate code you see in the Truffle post.

    Chris Whinfrey

    Written by