8000 Import & Export Feature for Address Book by ap211unitech · Pull Request #11383 · polkadot-js/apps · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Import & Export Feature for Address Book #11383

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

Merged
merged 12 commits into from
Mar 20, 2025

Conversation

ap211unitech
Copy link
Member

📝 Description

This PR introduces an Import & Export feature for the Address Book in Polkadot-JS, enabling users to easily migrate their saved addresses when switching to a new computer or browser.

🚀 Features

  • Export Address Book: Users can download their saved addresses as a JSON file.
  • Import Address Book: Users can upload a previously exported JSON file to restore their address book.
  • Ensures a smooth and efficient migration process without manually re-adding addresses.

🤔 Why This Change?

Migrating to a new device or browser currently requires users to manually re-enter their saved addresses, which is time-consuming. This update simplifies the process by providing an easy backup and restore mechanism.

✅ Testing & Validation

  • Verified successful export of address book data into a JSON file.
  • Tested importing the JSON file to restore addresses accurately.
  • Ensured proper handling of malformed or duplicate entries.
Screen.Recording.2025-03-12.at.12.35.25.mov

Copy link
Contributor
@valentinfernandez1 valentinfernandez1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is amazing, great work 🚀

It can be merged as is but please consider adding some extra in-code documentation to improve overall code readability 🙏🏻 .

Copy link
Member
@TarikGul TarikGul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me :)

@ap211unitech ap211unitech merged commit e840e20 into master Mar 20, 2025
5 checks passed
@ap211unitech ap211unitech deleted the feat/address-book-import-export branch March 20, 2025 14:11
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Mar 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add capability to export/import accounts / address book
4 participants
0