---
title: "Discussion on \"Ethernaut Level 12  Privacy [Foundry-Hardhat]\" | Hashnode"
description: "Discussion on \"Ethernaut Level 12  Privacy [Foundry-Hardhat]\". Making a variable private implies that it can only be accessed in the contract in which it is declared; it does not hide the variable, and the variable’s"
url: "https://hashnode.com/posts/ethernaut-level-12-privacy-foundry-hardhat/63c12ebe85fdebf908f5f268"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Ethernaut Level 12  Privacy \[Foundry-Hardhat\]](https://0xcsp.hashnode.dev/ethernaut-level-12-privacy-foundry-hardhat?utm_source=hashnode&utm_medium=feed)

Making a variable private implies that it can only be accessed in the contract in which it is declared; it does not hide the variable, and the variable’s

Jan 13, 2023 · 4 min read · 0xcsp.hashnode.dev  
Updated Apr 21, 2023  
Read the article

-   [#ethereum](https://hashnode.com/tag/ethereum)
-   [#solidity](https://hashnode.com/tag/solidity)
-   [#foundry](https://hashnode.com/tag/foundry)
-   [#hardhat](https://hashnode.com/tag/hardhat)
-   [#ethhernaut](https://hashnode.com/tag/ethhernaut)

## Written by

[Chirag Patil](https://hashnode.com/@0xcsp)

@0xcsp · India

  
[View profile](https://hashnode.com/@0xcsp)

Smart contract developer & web3 writer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
