Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: failed to select a version for the requirement aes = "^0.2" #14

Open
satindergrewal opened this issue Feb 22, 2022 · 2 comments
Open

Comments

@satindergrewal
Copy link

Hi,

I'm trying to compile zec paper wallet from code but it's keep giving me error for aes dependency. I checked on https://crates.io/crates/aes/versions which shows the specific version of aes which is used at git hash of librustzcash dependency got deleted about 3 years ago.

I'm not a rust native programmer. Can you please help fix this issue?
Would very much appreciate your help on it.

Thanks
Satinder

Her the log trying to compile zecpaperwallet as of current state:

➜  Downloads git clone https://github.com/adityapk00/zecpaperwallet.git
Cloning into 'zecpaperwallet'...
remote: Enumerating objects: 768, done.
remote: Total 768 (delta 0), reused 0 (delta 0), pack-reused 768
Receiving objects: 100% (768/768), 523.41 KiB | 933.00 KiB/s, done.
Resolving deltas: 100% (413/413), done.
➜  Downloads cd zecpaperwallet/cli
➜  cli git:(master) cargo build --release
    Updating crates.io index
    Updating git repository `https://github.com/zcash/librustzcash`
error: failed to select a version for the requirement `aes = "^0.2"`
candidate versions found which didn't match: 0.8.1, 0.8.0, 0.7.5, ...
location searched: crates.io index
required by package `zcash_primitives v0.0.0 (https://github.com/zcash/librustzcash?rev=5a48d179b8434a0318e7e19dda506e245a904092#5a48d179)`
    ... which satisfies git dependency `zcash_primitives` of package `zecpaperlib v0.1.0 (/Users/satinder/Downloads/zecpaperwallet/lib)`
    ... which satisfies path dependency `zecpaperlib` of package `zecpaperwallet v0.1.0 (/Users/satinder/Downloads/zecpaperwallet/cli)`
➜  cli git:(master)
@oxarbitrage
Copy link

oxarbitrage commented Mar 13, 2024

I ran into the same error. For now the only thing i can add is that i was able to make it work by downloading the binaries https://zecwallet.co/paper.html#download for linux.

alfredo@spaceship:~/zecpaperwallet/linux-zecpaperwallet-v1.2$ ./zecpaperwallet --help
zecpaperwaller 1.2
A command line Zcash Sapling paper wallet generator

USAGE:
    zecpaperwallet [FLAGS] [OPTIONS] [output]

FLAGS:
    -h, --help       Prints help information
    -n, --nohd       Don't reuse HD keys. Normally, zecpaperwallet will use the same HD key to derive multiple
                     addresses. This flag will use a new seed for each address
        --testnet    Generate Testnet addresses
    -V, --version    Prints version information

OPTIONS:
    -e, --entropy <entropy>         Provide additional entropy to the random number generator. Any random string,
                                    containing 32-64 characters
    -f, --format <FORMAT>           What format to generate the output in [default: json]  [possible values: pdf, json]
    -t, --taddrs <t_addresses>      Numbe rof T addresses to generate [default: 0]
        --threads <threads>         Number of threads to use for the vanity address generator. Set this to the number of
                                    CPUs you have [default: 1]
        --vanity <vanity_prefix>    Generate a vanity address with the given prefix
    -z, --zaddrs <z_addresses>      Number of Z addresses (Sapling) to generate [default: 1]

ARGS:
    <output>    Name of output file.
alfredo@spaceship:~/zecpaperwallet/linux-zecpaperwallet-v1.2$ 

@oxarbitrage
Copy link

I made some fixes to at least be able to build and run the cli tool #18 (pdf generation is not working)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants