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: support read and sync of Register data types without providing a wallet #1308

Open
happybeing opened this issue Feb 14, 2024 · 0 comments

Comments

@happybeing
Copy link
Contributor

The current APIs (e.g. ClientRegister::sync()) require a wallet when read-only sync and even write-sync of an existing Register is free.

Since there will no doubt be a use for apps to just inspect or update existing registers this seems an unnecessary requirement. A wallet is only needed if the operation needs to create a Register, so I think everywhere that the developer does not need or expect to create a Register, provision of a wallet should either not be possible, or at least be optional.

This could be made explicit with API naming such as sync() and sync_or_create().

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

No branches or pull requests

1 participant