Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: address feedback in examples and default values #75

Merged
merged 1 commit into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/client_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Download a bundle of files into remote object storage bucket (`object_storage`)
```
$ file-exchange downloader \
--ipfs-hash QmHash \
--indexer-endpoints http://localhost:5678,http://localhost:5677 \
--indexer-endpoints http://localhost:5678,http://localhost:7600 \
--mnemonic "seed phrase" \
--verifier 0xfC24cE7a4428A6B89B52645243662A02BA734ECF \
--provider "arbitrum-sepolia-rpc-endpoint" \
Expand Down
4 changes: 2 additions & 2 deletions docs/server_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Run `sqlx migrate run --source file-service/migrations`

CLI with configuration file
```
cargo run -p file-service -- --config ./file-server/template.toml
cargo run -p file-service -- --config ./template.toml
```

(You might need to set an additional envrionmental variable for logs, `RUST_LOG=file_service=debug`)
Expand Down Expand Up @@ -116,7 +116,7 @@ Curl query will be similar to the above examples, here we provide an example in
```
mutation{
addBundles(deployments:["QmeD3dRVV6Gs84TRwiNj3tLt9mBEMVqy3GoWm7WN8oDzGz", "QmeaPp764FjQjPB66M9ijmQKmLhwBpHQhA7dEbH2FA1j3v"],
locations:["./example-file", "./example-file"]){
locations:["/", "/"]){
ipfsHash
}
}
Expand Down
2 changes: 1 addition & 1 deletion template.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default_price_per_byte = 1
ipfs_gateway = "https://ipfs.network.thegraph.com"
log_format = "Pretty"
[server.storage_method.LocalFiles]
main_dir = "./../example-file"
main_dir = "./example-file"

[common]
[common.indexer]
Expand Down
Loading