lotus/documentation/en/storing-ipfs-integration.md
2020-04-30 13:21:51 +02:00

541 B

IPFS Integration

Lotus supports making deals with data stored in IPFS, without having to re-import it into lotus.

To enable this integration, open up ~/.lotus/config.toml (Or if you manually set LOTUS_PATH, look under that directory) and look for the Client field, and set UseIpfs to true.

[Client]
UseIpfs = true

After restarting the lotus daemon, you should be able to make deals with data in your IPFS node:

$ ipfs add -r SomeData
QmSomeData
$ ./lotus client deal QmSomeData t01000 0.0000000001 80000