Drag and drop files here

Overview

This component:

  • Uploads file(s)
  • Pays for and signs the upload at the server
  • Displays the uploaded file(s) (optionally)
  • Displays the upload receipt (optionally)

Before testing, set the PRIVATE_KEY variable in .env.local

Usage

Default:

<Uploader gasless={true} />

To hide the image preview:

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

To hide the receipt preview:

<Uploader gasless={true} showReceiptView={ false } />
Before testing, set the PRIVATE_KEY variable in .env.local

Docs