You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @saurfang! Thanks for this contribution, it has been super useful!
One thing I have been wanting to try is to take in a Multihash as an input parameter and convert it into a string.
My main reasoning for doing this is, so it can be set to the value in ERC721's tokenURI(), which is of type string. Although there is examples of going to and from Multihash <-> string in the JavaScript, I think quite a few folks would love to know how to do this in Solidity.
The text was updated successfully, but these errors were encountered:
Hello @saurfang! Thanks for this contribution, it has been super useful!
One thing I have been wanting to try is to take in a Multihash as an input parameter and convert it into a string.
My main reasoning for doing this is, so it can be set to the value in ERC721's
tokenURI()
, which is of type string. Although there is examples of going to and from Multihash <-> string in the JavaScript, I think quite a few folks would love to know how to do this in Solidity.The text was updated successfully, but these errors were encountered: