paint-brush
How to Solve Level 3 of the Ethernaut Gameby@kamilpolak
3,780 reads
3,780 reads

How to Solve Level 3 of the Ethernaut Game

by Kamil Polak3mJanuary 24th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In level 3 you have to play a game: coin flip. To complete this level you'll need to guess the correct outcome of a coin flip 10 times in a row. The random number is being generated from the block hash or the hash of the previously mined block. This number is used as the source of randomness which ultimately influences the side of the flipped coin. When you call the `flip` function in the `HackCoinFlip` contract the value will increase to 1.

Coin Mentioned

Mention Thumbnail
featured image - How to Solve Level 3 of the Ethernaut Game
Kamil Polak HackerNoon profile picture
Kamil Polak

Kamil Polak

@kamilpolak

I am a huge enthusiast of cryptocurrency and blockchain technology.

About @kamilpolak
LEARN MORE ABOUT @KAMILPOLAK'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Kamil Polak HackerNoon profile picture
Kamil Polak@kamilpolak
I am a huge enthusiast of cryptocurrency and blockchain technology.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite