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

Add score module SDK and update demo-score #133

Closed
wants to merge 7 commits into from

Conversation

adi-a11y
Copy link
Contributor

@adi-a11y adi-a11y commented Oct 9, 2023

No description provided.

) {
const digest = Crypto.hash(JSON.stringify(journalContent))
const hexDigest = Crypto.u8aToHex(digest)
return hexDigest
Copy link
Member

Choose a reason for hiding this comment

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

We need a function, that will take a score input and produce the transformed content that can be used with the toChain function to anchor the details to the chain. The return value should have all the elements required for the extrinsic

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Have made a separate PR for this issue. Please review: #135

demo/src/demo-score.ts Outdated Show resolved Hide resolved
@adi-a11y adi-a11y closed this Feb 27, 2024
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