---
# System prepended metadata

title: zkLogin Milestone 2 - Resubmission

---

**From the previous submission:**

The video for this milestone submission can be seen in: https://drive.google.com/file/d/1rUW6DcfaCe5_lqXMDwM48jQUxV25C4uT/view?usp=sharing

The source code can be found in the public repository: https://github.com/eryxcoop/zklogin-aiken

The idea of this milestone is to show that we successfully created a zkLogin address. From this address we can send funds to another account via zk proof generation and validation in the Aiken script that controls the address. 

You can replicate everything we did in the video by following the instructions in the README. 

aiken-zk tool: https://github.com/eryxcoop/cardano-zk-aiken (this is also referenced in the steps to follow)

---

Hi again! Thank you for your comments. Below we address each of your points:

**On the claim "No private data should be leaked or exposed"**

We wrote a document explainig this issue, [you can find it here](https://drive.google.com/file/d/1ItNVN4whOETpxbJTFCQLvxlfXyOM0d24/view?usp=sharing).

We also recorded a brief video with further explanation and showing code that [can be found here](https://drive.google.com/file/d/1Up4mrrQ4PWcQgqOP-l3HIObGyghGy98e/view?usp=sharing)

**Minor dependencies issues**

- As higher versions of the `rand` package (`0.10.0-rc.1` and up) are incompatible with `cardano-zk-aiken` dependecy, we submitted a `Cargo.lock` file to this dependency repo so `0.10.0-rc.0` is always installed. We updated the README.md (in `cardano-zk-aiken`) so the install command always uses the `Cargo.lock` file.
- We also locked all other depedencies of `cardano-zk-aiken` into specific versions as well. This will prevent errors in the future, ensuring dependencies are always the same.

**The sponsor wallet was depleted**

- We funded the wallet both in `preview` and `preprod` testnets.
- We changed the `README.md` mentioning how to check the balance of the wallet, before deploying a real transaction.
- We now correctly support both `preview` and `preprod` testnets for the wallet (see next item).

**`preview` testnet was hardcoded in `resolveSlotNo` function**

- We fixed this issue in the code by selecting the correct testnet depending on Blockfrost project key. So we now support sponsor wallets in any testnet.


As always, all code changes can be found in the public repository: https://github.com/eryxcoop/zklogin-aiken