Skip to content

Commit 468ef25

Browse files
authored
Merge pull request #127 from Developer-DAO/decentralized-storage
Decentralized storage
2 parents 8efe2a4 + ad66103 commit 468ef25

File tree

3 files changed

+58
-54
lines changed

3 files changed

+58
-54
lines changed

lessons/fundamentals/ipfs-filecoin_and_arweave.mdx renamed to lessons/fundamentals/decentralized-storage.mdx

Lines changed: 58 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,68 @@
11
---
2-
title: IPFS Filecoin and Arweave mini lesson
3-
description: Overview on Storage Protocols.
2+
title: Decentralized Storage
3+
description: Overview on decentralized storage protocols.
44
icons: []
5-
author: 'georgemac510'
5+
author: ['georgemac510', 'pbillingsby']
66
---
77

8-
# Storage with IPFS/Filecoin and Arweave
8+
# Decentralized Storage with Arweave and IPFS/Filecoin
99

1010
Among the many use cases for these great technologies, the most common are for
11-
storage of image, audio and video NFTs as well as deploying web dApps.
11+
storage of image, audio and video NFTs as well as deploying web dApps. Here are two protocols that specialize in decentralized data storage.
1212

13-
## What is IPFS/Filecoin and how is it used in Web3 development?
13+
# Arweave
1414

15-
![IPFS/Filecoin](/assets/lessons/ipfs-filecoin_and_arweave/ipfs-filecoin4.jpg)
15+
![Arweave Permaweb](/assets/lessons/ipfs-filecoin_and_arweave/arweave6.png)
16+
17+
Arweave is a distributed, permanent storage network. Built on top of the network sits the Permaweb, which is a decentralized, permissionless web. The two layers enable users and developers to:
18+
19+
– store data permanently
20+
21+
– deploy dynamic and permissionless dApps to the Permaweb
22+
23+
– write smart contracts in JavaScript, Rust, Solidity and more
24+
25+
– create profit sharing communities
26+
27+
### How does Arweave work?
28+
29+
The workings of the Arweave protocol can be best understood by looking at the
30+
two layers involved: the Arweave network
31+
and [the Permaweb](https://arweave.medium.com/welcome-to-the-permaweb-ce0e6c73ddfb).
32+
33+
#### The Arweave network
34+
[P2P protocol](https://www.webroot.com/in/en/resources/glossary/what-is-peer-to-peer-networking)
35+
that allows miners
36+
([nodes](https://learn.bybit.com/blockchain/what-are-nodes/)) with large storage
37+
spaces on their hard drives to connect with the network and store
38+
data for Arweave users. Arweave rewards these miners for offering their storage
39+
services through sustainable and perpetual endowments, coming from the user's one time payment to store data permanently. As the volume of data stored in a particular system increases, the
40+
amount of
41+
 [hashing](https://learn.bybit.com/blockchain/what-is-hashing-in-blockchain/)
42+
needed for the consensus decreases, resulting in more cost-effective data
43+
storage.
44+
45+
The network uses a blockchain like structure called blockweave. The **_blockweave_** is different from the typical blockchain that many cryptos are
46+
built upon because apart from storing transactional information, the Arweave network can also store
47+
custom data on each block. Though similar to other blockchains whereby each block refers to its previous, Arweave attaches a randomly selected block known as the **recall block** to the transaction.
48+
49+
This Proof of Access consensus rewards the participating nodes in the network for storing all
50+
of Arweave’s transactional history. Say you want to manage a node on the
51+
Arweave blockchain. To receive block rewards, you must prove to blockweave that
52+
you have complete **_access_** to the data in the previous block, along with
53+
some randomly selected **_recall block_**. If you don’t have access to the
54+
recall block, the network will know that you aren’t storing all the
55+
transactional data on the Arweave network, and will thus deny you any block
56+
reward.
57+
58+
### The Permaweb
59+
Another main component in the Arweave network is the **_permaweb_**, a
60+
community-owned, decentralized web layer built on top of the Arweave network. Not only does the Permaweb host permissionless, decentralized and censor resistant applications permanently,
61+
it gives us the ability to create queryable transactions and smart contracts to build interactive and dynamic user interfaces with tools like GraphQL.
62+
63+
# IPFS/Filecoin
64+
65+
<div style={{width: '70%', margin: '0 auto', paddingTop: '1rem'}}>![IPFS/Filecoin](/assets/lessons/ipfs-filecoin_and_arweave/ipfs-filecoin4.png)</div>
1666

1767
**The textbook definition:** **IPFS** is a distributed system for storing and
1868
accessing files, websites, applications, and data. **Filecoin** is a
@@ -22,7 +72,7 @@ ensure files are stored reliably over time.
2272
**IPFS and Filecoin**
2373

2474
The **IPFS** decentralized web is made up of all the computers connected to it,
25-
known as  *nodes*. Nodes can store data and make it accessible to anyone who
75+
known as *nodes*. Nodes can store data and make it accessible to anyone who
2676
requests it.
2777

2878
If someone requests a file or a webpage, a copy of the file is cached on their
@@ -53,49 +103,3 @@ we are “trusting” to stay online and continue to render service.
53103
centralization** **problem by distributing the data to nodes and eliminate a
54104
central point of failure.**
55105

56-
# What is Arweave and how is it used in Web3 development?
57-
58-
![Arweave Permaweb](/assets/lessons/ipfs-filecoin_and_arweave/arweave6.png)
59-
60-
### What is Arweave?
61-
62-
Arweave works on similar principals to IPFS and Filecoin, but functions more
63-
like the combination of the two in its **blockweave** protocol.
64-
Its [P2P protocol](https://www.webroot.com/in/en/resources/glossary/what-is-peer-to-peer-networking)
65-
allows various users
66-
([nodes](https://learn.bybit.com/blockchain/what-are-nodes/)) with large storage
67-
spaces on their hard drives to connect with the Arweave network, and to store
68-
data for others. The network then rewards these nodes for offering their storage
69-
services. As the volume of data stored in a particular system increases, the
70-
amount of
71-
 [hashing](https://learn.bybit.com/blockchain/what-is-hashing-in-blockchain/)
72-
needed for the consensus decreases, resulting in more cost-effective data
73-
storage.
74-
75-
### How does Arweave work?
76-
77-
The workings of the Arweave protocol can be best understood by looking at the
78-
two layers involved: blockweave
79-
and [permaweb](https://arweave.medium.com/welcome-to-the-permaweb-ce0e6c73ddfb).
80-
81-
**_Blockweave_** is different from the typical blockchain that many cryptos are
82-
built upon. Apart from storing transactional information, blockweave also stores
83-
the data information on each block. Like other blockchains, each block on
84-
blockweave refers to its previous block. On blockweave, however, this previous
85-
block is attached to a randomly selected block known as the **recall block.**
86-
The Arweave protocol uses a consensus mechanism called 
87-
[SPoRA](https://tokenpost.com/Arweave-Introduces-New-Consensus-SPoRA-6729), a
88-
**_proof of access_**.
89-
90-
This consensus rewards the participating _nodes_ in the network for storing all
91-
of Arweave’s transactional history. Let’s say you want to manage a node on the
92-
Arweave blockchain. To receive block rewards, you must prove to blockweave that
93-
you have complete **_access_** to the data in the previous block, along with
94-
some randomly selected **_recall block_**. If you don’t have **_access_** to the
95-
**_recall block_**, blockweave will know that you aren’t storing all the
96-
transactional data on the Arweave blockchain, and will thus deny you any block
97-
reward.
98-
99-
The other main component in the Arweave network is **_permaweb_**, a
100-
decentralized web built on top of the Arweave blockchain. This is where all of
101-
the deployed Arweave DApps are stored.
Binary file not shown.
377 KB
Loading

0 commit comments

Comments
 (0)