Skip to content

Commit cc4de3d

Browse files
authored
Update filecoin-plus.md
Fixes from the dogfooding report
1 parent 8175e29 commit cc4de3d

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

basics/how-storage-works/filecoin-plus.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
---
2-
description: >-
3-
Learn how the Filecoin Plus program works, how DataCap is obtained and used by
4-
clients, and how allocators verify that the data clients want to store with a
5-
Filecoin storage provider is useful.
6-
---
7-
81
# Filecoin plus
92

103
## What is Filecoin Plus?
@@ -27,7 +20,8 @@ DataCap is a token paid to storage providers as part of a deal in which the clie
2720

2821
Quality Adjusted Power is an assigned rating to a given [sector](https://spec.filecoin.io/systems/filecoin\_mining/sector/), the basic unit of storage on the Filecoin network. Quality Adjusted Power is a function of a number of features of the sector, including, but not limited to, the sector’s size and promised duration, and whether the sector includes a Filecoin+ deal. It's clear to the network that a sector includes a Filecoin Plus deal if a deal in that sector involves DataCap paid to the storage provider. The more Filecoin Plus verified data the storage provider has in a sector, the higher the Quality-Adjusted Power a storage provider has, which linearly increases the number of votes a miner has in the [Secret Leader Election](https://spec.filecoin.io/algorithms/expected\_consensus/), determining which storage provider gets to serve as the verifier for the next block in the blockchain, and thus increasing the probability the storage provider is afforded the opportunity to earn block rewards. For more details on Quality Adjusted Power, see the [Filecoin specification](https://spec.filecoin.io/systems/filecoin\_blockchain/storage\_power\_consensus/).
2922

30-
\[!IMPORTANT] There is a common misconception that a Filecoin Plus deal increases the miner’s reward paid to a Filecoin storage provider by a factor of ten. This is not true, Filecoin+ does not increase the amount of block rewards available to storage providers. Including Filecoin Plus deals in a sector increases the Quality Adjusted Power of a storage provider, which increases the probability a storage provider is selected as the block verifier for the next block on the Filecoin blockchain, and thus increases the probability they earn block rewards.
23+
#### Important
24+
There is a common misconception that a Filecoin Plus deal increases the miner’s reward paid to a Filecoin storage provider by a factor of ten. This is not true, Filecoin+ does not increase the amount of block rewards available to storage providers. Including Filecoin Plus deals in a sector increases the Quality Adjusted Power of a storage provider, which increases the probability a storage provider is selected as the block verifier for the next block on the Filecoin blockchain, and thus increases the probability they earn block rewards.
3125

3226
Consider first a network with ten storage providers. Initially, each storage provider has an equal 10% probability of winning available block rewards in a given period:
3327

@@ -41,7 +35,7 @@ If two of these storage providers begin filling their sectors with verified deal
4135

4236
Incentives for storage providers to accept verified deals is strongest initially. As more and more storage providers include verified deals in their sectors, the probability any one of them earns the block rewards returns to an equal chance.
4337

44-
![filecoinplus3](https://github.com/filecoin-project/filecoin-docs/assets/46801006/a7ec2921-ea7c-4c0b-94d8-94f8eb5a2824)
38+
![filecoinplus3](https://github.com/user-attachments/assets/634f96eb-c0b4-4230-95ca-b9a4875b180d)
4539

4640
As seen in the diagrams above, Filecoin Plus increases the collateral requirements needed by a storage provider. As a higher percentage of storage providers include verified deals in their sectors, the collateral needed by each storage provider will increase. To learn more about storage provider collateral, see [this link](https://docs.filecoin.io/storage-providers/filecoin-economics/fil-collateral).
4741

@@ -55,18 +49,18 @@ The participants of the Filecoin+ program, along with how they interact with eac
5549
* Clients are participants in the Filecoin network who store data with a storage provider. A trusted client, as determined by an allocator who performs due diligence on the client and the data they are looking to store, will be given DataCap by the allocator. Clients offer to give this DataCap to a storage provider as part of a deal, which increases the “deal quality multiplier” of the deal, and in turn the likelihood a storage provider will accept the deal.
5650
* Storage providers who receive DataCap as part of a deal are able to use this DataCap to increase their “quality adjusted power” of the storage provider on the network by a factor of ten. As described above, this increases their probability of being selected as the verifier for a block, affording them the opportunity to earn block rewards.
5751

52+
## How Filecoin Plus Works
5853
A visualization of the interactions between parties involved in a Filecoin+ deal described above is shown below in Figure 1.
5954

60-
![Screenshot 2024-06-28 at 12 11 23 AM](https://github.com/filecoin-project/filecoin-docs/assets/46801006/efd006ae-ea6f-4851-b072-ae73787e6975)
61-
62-
Figure 1 | Diagram showing participant interactions in a Filecoin+ deal.
55+
![Figure 1 | Diagram showing participant interactions in a Filecoin+ deal.](https://github.com/user-attachments/assets/61d1e3c9-438c-4614-b333-14c4fb0dc0e1)
6356

6457
## Acquiring DataCap for Clients & Builders
6558

6659
Clients can secure DataCap by making a request to an allocator. Each one of the allocators maintain their own applications for requesting DataCap.
6760

6861
One such allocator is [Filecoin Incentive Design Labs (FIDL)](https://www.fidl.tech). They maintain a [Github repository](https://github.com/fidlabs) that includes an [application](https://github.com/fidlabs/Open-Data-Pathway/issues/new/choose) where clients can make a request of FIDL for DataCap. Clients and builders looking to acquire DataCap may consider applying directly with FIDL, noting that all DataCap applications are transparent and open for public review on the [issues page](https://github.com/fidlabs/Open-Data-Pathway/issues).
6962

63+
### Steps to Acquire Mainnet DataCap as a Client
7064
The steps a client should follow to acquire DataCap are as follows:
7165

7266
1. Create a [Filecoin wallet](https://docs.filecoin.io/basics/assets/wallets).
@@ -75,23 +69,28 @@ The steps a client should follow to acquire DataCap are as follows:
7569
4. Submit an application for DataCap from an allocator. You can submit a request to FIDL via their [Github application form](https://github.com/fidlabs/Open-Data-Pathway/issues/new/choose) or [Google Form](https://www.fidl.tech/apply-for-datacap).
7670
5. Use the DataCap in a storage deal.
7771

72+
### Steps to Acquire Testnet DataCap as a Builder
7873
For builders on the [Calibration testnet](../../networks/calibration/) who need testnet DataCap to test their applications, a faucet is available. The steps a builder should follow to acquire testnet DataCap are as follows:
7974

8075
1. Create a wallet on Filecoin Calibration testnet. For more information, see the [Calibration docs](../../networks/calibration/) or [Github](https://github.com/filecoin-project/testnet-calibration).
8176
2. Grant the wallet address DataCap by using this [faucet](https://faucet.calibnet.chainsafe-fil.io/datacap.html).
8277

83-
## **Smart contracts**
78+
## **DataCap for Smart contracts**
8479

8580
Smart contracts can acquire and use DataCap just like any regular client. To do so, simply enter the `f410` address of the smart contract as the client address when making a request for DataCap.
8681

87-
\[!Important] It’s important to note that DataCap allocations are a one-time credit for a Filecoin address and cannot be transferred between smart contracts. If you need to redeploy the smart contract, you must request additional DataCap.
88-
89-
## Spend DataCap
82+
### Important
83+
It’s important to note that DataCap allocations are a one-time credit for a Filecoin address and cannot be transferred between smart contracts. If you need to redeploy the smart contract, you must request additional DataCap.
9084

85+
## How to Use DataCap
9186
Once you have an address with DataCap, you can make deals using DataCap as a part of the payment. Because storage providers receive a deal quality multiplier for taking Filecoin+ deals, many storage providers offer special pricing and services to attract clients who use DataCap to make deals.
9287

88+
[Learn more about Storage Deals.](https://docs.filecoin.io/storage-providers/filecoin-deals/storage-deals)
89+
9390
By default, when you make a deal with an address with DataCap allocated, you will spend that DataCap when making the deal.
9491

92+
### How to Use DataCap, using the API
93+
9594
If making deals through the [API](https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-v0-methods.md#ClientStartDeal), make sure that the `VerifiedDeal` parameter is set to `true` when calling `ClientStartDeal`.
9695

9796
```json
@@ -117,23 +116,26 @@ If making deals through the [API](https://github.com/filecoin-project/lotus/blob
117116
]
118117
```
119118

119+
### How to Use DataCap, using the Command Line
120120
If making deals from the command line, make sure to pass the flag `--verified-deal=true` as a parameter.
121121

122122
```shell
123123
lotus client deal --verified-deal=true
124124
```
125125

126-
### Checking remaining DataCap balance
126+
### Checking DataCap Balance
127127

128128
Once you have received DataCap to an address, you can check the remaining balance by querying your address on a node.
129129

130130
#### With the lotus cli
131131

132+
Run the following command, replacing "f0000" with your Filecoin address.
133+
132134
```shell
133135
lotus filplus check-client-datacap f00000
134136
```
135137

136-
## Visualizing the Blockchain Data for Filecoin+
138+
## Visualizing Blockchain Data for Filecoin+
137139

138140
There are three resources you can use to check the current status of the Filecoin+ deals and participants:
139141

0 commit comments

Comments
 (0)