feat(wip): add la orbis sdk #1
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WHAT
This is an experimental implementation of using OrbisDB on Lit Action. The objective is to enable each PKP to own its own database. This is achieved by creating a private key on Lit Action, encrypting it, and setting access control on itself. For each operation, the private key is decrypted and used, similar to the existing wrapped key operation.
❗️NOTE
A post-install script is required to disable AJV schema validation inside the Orbis SDK due to an issue running the package within the Lit Action / Deno environment?
See
https://github.com/LIT-Protocol/create-la-app/blob/39fd6d2a389eebfae6ba011e8230d4491618081f/postinstall.config.ts