SatoshiPortal / boltz-rust

Boltz client rust crate
https://docs.boltz.exchange
30 stars 16 forks source link

Change key derivation strategy to rotate at index rather than account #5

Closed i5hi closed 6 months ago

i5hi commented 6 months ago

We currently rotate keys at the account path. This is not ideal.

Lock-in account path for swaps as:

Rotate keys at the index path.

i5hi commented 6 months ago

Updated to the above.

Additionally:

Submarine swaps use purpose 49' Reverse swaps use purpose 84'

Client is responsible for tracking lastUsedIndex.