Function forest_filecoin::utils::net::download_ipfs_file_trustlessly
source ยท pub async fn download_ipfs_file_trustlessly(
cid: &Cid,
gateway: &Url,
destination: &Path,
) -> Result<()>
Expand description
Download a file via IPFS HTTP gateway in trustless mode. See https://github.com/ipfs/specs/blob/main/http-gateways/TRUSTLESS_GATEWAY.md