Add support for metadata when sending funds or tokens
gocedoko opened this issue · comments
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:
- 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
- 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.
is it possible to do this connection with the mobile app?
Not yet