Meshbits / pirate-chain-ios-wallet

iOS version of the Pirate Wallet
MIT License
3 stars 2 forks source link

Need Skull-Island and Piratewallet-lite-cli matching address from this iOS wallet #1

Closed satindergrewal closed 3 years ago

satindergrewal commented 3 years ago

Both Skull-Island and Piratewallet-lite-cli generates a shielded address from 24 word seed phrase, and so does this iOS wallet.

But I found the same seed phrase gives different address on Piratewallet-lite-cli and this iOS wallet.

SEED PHRASE:
scout power diamond brother expose cart senior enter afford gym tired chase violin harsh gasp panic bicycle normal waste more spike sea inner crush

iOS Wallet generated this:
zs1da5xf5ake2jr63acq22v0ln53vt48vfl49ys82zrrgcfszcpkhk5ehedsy499p0fnfprkgax3nt

piratewallet-lite-cli generated this:
zs1j8kz2pkfdmwatkufwlu0e9kkvxmk7g6k78ymld53tg20q8php4s9d26s5jk53f85qxvm6v046em

Need to check what needs to be changed to either ZcashLightClientKit or within this iOS swift files, to get same address from seed phrase as other Pirate apps.

satindergrewal commented 3 years ago

Made it work by static change done to in this git commit: https://github.com/Meshbits/ZcashLightClientKit/commit/655dcdd26ecb9057f2c2974152f40fb577fa01b8

The result is matching address in iOS wallet with the other applications of Komodo Platform ecosystem and Pirate Chain. Simulator Screen Shot - iPhone 12 - 2021-05-18 at 05 48 54