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

Use @spartan-hc/holo-hash for managing holo-hashes #259

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

mjbrisebois
Copy link
Contributor

Here is a quick example of how we could start using a library to manage holo-hashes while preserving legacy support.

Most of the helper functions in utils could be replaced by the native methods on HoloHash instances.

@mjbrisebois mjbrisebois requested a review from jost-s June 27, 2024 21:55
@mjbrisebois
Copy link
Contributor Author

@jost-s do you see value in this?

Copy link
Contributor

@jost-s jost-s left a comment

Choose a reason for hiding this comment

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

Yes, I do see value in this. Looks good to me

}

export * from "@spartan-hc/holo-hash";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This causes ambiguity because the HoloHash classes have the same name as all the types.ts exports. How should we export the class implementations without conflict?

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