Skip to content

KryptomineCH/NFT.Storage.Net

Repository files navigation

NFT.Storage.Net

c# library to easily upload files to NFT.Storage.

loads files directly into your account and returns a readable .net object

image

Usage:

public void TestUploadRandomImage()
{   
    // can upload local files from disk right now
    GUID_Image.GenerateGuidImage("Testfile1.png");
    // create api
    NFT_Storage_API api = new NFT_Storage_API(GlobalVar.TestApiKey);
    
    
    NFT_File file = api.Upload("Testfile1.png").Result;
    string url = file.URL;
    string checksum = file.Sha256Sum;
}

-> returns a simplified c# object file image

supported filetypes

  • stream data
  • locally stored files
  • files up to 100 mb

features

  • upload image to nft.storage
  • validate and show sha256sum
  • async / multithreading
  • unit tests
  • api key

About

c# library to easily upload files to NFT.Storage

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages