Hardhat Forking

close button

Part I

Interacting with Public Contracts

Download quests in Questplay

The RockQuarry contract is deployed on the Sepolia testnet at 0x1aC6E00419352173c58D0Acbc81928587d27caac.

By successfully calling the dig() function, the contract will reveal its hidden treasure.

The quarry contract will only work if the network has chain_id == 11155111.

Your Task

Find the contract’s hidden treasure (i.e. return value of dig()). Then, log your answer into the file output/treasure.json.

Your json file must be a top-level array.

[ "{TREASURE_1}" ]

Run tests in Questplay

First things first, you need to navigate the entrance tunnels to reach the hidden treasure.