Withdraw phase

During the withdraw phase, the user creates the ZKP locally and submits the transaction to the target blockchain. Here, the ZKP gets verified along with its public signals. If all verifications are true, then the DACT Router makes the agnostic call to the target dApp, passing the user's intentions of the function to be called alongside its function parameters. It's important to treat the data structures from the deposit phase as private keys. These structures include the Secret and Nullifier number, the user commitment, plus the Smart Contract security parameters as all this creates the leaf. It's crucial to keep these data structures secure and not share them with anyone to prevent unauthorized access or unwanted interference in the transaction.

Last updated