-
Notifications
You must be signed in to change notification settings - Fork 7
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
Signed transactions for token minting module #47
Conversation
1bc8cf8
to
866ca4e
Compare
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.
can we modify this module in a way that its not just serving mint but also other ops? so prob
- rename to get rid of
mint
- instead of creating a resource for proof challenge here, we should just pass in the challenge as bytes and verify that?
it will make this module a lot more flexible for different use cases
Good idea, have updated to do so! |
@@ -0,0 +1,97 @@ | |||
module minter::signed_transaction { |
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.
nit: add a comment section above this comment to explain what this module is doing about proof challenge and proof data validation? and then prob share couple potential use cases on how signed txn can be utilized.
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.
Done!
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.
thx for addressing these comments!
Description
This module allows creating signed transactions which verify a creator has signed a message with the specified public key.