-
Notifications
You must be signed in to change notification settings - Fork 15
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
WOTS-Ed25 Wallet Transition Requirements #70
Comments
In permanode the historical data is stored inside Scylla keyspace which reflects the network name(mainnet, devnet, comnet, etc), therefore the two options which you described above are possible, I would prefer the second one but also depends on legacy API to query the Signatures. |
Hornet will remove the spent address list with Chrysalis part II. So we also need Chronicle to store spent addresses in the legacy API. |
@cvarley100 What is the required lookup API for spent-addresses? |
Something like: isAddressSpent
|
Update on your requirements:
Our permanode already hold the data all the way back to 2017, but there might be some gaps in the earliest dump files.
Already hosted
Permanode doesn't differentiate between Answers to your open questions:
Yes, and I also plan to resolidify everything we currently have and hopefully identify any gap in the earliest data we have and most importantly if we could fetch them from somewhere. |
chrysalis-pt-2 support landed and our chronicle is already in production, please feel free to reopen if needed. |
Description
In the new wallet users will transition their funds from WOTS addresses to Ed25519 addresses. Ed25519 will be the default signature scheme in the new wallet. One important part of this transition involves recovering funds that sit on spent addresses. Before transitioning a user's funds from WOTS to Ed25519, we check for funds on spent addresses and execute an optional process we call "Spent Address Recovery". Spent Address Recovery seeks to generate signatures that reveal as minimal additional private key fragments such that an attacker cannot realistically brute force signatures and steal the funds before they confirm. To execute Spent Address Recovery we need the signatures of the previous spend(s), and therefore will need to rely on a permanode.
One important consideration is how to handle historical data (pre-Chrysalis) as the transaction structure is changing (see iotaledger/tips#17 and iotaledger/tips#18). It seems there are two options: either 1. Maintain legacy APIs and legacy transaction structure for any pre-Chrysalis data, or 2. Transition all pre-Chrysalis transactions/bundles to the new transaction/message scheme. Option 2 may prove infeasible with Chrysalis' deprecation of bundles, but it might be worth exploring for the sake of cohesion.
Motivation
We need historical transactions/signatures to allow users to safely transition from WOTS to Ed25. Requiring the user to enter signatures manually is too great a friction point for UX. The only option is to request them from a Permanode.
Requirements
Open questions
Are you planning to do it yourself in a pull request?
No.
The text was updated successfully, but these errors were encountered: