SiaFoundation / walletd

A new Sia wallet
https://sia.tech/software/walletd
MIT License
14 stars 6 forks source link

28/29 word "Sia" recovery phrase support #79

Closed ChrisSchinnerl closed 4 months ago

ChrisSchinnerl commented 4 months ago

We should be able to create a WASM function for this pretty easily. Every wallet since walrus has been backwards-compatible with siad seeds. siad seeds are 32 bytes of entropy, which are hashed with an integer to derive sequential keys; walrus seeds are 16 bytes of entropy, which are hashed to produce 32 bytes, which are then hashed with an integer. So the only difference is that walrus seeds get hashed an extra time before you use them.

n8maninger commented 4 months ago

We will not support Sia 28/29 seeds in the walletd UI. Instead, we will follow hostd and create a utility to sweep the funds of legacy wallet formats, both Sia seed and v0.3.x siag key files, to a new address.