File to encrypt and then upload on IPFS.
Public Key to encrypt the file.
A TernoaIPFS instance.
Optional
nftMetadata: Partial<NftMetadataType>Optional secret NFT metadata (Title, Description, (...)) here.
Optional
mediaMetadata: MediaMetadataTypeOptional asset NFT metadata (Name, Description, (...)) here.
The data object with the secret NFT IPFS hash (ex: to add as offchain secret metadatas in the extrinsic).
Generated using TypeDoc
Name
secretNftEncryptAndUploadFile
Summary
Encrypts and uploads a file on an IFPS gateway.