Making a Deposit
- Click on the Privacy button on the main screen
- Click Deposit in the new window
- Choose the amount of $ETH you wish to deposit
- Confirm the deposit
When making a privacy deposit, the user generates a secret and sends a Pedersen hash to the smart contract along with funds to mix in the BlockWallet privacy pool. This is known as a commitment after being accepted by the contract.
A hash function is a one-way function, which means that the hash of a secret can be easily calculated, while it is near-impossible to calculate the secret from a given hash. This property is used to guarantee that only a user in possession of the secret to a given commitment can withdraw funds from the contract.