1

I am doing test development to run smart contracts on Ethereum client. I downloaded geth, but still unable to setup geth client. I run geth command and it keeps on running for next 10 minutes. I think it is downloading the whole Ethereum block chain on my computer. I killed it fearing it may blow up my computer. Please tell me how to download the light version so that I can run test my smart contracts? Went through various articles on internet, but not able to find solution.

Thanks

2

geth won't blow up your laptop it will only fill up your hard drive if you sync it with the full blockchain. the light mode wich is available since v1.5.2 helps you to synch with blockchain without downloading it, you get only the current state so it reduce the size needed.

to use the light mode, download geth and run it using the option light

geth --light

if you want to test your contract setup a private chain or connect to the testnet.

  • How light is geth --light? Can I specify number of nodes in the end? I did run geth --light, but had to close after 5 minutes as I thought it should take 1 minute or 2 to setup geth – Munish May 11 '17 at 17:11
  • Secondly how do I setup a private chain or connect to the testnet? – Munish May 11 '17 at 17:12
  • private chain : ethereum.stackexchange.com/questions/125/… – Badr Bellaj May 11 '17 at 17:14
  • testnet :you use geth --testnet – Badr Bellaj May 11 '17 at 17:14
  • your geth node will be continually synching and downloading data even in the light mode the difference is about the size of the data to download if you don't so set up your private chain (local) where you can start stop synching at your will – Badr Bellaj May 11 '17 at 17:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.