You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that I need to know the other person's PeerID first. However I tried use the code in FindProviderTest to find any peers that provide the data, but it seems just stuck in search loop with some timeout exception and infinity sendWants tries:
I tried anything that made sense, but unfortunately I still can't accomplish the simplest and most basic task - downloading files from IPFS via nabu and CID without knowing any of the providers ahead of time.
Nabu does a lot of cool work, but the lack of documentation makes it quite difficult to use.
What should I do? Is there any sample code?
The text was updated successfully, but these errors were encountered:
Nabu doesn't have a concept of a file. You could use Nabu to build such a thing relatively easily. The main thing you would need is an implementation of unixfs in dag-pb to understand how to join the blocks into a file.
When retrieving a block the peerIds are optional. If you don't supply any it will try and find providers.
This is probably a stupid question... However when I following the guide in README.md to download a file by using this code:
I noticed that I need to know the other person's PeerID first. However I tried use the code in FindProviderTest to find any peers that provide the data, but it seems just stuck in search loop with some timeout exception and infinity
sendWants
tries:I tried anything that made sense, but unfortunately I still can't accomplish the simplest and most basic task - downloading files from IPFS via nabu and CID without knowing any of the providers ahead of time.
Nabu does a lot of cool work, but the lack of documentation makes it quite difficult to use.
What should I do? Is there any sample code?
The text was updated successfully, but these errors were encountered: