Published on

Ethernaut - Hello Ethernaut - Solution

Authors

Ethernaut - Hello Ethernaut - Solution

To complete this level, you can print the password using

await contract.password()
// Prints 'ethernaut0'

in the ethernaut console. Subsequently, you can submit the password via:

await contract.authenticate("ethernau0")

Finally, simply submit your contract instance to complete the level.