ferristseng / rust-ipfs-api

IPFS HTTP client in Rust
Apache License 2.0
248 stars 68 forks source link

How to connect ipfs-api with public gateway? #142

Open Linux-Server opened 9 months ago

Linux-Server commented 9 months ago

Is it possible to connect ipfs-api with public api

for Ex: let mut ipfs_client = IpfsClient::default(); ipfs_client.set_gateway("https://ipfs.io");

0x43eba commented 8 months ago

The URL you are using is regular HTTP domain. You're going to want to set a local node on your device. There is no write access to that domain.