interbtc
interbtc copied to clipboard
feat: Add recovery pallet in runtime.
Closes #736
The Recovery Pallet in Substrate is a social recovery tool that allows users to regain account access through trusted friends' approval. It offers customizable configurations, safeguards, and efficient computational performance.
Key Points
- Utilizes M-of-N social recovery mechanism with Substrate for account access restoration.
- Users set a threshold of trusted friends for approving recovery attempts.
- Configurable parameters include friend selection, approval threshold, and delay period.
- Requires a deposit for creating a recovery configuration, refundable upon removal, and works based on game theory approach.
- Provides a secure process for initiating, vouching, and claiming account recovery.
- Allows updates to recovery configurations based on changing relationships and circumstances.
- Ensures account security by requiring consensus among trusted friends.
- Mitigates the risk of key loss or authentication issues, enhancing account security.
For more detailed information, refer to the Substrate documentation on Pallet Recovery.
Note: To enhance the adoption of the pallet among Interlay users, the implementation of a dedicated web app page is essential.
Thanks for looking into this @nakul1010! I've left a few comments on the Interlay runtime but please also consider those for the Kintsugi runtime. It's good that you already ran the benchmarks. In the PR description can you describe a bit about the functionality of the recovery pallet? Specifically how it works and what the benefits are.
Done
@nud3l @sander2 thoughts on including this pallet?
I'm in favor of including the pallet. @nakul1010 @gregdhill do you know other projects having a UI for this?
I do think the security deposits are too aggressive though for the feature to be useful. Left an extra comment there so we can discuss.
I'm in favor of including the pallet. @nakul1010 @gregdhill do you know other projects having a UI for this?
I do think the security deposits are too aggressive though for the feature to be useful. Left an extra comment there so we can discuss.
I couldn't find any team that has a dedicated user interface specifically for this pallet. However, you can find the flow documentation for the process on Polkadot's document website here.
Ok, let me ask if somebody has already implemented a UI for this.
@gregdhill updated parameters based on the comment.