swarms/ideas/146-status-go-sdk/progress.md

1.0 KiB

SDK Iterations

Protocol messages

New protocol spec clearly defines all message types with examples. It's based on transit-format, so it makes sense to evaluate its go implementation

Use cases:

General

[ ] Message

Parameters:
  • content: the content of the message (a map or a string for now)
  • content-type: the content-type of the message
  • message-type: the type of the message
  • to-clock-value : the clock of the sender for message ordering
  • timestamp: the timestamp of message

Where does the destination/s of the message is defined?

Private groups

[ ] NewGroupKey
  • GroupAdminUpdate
  • GroupLeave

Contact management

  • NewContactKey
  • ContactRequest
  • ContactRequestConfirmed
  • ContactUpdate

Not needed for first iteration

  • Seen
Message

Define final SDK UI based on different messages