DEV Community

Discussion on: dApps / Web3 - Help me finally understand / ELI5!

 
nombrekeff profile image
Keff

Pointing to a URL is not the way to do it. You use something like IPFS or store it directly in the block e.g. an SVG in base64 data. I'm not positive if the base64 route is considered best practice though.

Now that you mention that, we initially did it by storing data as compressed base64, and that's the reason why 1kb data was not enough for us (as mentioned in the other comment I posted). We also used IPFS at some point but it had it's drawbacks as well, but I can't recall exactly what the problems where.

Thread Thread
 
nickytonline profile image
Nick Taylor

In regards to the storage of an NFT, @dabit3 Just dropped a really helpful thread on Twitter.

Thread Thread
 
grahamthedev profile image
GrahamTheDev

Thanks Nick, useful thread and much appreciated!

FYI I just learned that you can't click Twitter cards on mobile (iOS), thought I would let you know!

Thread Thread
 
nickytonline profile image
Nick Taylor

Glad you enjoyed the thread! For the iOS issue, mind opening an issue on GitHub? https://github.com/forem/forem/issues/new?assignees=&labels=&template=bug_report.md

Thread Thread
 
grahamthedev profile image
GrahamTheDev • Edited