lotus/documentation/en/retrieving-data.md
2020-08-20 12:45:41 -04:00

964 B

Retrieving Data

There are recent bug reports with these instructions. If you happen to encounter any problems, please create a GitHub issue and a maintainer will address the problem as soon as they can.

Here are the operations you can perform after you have stored and sealed a Data CID with the Lotus Miner in the network.

If you would like to learn how to store a Data CID on a miner, read the instructions here.

Find by Data CID

lotus client find <Data CID>
# LOCAL
# RETRIEVAL <miner>@<miner peerId>-<deal funds>-<size>

Retrieve by Data CID

All fields are required.

lotus client retrieve <Data CID> <outfile>

If the outfile does not exist it will be created in the Lotus repository directory.

This command will initiate a retrieval deal and write the data to your computer. This process may take 2 to 10 minutes.