From 510535ad358d8683daf521aafb42a115f02e8d35 Mon Sep 17 00:00:00 2001 From: syntrust Date: Fri, 15 Mar 2024 18:02:08 +0800 Subject: [PATCH 1/2] web3 --- .../upload-your-file-folder-with-ethfs-cli.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dapp-developer-guide/tutorials/upload-your-file-folder-with-ethfs-cli.md b/dapp-developer-guide/tutorials/upload-your-file-folder-with-ethfs-cli.md index e23b485..ed9268a 100644 --- a/dapp-developer-guide/tutorials/upload-your-file-folder-with-ethfs-cli.md +++ b/dapp-developer-guide/tutorials/upload-your-file-folder-with-ethfs-cli.md @@ -86,11 +86,20 @@ ethfs-cli download -a
-c -f Run the command to download the file. ``` -ethfs-cli download -a 0x2f7696D4284358A2E8fDb4DF772dAd60c2c8fbAd -c 11155111 -f 1.jpeg +ethfs-cli download -a 0x2f7696D4284358A2E8fDb4DF772dAd60c2c8fbAd -c 11155111 -f img/1.jpeg ``` Now, your file has been saved locally. +## Step 5: Access Your File via `web3://` + +Of course, you can also easily access the file you just uploaded using the web3:// protocol. For example, + +[web3://0x2f7696D4284358A2E8fDb4DF772dAd60c2c8fbAd:3333/hello.txt](https://0x2f7696D4284358A2E8fDb4DF772dAd60c2c8fbAd.3333.w3link.io/hello.txt) + +or, + +[web3://0x2f7696D4284358A2E8fDb4DF772dAd60c2c8fbAd:3333/img/1.jpeg](https://0x2f7696D4284358A2E8fDb4DF772dAd60c2c8fbAd.3333.w3link.io/img/1.jpeg) ## Optional: Using Your Own RPC Endpoint From 26ee6f586649309cce4a32b636811612621aaa1e Mon Sep 17 00:00:00 2001 From: syntrust Date: Fri, 15 Mar 2024 18:28:16 +0800 Subject: [PATCH 2/2] add link --- .../tutorials/upload-your-file-folder-with-ethfs-cli.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dapp-developer-guide/tutorials/upload-your-file-folder-with-ethfs-cli.md b/dapp-developer-guide/tutorials/upload-your-file-folder-with-ethfs-cli.md index ed9268a..df2216f 100644 --- a/dapp-developer-guide/tutorials/upload-your-file-folder-with-ethfs-cli.md +++ b/dapp-developer-guide/tutorials/upload-your-file-folder-with-ethfs-cli.md @@ -101,6 +101,8 @@ or, [web3://0x2f7696D4284358A2E8fDb4DF772dAd60c2c8fbAd:3333/img/1.jpeg](https://0x2f7696D4284358A2E8fDb4DF772dAd60c2c8fbAd.3333.w3link.io/img/1.jpeg) +To gain further insights into `web3://` protocol, you can visit [web3url.io](https://web3url.io). + ## Optional: Using Your Own RPC Endpoint You can also specify your own RPC for better performance by `-r` flag in the above steps.