📘
Old Faithful
  • Introduction
    • Content Identifiers
    • Indexes
  • Usage & Installation
    • Looking up CIDs
    • Retrieving from Filecoin
    • gRPC Methods
    • RPC Methods
    • RPC server
      • Local file system
      • HTTP
      • Filecoin v1 retrievals
      • Filecoin v2 retrievals
    • Accessing OF1 from old-faithful.net
    • Geyser
    • Software integrations
  • Generating
    • Historical blocks
    • Warehouse nodes
    • Creating indexes
  • Hosting
    • Making a local copy
    • Filecoin
  • Validation
    • Reproducibility
    • Epoch 208
Powered by GitBook
On this page
  1. Usage & Installation

Retrieving from Filecoin

PreviousLooking up CIDsNextgRPC Methods

Last updated 11 months ago

Data can be fetched directly from Filecoin using CIDs and regular Filecoin tooling. To do so, you will need the CID of the Solana object to fetch—this may be found using the slot-to-cid or the tx-to-cid indexes; see .

Once you have the CID, use to download the data. Lassie can be installed using the standard go toolchain:

$ go install github.com/filecoin-project/lassie/cmd/lassie@latest

To fetch the data, simply

$ lassie fetch [-o <output file>] [-t <timeout>] <CID>[/path/to/content]

This will download the data as a CAR file.

To extract the CAR file contents, use tool --

$ go install github.com/ipld/go-car/cmd/car@latest
$ car extract -f </path/to/car/file>

Looking up CIDs
lassie
go-car