IPFS-CAR
Learn how to convert files and folders into content-addressable archive (.car) files and upload them to IPFS through Filebase.
What is a .car file?
1. Download the ipfs-car package with the following command:
2. Install the ipfs-car package:
3. Next, use ipfs-car to package a folder of files into a .car file.
Write a .car file to the current working directory
Write a .car file to a specific directory with a specified name
4. You can view the contents of the .car file with the following commands:
List the CIDs for each file in the .car archive:
List the file names for each file in the .car archive:
5. Next, upload your .car file to Filebase using the following AWS CLI command:
Last updated