louisinger / silentium

BIP352 light mobile wallet
https://app.silentium.dev/
42 stars 9 forks source link

Can't reproduce the "classic" taproot receive address #7

Closed kdmukai closed 3 months ago

kdmukai commented 3 months ago

Tried to import the "classic" taproot wallet from Silentium into other wallet software.

Tried with both a testnet wallet and with mainnet. Tried with new mnemonics created by Silentium and by restoring from external mnemonics created elsewhere.

What am I missing? The p2tr receive address generation looks straightforward enough in the code, but I haven't followed it all the way through all the dependencies.

louisinger commented 3 months ago

nice catch ! thanks for checking. I tested myself using a sparrow wallet. keys are the same but the taproot address is wrong (should tweak the public key).

louisinger commented 3 months ago

ce2494b62d4ce8da3a3f100c74621c16d2fda830 should fix. Now I get the same address using a Sparrow seed. Can you retry ?

kdmukai commented 3 months ago

Success! Matching "classic" receive addr confirmed.

New wallets match as expected and seem to complete sync (well, they report "No new blocks to scan"). But existing wallet / external mnemonics fire errors as described in #8.