0

For my project, I have created a web interface on which I'm viewing a published MAM stream.

I want to know that is it possible to edit or add new record to MAM stream that has already been published on Tangle without changing its root? Is that even possible? If yes, then any leads on how it can be done?

1 Answer 1

1

Yes, you can add new messages to a MAM stream by reloading the “mam state” and then simply publishing again. here is an example using javascript

https://github.com/Evanfeenstra/helix/blob/master/mam.js#L181

5
  • How do I add this updated MAM message stream for the same seed?
    – degr8sid
    Feb 10, 2020 at 17:18
  • What is next_root in this code?
    – degr8sid
    Feb 10, 2020 at 17:30
  • I would like to mention that I want to update the data in existing MAM stream (already published to tangle) from a web interface.
    – degr8sid
    Feb 10, 2020 at 17:43
  • 1
    The user will need to input the seed (but of course the seed never needs to leave the browser). The next_root is returned from the previous MAM message Feb 12, 2020 at 2:43
  • Could you please elaborate it a little bit? I don't get it.
    – degr8sid
    Feb 12, 2020 at 16:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.