Learn how to configure Minty for use with Filebase.

What is Minty?

Minty is a CLI tool that can be used to mint NFTs and pin their assets to an IPFS pinning provider such as Filebase.

Read below to learn how to use Minty with Filebase.


1. Clone the Github repository:

git clone

cd minty

2. Install the project’s dependencies:

npm install

npm link

4. Navigate to the Filebase Access Keys page, then view the IPFS Pinning Service API Endpoint.

Click the drop-down menu for 'Choose Bucket to Generate Token', then choose the IPFS Filebase Bucket you want to use.

5. Then copy the generated Secret Access Token:

6. Edit the ./config/.env file to configure Minty to use Filebase:


7. Start Minty in your local environment:


8. Mint an NFT with the following command:

minty mint ~/image.png --name "Filebase NFT #1" --description "This is an NFT minted using Minty and Filebase."

Take note of the Token ID that gets returned.

9. Then, pin your NFT’s data to Filebase with the command:

minty pin 1

Replace ‘1’ with the Token ID of your minted NFT.

If you have any questions, please join our Discord server, or send us an email at

Last updated