39

I am a newbee to Ethereum and doing some research. I have installed the Ethereum Wallet app and synchronized the testnet.

However, to deploy my first contract in testnet, it requires some Ether, so can someone guide how to get that? I have tried to mine in testnet but unable to earn anything yet. So, are there any other ways?

q9f
  • 32,913
  • 47
  • 156
  • 395
Sanjeev Azad
  • 391
  • 1
  • 3
  • 5
  • 2
    Could you provide more details about the outputs you got when you started mining? I guess the accounts in test-net are pre-allocated with 10 ether each. Check this for getting more ether. – galahad Jun 29 '16 at 15:45
  • 1
    Related, because testnets change: http://ethereum.stackexchange.com/questions/84/what-public-test-networks-and-faucets-exist – eth Nov 24 '16 at 07:41

6 Answers6

18

The 2 best ways I found were:

1) Instant: an ether faucet here: http://faucet.ropsten.be:3001/

2) An hour or two: Switch on Mining from the menu Develop > Start Mining (Testnet only) or Command Shift M

You'll instantly have 1 ETH for each address you send to the faucet, and 20 or 30 test ETH from mining in a few hours at least.

Benc93
  • 393
  • 3
  • 9
  • Can we write some code using web3? I can't use the methods like above in my final year project! – Zeeshan Ahmad Khalil Aug 31 '19 at 10:12
  • Doesn't work... – Ozan Kurt Oct 03 '21 at 18:05