Learn how to configure IPFS CLI for use with Filebase.
IPFS CLI is a command line tool that can be used to interact with IPFS. It can be configured to utilize different IPFS pinning services such as Filebase through the
ipfs pin remotecommands.
Read below to learn how to use IPFS CLI with Filebase.
To add Filebase as a pinning service, use the following command:
ipfs pin remote service add filebase https://api.filebase.io/v1/ipfs access-token
Replace access-token with your Filebase IPFS Pinning Service token. The access-token can be generated by navigating to the Filebase Access Keys page, then viewing 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.
Then copy the generated Secret Access Token:
ipfs pin remote add --service=filebase --name=test.png QmSp5z5RAgDhS38w7TmLMfyDXvY9i2hF6sJ4qm62SK5939
ipfs pin remote ls --service=filebase
ipfs pin remote ls --service=filebase --status=queued,pinning,failed
If you have any questions, please join our Discord server, or send us an email at [email protected]