-
Notifications
You must be signed in to change notification settings - Fork 49
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
Conversation
) { | ||
const digest = Crypto.hash(JSON.stringify(journalContent)) | ||
const hexDigest = Crypto.u8aToHex(digest) | ||
return hexDigest |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
No description provided.