Skip to main content

Getting Started

Install packages

Install library using your favorite package manager

npm install --save @fazio/ipfs-upload-button

Importing component

You need to import the web component in your project by adding the following line to your project:

  import '@fazio/ipfs-upload-button';

Configuration

This compoonent working with third party services to upload files to IPFS and pin them. You need to select which service you want to use and provide the corresponding API key.

By default, the component is configured to use Web3Storage.

Web3Storage

To use the libraries packages with Web3Storage, you need to sign up and get your free API key.

Pinata

To use the libraries packages with Pinata, you need to sign up and get your free Authorization Token.