Storage
DownloadImage
Download an image from a URL or IPFS URI into a Sprite
object.
var data = await sdk.storage.DownloadImage("{{image_url}}");
Configuration
DownloadText
Download text data such as JSON from a URL or IPFS URI.
var data = await sdk.storage.DownloadText<string>("{{text_uri}}");
Configuration
UploadFromPath
Upload and pin data in IPFS using the path to a file.
var data = await sdk.storage.UploadFromPath("{{path/to-file}}");
Configuration
UploadText
Upload raw data to IPFS.
var data = await sdk.storage.UploadText("Hello world!");