first collector
top collector
latest collector

Introducing Arweave’s Tech Ecosystem (Part 1)

outprog
outprog
0xDc19
November 17th, 2021

This post is based on the speech that outprog, the everFinance’s founder who proposes the SCP (Storage-based Consensus Paradigm) theory, gave on BeWater Live. It is intended to give you the whole picture of Arweave’s tech ecosystem by delving into Arweave, SmartWeave and SCP, as well as the two-layer model that integrates PoW and PoS.

This post is divided into three parts, each of which centers on the following content:

1. How Arweave Works

- Why is perpetual storage economically viable

- How does Arweave ensure miners store all the data

- Blockweave technology

- Implicit incentive mechanism

2. SmartWeave and SCP

- SmartWeave

- Storage-based Consensus Paradigm

- The Web3 Era of Infinite Scaling

- everPay Architecture

3. The Two-layer model that integrates Permanent Storage and PoS

- The Design of KYVE

- The Design of Koii that Integrates Permanent Storage and Pos

- Conclusion

Part1: How Arweave Works

This is the first part of "Introducing Arweave's Tech Ecosystem".

Hello, everyone! I dove into the blockchain industry in 2018 as a developer at imToken to work on the DEX Tokenlon and its iterations. During this period, I had been studying DeFi, I became an early user and researcher of the popular Uniswap as well as Compound.

When developing for imToken and interacting with DeFi apps, I encountered numerous problems. For example, managing seed phrases and paying miner fees is hard for users to comprehend. Over the past few years, I have been trying to recommend some friends of mine working at Alibaba and banking to use decentralized light wallets. However, it turns out that decentralized wallets are still desperately unpopular for their high user threshold. Fortunately, I saw a new direction for lowering the user threshold when I learned about SmartWeave, which is Arweave’s smart contract protocol, from UncleMeow, and the perpetual storage blockchain Arweave from ZengMi at a seminar held by SparkPool last July.

Since the established public chains like Ethereum are inherently unable to provide a premium experience for ordinary users at the infrastructure level, even the most elaborately devised products cannot remove obstacles to the use of blockchains. However, Arweave has the potential to become the basis of a new paradigm, making the blockchain world truly open to ordinary users.

When you perpetually store a file in Arweave, the file data will be stored by hundreds of nodes and can be accessed by Arweave gateway or any of the Arweave nodes.

Before being part of the blockchain industry, I studied IPFS and learned how to use distributed hash tables to retrieve data across the network in a decentralized way. However, IPFS has its own flaws for lack of an incentive layer for file data storage. For example, when your server shuts down, your file might disappear if it is not synchronized by the network.

Arweave builds a new mechanism for perpetual storage. What makes it different from Filecoin is that it charges a one-time, up-front fee for perpetual storage, which is made possible by its unique theoretical model.

1 Why is perpetual storage economically viable?

To answer this question, we need to understand the fact that the storage cost is decreasing over time, which conforms to Moore's law. According to official statistics, the storage cost reduces by nearly 30% every year. This makes it possible for us to calculate the total cost of perpetual storage, which converges to a constant as the storage cost keeps going down. In Arweave, the constant is weighted to determine the fee charged for storing data permanently.

storage cost
storage cost

2 How does Arweave ensure miners store all the data?

So how does Arweave prevent the loss of files stored in it? Behind it is data staking at play.

On Arweave, data is deemed valid after it is included into the chain. Miners can stake any amount of valid data, for example, 10 MB or even 20 TB (i.e. the entire data size of the network). For miners, the more data they store, the more AR tokens they can obtain. This makes it so that miners are incentivized to store data in Arweave.

3 Blockweave technology

The core technology that powers Arweave is the blockweave. How does the blockweave work?

blockweave
blockweave

Simply put, it requires a random historical block to create a new block. It means that the miner who stores the largest number of historical blocks is the most likely to mine a new block. If a miner does not store the required historical data, the hashrate that he needs to mine a new block will increase exponentially.

That being said, storing more data is the optimal and most profitable option for miners.

4 Implicit Incentive Mechanism

Besides, there is an implicit incentive mechanism on Arweave that protects users against file loss. When a chunk of scarce file data is required in a new block, the miners that happen to store it have advantages over other miners, who have to consume more computing power to solve the PoW puzzle.

Obviously, storing scarce data makes it faster for miners to mine a new block. In order to increase their competitiveness in mining, miners are incentivized to synchronize scarce data, which will become no longer scarce.

safety of data
safety of data

As a consequence, the files you store in Arweave will be spread all over the network in a distributed way to avoid being lost to the greatest extent.

Arweave TX
oSlTKXKF99vBOzr8u4eJGDrWs6Xd9RuFqOTVFQLbPF8
Ethereum Address
0xDc19464589c1cfdD10AEdcC1d09336622b282652
Content Digest
WSBB2wO5WjqEL7YKQxrJ875Ej2MHvLaC_84AU220-nI