promise
AppRepository
  • Overview
  • Links
  • How to use
    • Exploring promises
    • Creating a promise
    • Interacting with promises
    • Verifying a Twitter account
    • Indexing an IPFS directory
  • Chainlink - External Adapters
    • Introduction
    • Twitter account verification
    • IPFS & Arweave verification
  • IPFS & Arweave
    • Sending to the IPFS network
    • Sending to Arweave with Bundlr
  • The Graph
    • Catching events from promises
Powered by GitBook
On this page
  • How to set up an IPFS Node?
  • Installing IPFS Desktop
  • Pinning content with IPFS Desktop
  • Resources
  1. How to use

Indexing an IPFS directory

How to pin the IPFS directory of a promise?

PreviousVerifying a Twitter accountNextIntroduction

Last updated 2 years ago

Each promise, provided with a valid IPFS CID, displays the current indexing status of the IPFS directory it points to. Everyone can copy this CID, and proceeds to indexing it. Contributing to the network in such ways ensures that this content will be persistent - for as long as it is indexed by peers.

How to set up an IPFS Node?

There are multiple ways to set up an IPFS node, and start indexing content, including:

  • from the command-line

  • using a native browser built-in node (e.g. Brave)

  • using IPFS Desktop

Installing IPFS Desktop

  1. Follow the usual install process.

Pinning content with IPFS Desktop

Once IPFS Desktop installed, open it and wait until it completes the initial setup process. Then, you can start pinning your first IPFS file/folder.

The following steps can be followed to pin the content of a promise. This way, you can be confident that as long as you keep your node running, and this content pinned, it won't ever disappear from the network.

  1. Hover on the IPFS CID in the promise, and copy it from the popup

  2. Go to the Files tab -> click Import -> click From IPFS.

  3. In the pop-up, paste the CID, give it a name if you want, then click Import.

  4. Make sure Local node is checked, then click Apply.

  5. That's it! Enjoy the comfort of knowing that the content of this promise will not disappear. You don't need to trust anyone - you actually know that it will stay persistent and immutable, for as long as you keep it pinned with your node.

Resources

Documentation

The complexity varies depending on the option. is a great way for exploring available methods, while we will only introduce the last one of this list (IPFS Desktop). It is probably the easiest method to deal with, as it installs and manages the local node for you, as well as offering a helpful user interface for managing it.

Navigate to .

Download the latest version corresponding to your operating system ().

Once the content imported, you should make sure you are actually pinning it ; it will ensure it is not deleted during . To do so, click the , then Set pinning.

This guide
the releases page of the IPFS Desktop Github repository
follow this link if you're not sure about the package you need to download
Web3 Storage
Getting started with IPFS & Filecoin
IPFS Documentation - What is IPFS?
IPFS Documentation - Immutability
IPFS Documentation - Node types
garbage collection
The status of the IPFS content (pins & deals with Filecoin).
Copy the IPFS CID from the promise.
Click Files -> Import -> From IPFS.
Add the IPFS CID, a name, and click Import.
Click the ellipsis, then Set pinning.
Check Local node, then Apply.
The popup shown to disclose how many peers are pinning the content
The IPFS CID showing in a popup from the promise
The steps to follow to import a file from IPFS
The pop-up that is displayed after clicking Import
The pop-up shown when checking the pinning status