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

Support the Stellar memo convention. #310

Closed
cecilygardner opened this issue Jan 29, 2018 · 0 comments
Closed

Support the Stellar memo convention. #310

cecilygardner opened this issue Jan 29, 2018 · 0 comments

Comments

@cecilygardner
Copy link

stellar/stellar-protocol#28

Steps that need to happen when you handle an incoming message:

  1. you receive a tx
  2. Do you already have a preimage of the memo?
  3. no -> Fetch the preimage
  • Look up the home domain of the source account
    • Fetch the stellar.toml
  • or, Look for a "msg_server" key on the account
  • ask the MESSAGE_SERVER for the preimage of the tx memo
  1. Check signature on any signed blocks.
  2. Are there blocks that are encrypted?
  • Do we have the key?
  • yes -> decrypt
  • no -> ignore

after processing, the sdk should for each operation provide:

  • note
  • user info
  • routing info

We need to think a bit how we are going to implement this in the various sdk's @nullstyle

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

No branches or pull requests

1 participant