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

feat: user data stored in vault #2263

Merged
merged 4 commits into from
Oct 18, 2024
Merged

Conversation

grumbach
Copy link
Member

@grumbach grumbach commented Oct 18, 2024

  • UserData can now be stored on the Network in a Vault so no need to keep addresses and register keys around
  • JS bindings to get_user_data_from_vault and put_user_data_to_vault allowing the webapp to make use of this
  • Autonomi API still offers lower level APIs to create custom vaults. To differenciate those a u64 hash of the app name is used in Scratchpad
  • Chose to allow UserData to include names for data we keep track of: namely Registers and Archives. Although it is optional.
  • Improved the API of vault which returned clunky options instead of managing underlying errors
  • exposed Bytes used throughout sn_protocol's API as higher level libs should were using the original lib leading to possible future problems if the dependencies versions mismatch

@grumbach grumbach force-pushed the vault_with_user_data branch from 67679d3 to 88694f7 Compare October 18, 2024 07:39
@grumbach grumbach enabled auto-merge October 18, 2024 07:39
@grumbach grumbach added this pull request to the merge queue Oct 18, 2024
Merged via the queue into maidsafe:main with commit 2437a88 Oct 18, 2024
26 checks passed
@grumbach grumbach deleted the vault_with_user_data branch October 18, 2024 08:41
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.

2 participants