Drag and drop files here

Overview

This component:

  • Encrypts a file using Lit Protocol
  • Uploads a file
  • Funds the upload (if necessary)
  • Displays the uploaded file(s) (optionally)
  • Displays the upload receipt (optionally)

Usage

Default:

<Uploader encryptData={true}/>

To hide the image preview:

<Uploader encryptData={true} showImageView={ false } />

To hide the receipt preview:

<Uploader encryptData={true} showReceiptView={ false } />

Docs