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

Make the cli tool work with the last librustzcash + cargo fmt #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oxarbitrage
Copy link

I did some updates to the lib code in this tool so it can be built. I am not sure if all the changes are correct as there are other things also failing, however it seems to be working:

Building:

git clone https://github.com/oxarbitrage/zecpaperwallet
cd zecpaperwallet
git checkout -t origin/upgrade-librustzcash
cd cli
cargo build --release

Running:

$ ./target/release/zecpaperwallet -z 1 -t 1
Provide additional entropy for generating random numbers. Type in a string of random characters, press [ENTER] when done
kfdskfsdkjfjsdfkjsdkjfsd
Generating 1 Sapling addresses and 1 Transparent addresses...[OK]
[
  {
    "num": 0,
    "address": "zs13e3fkfmpctxt55hx8hz5v02c6elsfe87cwxgt45q05uqrfs9l9jsf7fm4xcujcfkj02us4u2j0g",
    "private_key": "secret-extended-key-main1qdct6nh5qqqqpq95zg3kr40dtv4p08399zdyqqv8dea2sflm3h0p6cxyafxrkshdmy9vkpecp8yw7pnnwv0eng80dsujk7xdyeks3sz0lyh9tdu3xwdq65j3szvjxk739l94hxuexkc7jch5kknndcd2smw4nwhxycu33xsv0pmdt390e3sdmlm4ga3dslhtavumy9wt99k6xnnwckthzty9lwy4tep68q6ykp0hh2nnz5ucsc4qf54885ujj8c0xlzpg32nvnknxkqdkawcm",
    "viewing_key": "zxviews14x52d8y73h84rshcefy32shljk0kk8j4hxk8nvptsk475au4pthtkgl6yhsw7yv6mxv5ld6l3qm7qhsuvwkkg6dr0r2gs3wdvjvjwsmcwm2uft7vvrwl7a28vtv8a6lt8xeptjefdk35umk9jacjep0m3y50n3v6",
    "type": "zaddr",
    "seed": {
      "HDSeed": "b211b2f51295eb7f7f2d2988ebb99c94edd0fb3329bffe2472df12c9422dc1a2",
      "path": "m/32'/133'/0'"
    }
  },
  {
    "num": 0,
    "address": "t1Lb2BUNxaZjs45yPWgrxtzo7ZFXuCCpoHf",
    "private_key": "L4TXJev622KR4h5raEoFQ3iJY7TDXxwZXSGZL6xuVToUqcGffCTs",
    "type": "taddr"
  }
]
$ 

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

Successfully merging this pull request may close these issues.

1 participant