Skip to content

Commit

Permalink
docs: hello world example
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Apr 2, 2024
1 parent d78f8ac commit 4d2a1cd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ To fetch a resource, simply provide the resource URL as follows:

`helia-verified-fetch-cli <resource-url>`

### "Hello world" example

This example shows how you can fetch a "hello world" CID from peers using bitswap. (note that `-t false` is disabling trustless gateway usage)

```
npm i -g @sgtpooki/helia-verified-fetch-cli
helia-verified-fetch-cli ipfs://bafkqaddimvwgy3zao5xxe3debi --debug 'helia*,helia*:trace' --data ~/tmp/hvf-data -t false
```

## Options

Expand Down

0 comments on commit 4d2a1cd

Please sign in to comment.