Deposit/withdraw
Deposit
To deposit, a secret key is generated and the user will submit its hash along with the deposit amount to the Secura Shield smart contract. The contract will then accept the deposit and will add a commitment to the list of deposits.
Withdraw
To withdraw, proof of possession of a key to an unspent commitment from the contracts deposit list is required, zkSnark technology allows the user to prove they know the key without revealing it. Secura Shield's smart contract will check the proof and then transfer the funds for withdrawal to a specified Arbitrum Address.
Last updated