Skip to content

Instantly share code, notes, and snippets.

@learner-long-life
Last active August 30, 2022 22:32
Show Gist options
  • Save learner-long-life/10a98e8078cfd69f7ca892ddbdcf26bc to your computer and use it in GitHub Desktop.
Save learner-long-life/10a98e8078cfd69f7ca892ddbdcf26bc to your computer and use it in GitHub Desktop.
How to get on Rinkeby Testnet in less than 10 minutes

How to get on Rinkeby Testnet in less than 10 minutes

Following instructions from the excellent https://www.rinkeby.io/

Synchronizing a Full Node

A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well, and these are even faster. I'm using this for dapp development, so I want access to all state.

From the docs above:

A full node synchronizes the blockchain by downloading the full chain from the genesis block to the current head block,
but does not execute the transactions. Instead, it downloads all the transactions receipts along with the entire recent state.
As the node downloads the recent state directly, historical data can only be queried from that block onward.

Initial processing required to synchronize is more bandwidth intensive, but is light on the CPU and has significantly reduced
disk requirements. Mid range machines with HDD storage, decent CPUs and 4GB+ RAM should be enough.

Step 1: Download Geth

First, install the latest geth (1.7.3) to your machine.

For Ubuntu, you can follow the instructions on the official wiki.

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum

If you're just upgrade geth from a previous version, you can just run

sudo apt install geth

If you're downloading this to your Mac, you'll need to download the packages manually to get the latest (1.7.3) release. https://geth.ethereum.org/downloads/

Extract it and copy the geth binary to somewhere in your path.

# ppham @ Pauls-Air-2 in ~/Downloads [21:46:25]
$ tar zxvf geth-darwin-amd64-1.7.3-4bb3c89d.tar.gz
x geth-darwin-amd64-1.7.3-4bb3c89d/
x geth-darwin-amd64-1.7.3-4bb3c89d/COPYING
x geth-darwin-amd64-1.7.3-4bb3c89d/geth

# ppham @ Pauls-Air-2 in ~/Downloads [21:46:39]
$ sudo mv geth-darwin-amd64-1.7.3-4bb3c89d/geth /usr/local/bin/geth

For older releases on Mac OSX, you can use Homebrew to install from scratch:

brew install ethereum

and again if you are upgrading just geth

brew install geth

Unknown whether Parity works as well. It will probably take some finagling to work with the Geth-style Genesis block.

Step 2: Run Geth in Rinkeby Mode

At this point, you should probably start a tmux or screen session, so if you get interrupted during syncing it will still keep going in the background.

To run a full node, start Geth with the Rinkeby switch:

geth --rinkeby

SECURITY WARNINGS: We've enabled RPC and also loaded the personal module to allow testing and participating in smart contracts. However, if you do these things on a mainnet node with your unlocked wallet exposed to the internet, you could get hacked and all your monies stolen. I'll write a separate gist about a secure way to participate in a mainnet contract with real ETH.

On a MacBook Air with a 10 MBps (standard home internet download speeds), I was able to sync all 187k blocks in < 7 minutes,

Step 3: Create an account

In a separate tmux pane or screen buffer or a separate terminal completely, create an account and save the password somewhere safe.

After that, attach the console with the appropriate data directory.

On Linux it would be:

geth --datadir=$HOME/.rinkeby attach ipc:$HOME/.rinkeby/geth.ipc console

On Mac it would be:

geth --datadir=$HOME/.rinkeby attach ipc:$HOME/Library/Ethereum/rinkeby/geth.ipc console

and create an account (substituting a much better password than notmyrealpassword).

Welcome to the Geth JavaScript console!

instance: Geth/v1.6.1-stable-021c3c28/darwin-amd64/go1.8.1
 modules: admin:1.0 clique:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0

> eth.accounts
[]
> personal.newAccount("notmyrealpassword")
"0xb2e9fe08ca9a0323103883fe12c9609ed380f475"
> eth.coinbase
"0xb2e9fe08ca9a0323103883fe12c9609ed380f475"
> eth.getBalance(eth.coinbase)
0

You'll see a different address than 0xb2e9fe08ca9a0323103883fe12c9609ed380f475. That one's mine, provided for illustration. Save your password in a secret place, preferrably encrypted. I use Evernote encrypted text, but you can use any password manager like 1Password, LastPass, Dashlane, etc.

Leave that terminal open for now.

Step 4: Request ETH

Because Kovan and Rinkeby both use Proof-of-Authority (clique) to grant ETH, you'll need to request some to get started. However, unlike Kovan which requires you to bootstrap by requesting KETH from another human being, Rinkeby has a super-slick automated faucet, where you submit your address (copied from above) into one of three methods:

  • A public tweet on Twitter
  • A public Facebook post
  • A public Google+ link

Since I never use Google+ for social reasons with humans, I might as well use this for socializing with robots.

You can go to http://plus.google.com and post publicly on any discussion board. Here's mine.

Copy this URL:

https://plus.google.com/104143092173669955154/posts/bkAkrmtukQ5

Go to the Crypto Faucet section of https://rinkeby.io and paste it into the blank.

Choose an option from the dropdown which corresponds to how much Ether you need and how frequently (requesting more Ether will take longer between requests). I requested 3 ETH in 8 hours. Don't worry, you'll get your ETH in seconds, but you can't request again for another 8 hours. This is to prevent spammers from swamping the network by overpowering it with mining power and then out-spending everyone else.

This is the transaction where I received my 3 ETH: https://rinkeby.etherscan.io/address/0x54b7bc5bea3845198ff2936761087fc488504eed

Now, back in your geth console, wait for at most 15 seconds for the next block to be found, and verify your balance again

> eth.getBalance(eth.coinbase)
3000000000000000000

Woohoo! You're rich, in testnet wei :)

If you found this guide useful, follow us on Twitter at @InvisibleLearn or join us on Slack: http://invisible-slack.herokuapp.com/

You can also leave questions, comments, or feedbacks on this gist.

@Soekabumi
Copy link

Requesting faucet funds into 0x9c8816bcf31cea48ec2cbf98b36c85c90da722c5 on the #Rinkeby #Ethereum test network #https://testnets.opensea.io/assets/0x88b48f654c30e99bc2e4a1559b4dcf1ad93fa656/70801252512291801560390817983056309359661495017074514990937506562396471164929/

@bradwilde
Copy link

bradwilde commented Aug 31, 2021

Requesting funds into 0x2beA636E7B4B37E25D988f0522e2c853Be24196a on Rinkeby Test.

@maxmux-xyz
Copy link

Requesting faucet funds into 0xe16Bd85C59f7A75350350676D798A1C193F9e7f0 on the #Rinkeby #Ethereum test network.

@pxr64
Copy link

pxr64 commented Sep 17, 2021

Requesting faucet funds into 0x82D8d5e5BbfEFDb823F520a7b67B5e8802C71c7d on the #Rinkeby #Ethereum test network.

@manuel-fernandes
Copy link

manuel-fernandes commented Oct 6, 2021

Is anyone receiving faucet funds. I have been requesting and nothings for days. I did request yesterday as well. #Rinkeby #Ethereum test network. I used the twitter tweet link for the funding.
Although, faucet says "accepted". Cannot see any transactions for the address in etherscan for Rikeby.

@crypto4808
Copy link

The Rinkeby testnet faucet is offline. Would appreciate if anyone could send me some testnet ETH to 0xC5AE1dd3c4bBC7bD1f7260A4AC1758eb7c38C021.

@bradwilde
Copy link

bradwilde commented Oct 22, 2021 via email

@learner-long-life
Copy link
Author

learner-long-life commented Oct 22, 2021 via email

@bwdk
Copy link

bwdk commented Oct 23, 2021

Hello, Rinkeby faucet being offline, could a kind soul transfer me some ETH for my tests ? Thanks in advance 0xFe8E647214D4d135Aaa166419673d9447d1b3cCD

@marsouin
Copy link

Hello, a little Rinkeby ether would also be much appreciated! 0x21AA29940E63BF966EE10bc0336b41bF2127eAFF. Thanks a million for the kind at heart who would send me some.

@gheradufr
Copy link

Hello
If someone can help I will be grateful: 0x879a27C8103DEAa677d031D31b36748dCc0885C6

@bwdk
Copy link

bwdk commented Oct 23, 2021

Hello,
Testnet ETH is available from one of these addresses. If one is currently offline, try the other: https://rinkeby-faucet.com/, https://app.mycrypto.com/faucet

@gheradufr
Copy link

@bwdk Thank you!

@DerekfromMadison
Copy link

Can't seem to get any Rinkeby ETH anywhere. Can anyone spare a small amount? 0x8E8611807B2C38c734f73f559988f9a770b0D87B

@oladapo-joseph
Copy link

oladapo-joseph commented Nov 2, 2021

Hello @bradwilde , please can you spare me 0.1 eth, or any you can afford to spare, I have to complete an application and I am having trouble getting the test ethers for days now.
Thank you in advance.

@DerekfromMadison
Copy link

@oladapo-joseph Thank you!

@jjjack1
Copy link

jjjack1 commented Nov 26, 2021

please spare me 1 eth, 0x1928b9f14477149e05933faa30dd929dce2053d6

@a2468834
Copy link

@jjjack1 You could get 0.1 eth from chainlink faucet (without any time limit.)

@Hua-Yen
Copy link

Hua-Yen commented Dec 30, 2021

現在要領取測試代幣可以到 ChainLink 水龍頭 網站。

@kornzerox
Copy link

0x706E4D4287f4e482C391514362c0dC8d7bac03d4

@postism
Copy link

postism commented Mar 10, 2022

plz send eth I tried everything thx 0x31E12ce2c7b5526D48683DbAEbAbdcC5f5D68543

@Vasujkes
Copy link

0xe9D6b40ABa58bf606fBEAe77ead696d03c1485b6

@AJshewale
Copy link

0x4487F8433FA7534887dEfcD27AB06421d31632f2

Plz send me some ether i tried everything but not get yet.
Thanks

@Nas1812
Copy link

Nas1812 commented Mar 20, 2022

0xF85AC1636735e35F6A075e7482ff466A0ADd34e6

can some1 be kindly to send me 10 ether....tried everything but still struggling

@xxhashanxx
Copy link

same here I can see last transaction from https://faucet.rinkeby.io/ happens 4 days ago seems something happened
plz send some eth to 0xA580d004F25090199DB6ed5271708C9167639F41

@technicalbirdVayuz
Copy link

technicalbirdVayuz commented Apr 14, 2022

Need eth: 0x04cED8fFBA4f4fFbA8dcE6dc5b1E253fa4DEA5B0

Pls send if possible

@AbdulNasertp
Copy link

The Rinkeby testnet faucet is offline. Would appreciate if anyone could send me some testnet ETH to
0xb2546C21b8128783f50dCC68F1D5E68561B79EDf

@Cooops
Copy link

Cooops commented May 12, 2022

Requesting faucet funds into 0x5CB60D0Aec2f9C9B5527dF29362CeEe70084e3D6 on the #Rinkeby #Ethereum test network.

@Niviere
Copy link

Niviere commented May 30, 2022

Guys I need test funds for rinkeby please help. 0x7EcAA7243AD55881Bae3bA79D35B16155F7C4706 thankyou so much

@Hua-Yen
Copy link

Hua-Yen commented Jun 9, 2022

需要資金.. 0xB2C66bdb7a91BC2d6Dd2bd30af614Ae5a90B8D2F 進行測試.. 請幫助

Rinkeby 的 RETH 還需要嗎?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment