Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.
Yang Hau edited this page Jun 24, 2020 · 1 revision

MAM Introduction

MAM is a streaming message protocol. The data structure of MAM is similar to linked list. MAM allows user (publisher) publish a series streaming messages, and subscribers can fetch the streaming data on any entry which is generated by the same private key (Seed).

Tangle-accelerator provides APIs to send/receive MAM messages. Send MAM Message and Receive MAM Message pages describe more detailed information.

Terms

  • Channel Stream
    • A MAM Channel Stream is a list which a series of Channels connect together.
  • Seed
    • The private key of the Channel Stream.
  • Channel
    • A Channel contains multiple Messages. We can identify a certain Channel with Channel ID.
    • A Channel is the smallest unit that can be encrypted with PSK or NTRU keys.
  • Message
    • Message is place which the information really written on.
    • A Message is normally composed of several IOTA transaction objects.
    • MAM attributes are also listed in the signatureMessageFragment field in IOTA transaction object.
  • Announcement
    • MAM is a linked-list like data structure. Announcement is similar to the pointer which points to the next object on linked list. Announcement would announce the Channel ID of next Channel.