This page discusses the concept of collateral in Filecoin for storage providers.
As a storage provider on the network, you will have to create FIL wallets and add FIL to them. This is used to send messages to the blockchain but is also used for collateral. Providing storage capacity to the network requires you to provide FIL as collateral, which goes into a locked wallet on your Lotus instance. The Lotus documentation details the process of setting up your wallets and funding wallets for the initial setup. Filecoin uses upfront token collateral, as in proof-of-stake protocols, proportional to the storage hardware committed. This gets the best of both worlds to protect the network: attacking the network requires both acquiring and running the hardware, but it also requires acquiring large quantities of the token.
To satisfy the varied collateral needs of storage providers in a minimally burdensome way, Filecoin includes three different collateral mechanisms:
- Initial pledge collateral, an initial commitment of FIL that a miner must provide with each sector.
- Block rewards as collateral, a mechanism to reduce the initial token commitment by vesting block rewards over time.
- Storage deal provider collateral, which aligns incentives between storage provider and client and can allow storage providers to differentiate themselves in the market.
When a storage provider fails to answer to the WindowsPoSt challenges within the 30-minute deadline (see Storage Proving), storage is taken offline, or any storage deal rules are broken, the provider is penalized against the provided collateral. This penalty is called slashing and means that a portion of the pledged collateral is forfeited to the
f099address from your locked or available rewards, and your storage power is reduced. The
f099address is the address where all burned FIL goes.
The amount of required collateral depends on the amount of storage pledged to the Filecoin network. The bigger volume you store, the more collateral is required. Additionally, Filecoin Plus uses a QAP multiplier to increase the collateral requirement. See Verified Deals with Filecoin Plus for more information.
The formula for the required collateral is as follows:
Collateral needed for X TiB = (Current Sector Initial Pledge) x (32) x (X TiB)
For instance, for 100 TiB at 0.20 FIL / 32 GiB sector, this means:
0.20 FIL x 32 x 100 = 640 FIL
Another cost factor in the network is gas. Storage providers not only pledge collateral for the capacity they announce on-chain. The network also burns FIL in the form of gas fees. Most activity on-chain has some level of gas involved. For storage providers, this is the case for committing sectors.
The ecosystem does have FIL Lenders who can provide you FIL (with interest) to get you started, which you can pay back over time and with the help of earned block rewards. Every lender, though, will still require you to supply up to 20% of the required collateral. The Filecoin Virtual Machine, introduced in March 2023, enables the creation of new lending mechanisms via smart contracts.