![](https://cdn.nodeguardians.io/backend-production/solidity_bg_fc76a87eed/solidity_bg_fc76a87eed.webp)
Standalone
Hardhat Forking
![](https://cdn.nodeguardians.io/backend-production/Mine_Entrance_1200px_1b0d8841f7/Mine_Entrance_1200px_1b0d8841f7.webp)
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
![](https://cdn.nodeguardians.io/backend-production/Mine_Entrance_1200px_1b0d8841f7/Mine_Entrance_1200px_1b0d8841f7.webp)
First things first, you need to navigate the entrance tunnels to reach the hidden treasure.