-
Notifications
You must be signed in to change notification settings - Fork 9
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
Off-chain Messages #22
Conversation
* add: offchain cip * lint * Update cips/cip-offchain_message_signature.md Co-authored-by: Ezequiel Raynaudo <[email protected]> * improvements * fix * fix * fix: list of questions --------- Co-authored-by: Ezequiel Raynaudo <[email protected]>
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.
🍾❤️🚀
Co-authored-by: Simon Warta <[email protected]>
@tac0turtle @webmaster128 |
I like the separate MsgProveIdentity. Sounds specific and flexible at the same time. For the arbitrary content signing I'd go with arbitrary valid UTF-8 text. This is readable by default, encourages the design of readable solutions and can host arbitrary data as well. E.g. any JSON document is a printable string and embedding raw data using some kind of encoding is just as good as a |
Co-authored-by: Marko <[email protected]>
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.
LGTM.
I would sync with Keplr since I saw they have a MsgSignData they use for off-chain signing, and understand how this might impact them.
Thank you.
merging for now, but we will still sync with wallets and clients |
one minor feedback from @Thunnini. could an optional chainID field be added? |
This was discussed somwhere in here. Where and why do you need this? Since off-chain messages are outside of any chain, I don't see how this belongs in here. In MsgSignArbitraryData you can add application specific context (which might include a chain ID). MsgProveIdentity proved a keypair ownership independent of a chain. |
Here is the discussion. |
No description provided.