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

Cacao-zcap SDK support. #116

Merged
merged 11 commits into from Jun 2, 2022
Merged

Cacao-zcap SDK support. #116

merged 11 commits into from Jun 2, 2022

Conversation

cobward
Copy link
Collaborator

@cobward cobward commented Jun 1, 2022

Sister kepler-sdk PR: spruceid/kepler-sdk#40

  • Rewrite core SDK functionality in rust.
  • Refactor out some core definitions from kepler to kepler-lib.
  • Support cacao-zcaps in the SDK.

cobward added 10 commits June 1, 2022 12:04
- Move the core SDK functionality into rust.
- Extract some common Kepler lib code into a different crate.
- Support for CacaoZcap2022 in the SDK.
- Support for #host delegations in the SDK.
- Expand capabilityChain at each level to include the full chain, rather
  than just the parent.
- Express the invocationTarget and root zcap as separate resources in
  the delegation resource list.
Copy link
Member

@chunningham chunningham left a comment

Choose a reason for hiding this comment

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

overall LGTM, in future we can think about what else we can move into Kepler-lib, but this works well, is pretty clean and does all we need. is the typescript type declaration in sdk-wasm::host something we can extend to all fns/does it generate typed TS fns on the other side? I wouldn't think so but I live in hope

lib/Cargo.toml Outdated Show resolved Hide resolved
src/manifest.rs Show resolved Hide resolved
sdk-wasm/src/serde_siwe.rs Show resolved Hide resolved
- Don't use ring for anything.
- Add documented ts types for the wasm boundary types.
@cobward cobward merged commit b3223a1 into main Jun 2, 2022
@cobward cobward deleted the feat/sdk branch June 2, 2022 12:18
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.

None yet

2 participants