Emurgo / yoroi

Yoroi

Home Page:https://yoroi-wallet.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for metadata when sending funds or tokens

gocedoko opened this issue · comments

Quite important yet presumably simple to implement feature, allowing to send metadata to a transaction.

image

Is it already planned to implement this?

The reason we haven't implemented this is because metadata isn't just a string -- it's structured data. That means we would have to ask the user to either put in JSON or put in some encoded hex string. Both of these are extremely error prone so I would strongly prefer not to do it.

There are two ways we want to tackle this problem:

  1. By finished the Cardano connector (which allows dapps to talk to Yoroi) so that dapps can construct the specific metadata format required for whatever they need
  2. Manually create UI for CIPs that require metadata. For example, our "voting" tab is an entire flow just to submit the Catalyst metadata transaction. If there are other standards we want to support, we would manually integrate them as well

One thing that could be kind of cool is a way to automatically generate the dialogs required for a metadata specification based on a CDDL specification, but I feel this could be a lot of work with few cases where this actually works and would rather people just use dapps through the connector.

@SebastienGllmt I found this post by searching "dapp". Is this dapp connector functionality already implemented? I would love to add it to my connector Swift package.

@SebastienGllmt I found this post by searching "dapp". Is this dapp connector functionality already implemented? I would love to add it to my connector Swift package.

@maurovz , the dapp-connector is a part of the Yoroi browser extension and is available for some time now. Not related to the Yoroi mobile project.

Thanks for the quick reply. What I was trying to ask is, is it possible to do this connection with the mobile app? Similarly to this:
68747470733a2f2f692e696d6775722e636f6d2f36536547357a322e676966

is it possible to do this connection with the mobile app?

Not yet