Skip to content

Commit 118943f

Browse files
committed
illustration
1 parent b9f4c51 commit 118943f

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

docs/quickstart/images/gateway.png

95.5 KB
Loading

docs/quickstart/publish.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ In this guide, you will use the web3.storage UI to upload the file. If you prefe
2020
- A free [web3.storage](https://web3.storage/) account.
2121
- The [following image](/images/welcome-to-IPFS.jpg), downloaded and saved on your computer:
2222

23+
![image](/images/welcome-to-IPFS.jpg)
24+
2325
## 1. Sign in to web3.storage
2426

2527
Start by signing into your account on web3.storage:
@@ -50,12 +52,12 @@ If you close the upload tab you should also be able to see a shortened Content I
5052

5153
Congratulations, you have successfully **pinned** a file to IPFS!
5254

53-
The full CID for the file is: `bafybeicn7i3soqdgr7dwnrwytgq4zxy7a5jpkizrvhm5mv6bgjd32wm3q4`
54-
5555
### What's a CID
5656

5757
Let's unpack what just happened. In IPFS, every file and directory is identified with a CID. The generated CID serves as the permanent address of the file and can be used by anyone to find it on the IPFS network.
5858

59+
The CID for your uploaded image is: `bafybeicn7i3soqdgr7dwnrwytgq4zxy7a5jpkizrvhm5mv6bgjd32wm3q4`
60+
5961
### What happens when you pin a file
6062

6163
When you uploaded and pinned the file to web3.storage you performed two actions:
@@ -65,6 +67,14 @@ When you uploaded and pinned the file to web3.storage you performed two actions:
6567

6668
## Fetching the CID from multiple gateways
6769

70+
IPFS Gateways are like bridges that give access to the IPFS Network using HTTP.
71+
72+
![gateway diagram](./images/gateway.png)
73+
74+
- [https://ipfs.io/ipfs/bafybeicn7i3soqdgr7dwnrwytgq4zxy7a5jpkizrvhm5mv6bgjd32wm3q4](https://ipfs.io/ipfs/bafybeicn7i3soqdgr7dwnrwytgq4zxy7a5jpkizrvhm5mv6bgjd32wm3q4)
75+
- [https://cloudflare-ipfs.com/ipfs/bafybeicn7i3soqdgr7dwnrwytgq4zxy7a5jpkizrvhm5mv6bgjd32wm3q4](https://cloudflare-ipfs.com/ipfs/bafybeicn7i3soqdgr7dwnrwytgq4zxy7a5jpkizrvhm5mv6bgjd32wm3q4)
76+
- [https://gateway.pinata.cloud/ipfs/bafybeicn7i3soqdgr7dwnrwytgq4zxy7a5jpkizrvhm5mv6bgjd32wm3q4](https://gateway.pinata.cloud/ipfs/bafybeicn7i3soqdgr7dwnrwytgq4zxy7a5jpkizrvhm5mv6bgjd32wm3q4)
77+
6878
## The lifecycle of data in IPFS
6979

7080
- Representing

0 commit comments

Comments
 (0)