Sensitive On-Chain Data Exercise 2
Intro
There is a secret door from Hogwarts deployed on the Goerli Ethereum Testnet.
The secret door contract address is: 0x148f340701D3Ff95c7aA0491f5497709861Ca27D
Your goal in this exercise is to collect information about this door, and eventually, unlock it.
Note: This exercise is executed on an Goerli testnet local fork block number 8660077. Everything is already configured in the hardhat.config.js file.
Note: In this exercise you don't have access to the source code of the SecretDoor.sol smart contract.
Setup
Update your .env file and add the GOERLI Infura RPC url:
GOERLI = 'https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161'
Accounts
- 0 - Muggle (You)
Tasks
Task 1
Find the door number and the door owner's name.
Task 2
Unlock the door 🔓
Useful Links
Goerli Public RPC Nodes
https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161
https://ethereum-goerli-rpc.allthatnode.com