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

Use MAMv2 to register/resolve TangleID DID #124

Open
ender503 opened this issue May 6, 2019 · 9 comments
Open

Use MAMv2 to register/resolve TangleID DID #124

ender503 opened this issue May 6, 2019 · 9 comments
Assignees

Comments

@ender503
Copy link
Collaborator

ender503 commented May 6, 2019

Due to IOTA announce MAMv2, we decide no longer to use MAMv1 for identity registration.

The MAMv2 currently only support C language, we'll need Tangle Accelerator to provide the MAMv2 API for new identity registration.

@ender503 ender503 self-assigned this May 6, 2019
@ender503
Copy link
Collaborator Author

After a few discussions with @wusyong, we will not design the API for TangleID in Tangle Accelerator.

We'll wait for the entangled: JavaScript bindings, and use it for new identity registration.

@jserv
Copy link
Contributor

jserv commented Aug 20, 2019

The descriptions should be revised and reflected to latest engineering decisions.

@DougAnderson444
Copy link

So is this TangleID deprecated then? Or can it be used?

@jserv
Copy link
Contributor

jserv commented Dec 18, 2019

There is no JavaScript binding to MAMv2 yet, and we can still exploit Tangle-Accelerator to provide the bridge APIs. @DougAnderson444, would you like to collaborate on MAM2 enablement?

@DougAnderson444
Copy link

@jserv I'm very new to IOTA, so it's going to take me time to get up to speed on this project

@DougAnderson444
Copy link

Announcement of MAMv2 is here https://blog.iota.org/mam-update-c-libraries-and-release-2b98f135a0f4

@jserv
Copy link
Contributor

jserv commented Jan 4, 2020

Announcement of MAMv2 is here https://blog.iota.org/mam-update-c-libraries-and-release-2b98f135a0f4

The major problem of MAMv2 (or MAM+) is the lacking of JavaScript language binding. At the moment, only entangled/mam implemented MAMv2 with C interface. However, to support language binding as JavaScript, parameter passing and serialization have to be taken into considerations.

@DougAnderson444
Copy link

Ok, I am a bit confused then, as iotaledger/entangled#1183 was closed by iotaledger/entangled#1279 , so are we waiting for additional js bindings apart from those? Maybe I don't understand what differences are part of the "entangled" branch?

@jserv
Copy link
Contributor

jserv commented Jan 4, 2020

Ok, I am a bit confused then, as iotaledger/entangled#1183 was closed by iotaledger/entangled#1279 , so are we waiting for additional js bindings apart from those? Maybe I don't understand what differences are part of the "entangled" branch?

Using emscripten to translate C-based MAMv2 implementation into JavaScripts was known to work, but the major problem is explicit parameter pass and object manipulation. It was not clearly defined. Therefore, no official JavaScript package for MAMv2 appears at the moment.

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

3 participants