Skip to content
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

Add methods to backup & restore wallet #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tmalahie
Copy link
Contributor

@tmalahie tmalahie commented Dec 7, 2024

This PR adds the necessary methods to perform the wallet backup mechanism (backup & restoreBackup)
It depends on RGB-Tools/rgb-lib#53

@tmalahie tmalahie changed the title Add methods to restore backup Add methods to backup & restore wallet Dec 7, 2024
Copy link
Contributor

@nicbus nicbus left a comment

Choose a reason for hiding this comment

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

a couple points:

  • please format the code
  • please uniform the validateTypes calls to the existing ones (which use the validateTypes(params, expectedTypes); approach)

as an additional request, would you mind also adding the backup_info API? IMO it makes sense in the context of this PR

wrapper.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants