Filecoin (FIL)FIL

Filecoin is a decentralised storage network where clients pay storage providers in FIL to keep their files, and providers post regular cryptographic proofs that the data is still stored; FIL also pays block rewards and serves as collateral.

Most cloud storage is run by a handful of large companies. Filecoin tries a different model: an open market where anyone can rent out disk space, and a blockchain checks with cryptographic proofs that the space is really being used for the data people paid for. The native token, FIL, pays for storage, rewards the providers who add blocks and is locked up as collateral. This page explains how the network works and what can go wrong, not what FIL will be worth.

Category
Cryptocurrencies
Reading time
6 min
Also called
FIL, Filecoin network, Filecoin Virtual Machine
Updated

Filecoin in plain words

Filecoin is a peer-to-peer network for storing files: clients pay storage providers to keep their data, and the providers send cryptographic proofs every day to show they still hold it.1

Providers lock FIL as collateral, and if they keep failing to submit proofs, that collateral is burned.1 See Collateral and Token Burn.

Most Filecoin nodes are also IPFS nodes, so files are found by their content address rather than by a server location.1 Since 2023 the network also runs smart contracts through the Filecoin Virtual Machine.2

Filecoin's history, step by step

Key milestones, from the token sale to smart contracts on mainnet.

  1. Protocol Labs and the token sale

    Filecoin was created by Protocol Labs, the company founded by Juan Benet that also built IPFS and libp2p, and it raised funds through an initial coin offering in 2017.3 See ICO and IEO.

  2. 2020 — Space Race

    Before launch, a three-week storage competition called Space Race 1 added 230 PiB of storage from about 400 miners.4

  3. 15 October 2020 — Mainnet

    The Filecoin network went live on 15 October 2020, at about 3pm UTC.4 The docs record that mainnet began at block 148,888.5

  4. November 2020 — 1 EiB of capacity

    On 24 November 2020, less than four weeks after launch, the network passed 1 exbibyte of storage capacity.4

  5. 14 March 2023 — Smart contracts

    The Filecoin Virtual Machine went live on mainnet on 14 March 2023, with the Ethereum Virtual Machine as its first runtime.2 See Ethereum Virtual Machine (EVM).

Worked examples

Example 1 — How the supply cap is planned

70% of the cap for providers

No more than 2 billion FIL will ever exist. The docs set aside 770 million for baseline minting, 330 million for simple minting and 300 million as a mining reserve.

Example 1 — How the supply cap is planned — calculation
Planned for providers770,000,000 + 330,000,000 + 300,000,000 = 1,400,000,000 FIL
Share of the cap1,400,000,000 ÷ 2,000,000,000 = 0.7 = 70%

Baseline minting releases its full amount only if the network reaches a yottabyte of storage within 20 years, and the cap itself will never be reached because some FIL is permanently removed through fees and penalties.6

Example 2 — How a block reward vests

9 FIL now, 0.15 FIL a day

A storage provider earns a hypothetical block reward of 36 FIL. The docs say 25% is available at once and 75% vests linearly over 180 days.

Example 2 — How a block reward vests — calculation
Available at once36 × 0.25 = 9 FIL
Vesting36 × 0.75 = 27 FIL
Released per day27 ÷ 180 = 0.15 FIL

The immediately available part first goes towards any fee debt the provider owes.6 See Vesting Schedule.

Example 3 — The proving calendar

48 deadlines a day

Every sector must be proved once in a 24-hour proving period, which is split into 30-minute deadlines. One chain epoch lasts 30 seconds.

Example 3 — The proving calendar — calculation
Minutes in a proving period24 × 60 = 1,440 minutes
Deadlines per day1,440 ÷ 30 = 48
Epochs per day86,400 ÷ 30 = 2,880 epochs

The docs describe 48 non-overlapping 30-minute deadlines per day.7 The 30-second epoch comes from the mainnet parameters.5 Missing a deadline leads to penalties.7

Filecoin vs. Ethereum

AspectFilecoinEthereum
Main purposePaid, verifiable file storageGeneral smart-contract platform
Native coinFILEther (ETH)
Who produces blocksStorage providers, weighted by storage powerValidators, weighted by staked ETH
What is provedThat data is stored (PoRep, PoSt)That transactions are valid
SupplyAt most 2 billion FILNo fixed cap; part of fees burned
Smart contractsFVM, with an EVM runtime since 2023EVM on the main chain

What FIL is used for

  • Paying for storage

    Clients pay providers in FIL in advance for a set storage period.8

  • Block rewards and fees

    Providers who add blocks earn a block reward plus transaction fees in FIL.8

  • Collateral

    Providers lock FIL as pledge collateral, sized by the rewards they expect to earn.6

  • Governance

    FIL holders can take part in proposing and discussing network changes.8 See Governance Tokens and Proposals.

Advantages and disadvantages

Advantages

  • Storage is checked by cryptographic proofs, not by trust in one company.
  • Anyone can join as a client or a storage provider.
  • Total supply can never exceed 2 billion FIL.
  • Smart contracts can automate storage deals through the FVM.

Disadvantages

  • Providers must lock FIL as collateral and can lose it.
  • Sealing, proofs and deals make the network hard for beginners to follow.
  • Large future minting and vesting add to the circulating supply over time.
  • FIL's price is volatile.

Going deeper

Read as far as you need. Each level builds on the one before it.

An open market for storage

Beginner

Clients choose providers on an open market and can check a provider's history and compliance record before choosing.1 FIL pays for the storage and for transaction fees.8

Two kinds of proof

Intermediate

Proof of Replication is made when data is first sealed into a sector: the encoding depends on the data, the provider and the time of sealing, so it shows the provider holds its own unique copy.9 Proof of Spacetime then checks that the data stays stored, through WindowPoSt audits of every sector and WinningPoSt checks for the providers elected to add a block.9 See Zero-Knowledge Proof.

Expected Consensus and penalties

Advanced

In each epoch, storage providers check whether they are elected to propose a block, with odds weighted by their storage power; blocks from the same epoch are grouped into a tipset.10 A sector that goes offline is charged a fault fee each day equal to 3.51 days of expected block rewards, and separate penalties apply to consensus faults.11 Part of a slashed provider's collateral goes to the f099 burn address.7

Common mistakes

  1. Confusing Filecoin with IPFS

    IPFS finds files by content address; Filecoin adds paid storage with proofs on top.

  2. Treating 2 billion as the circulating supply

    It is a ceiling; much of it is minted or unlocked over decades.

  3. Ignoring reward vesting

    Most of a block reward is locked and released over 180 days.

  4. Underestimating provider risk

    A provider that misses proofs pays fees and can lose collateral.

Check your understanding

Test yourself before moving on. Each answer comes with an explanation.

Q1A provider earns a 36 FIL block reward. 75% vests over 180 days. How much is released each day?
Q2What does Proof of Spacetime show?

Key points to remember

  1. Filecoin is a decentralised storage market built by Protocol Labs.
  2. Storage providers prove with PoRep and PoSt that they hold clients' data.
  3. FIL pays for storage, rewards block producers and is locked as collateral.
  4. No more than 2 billion FIL will ever exist, and some is burned.
  5. The FVM has run smart contracts, including an EVM runtime, since March 2023.

Frequently asked questions

Is Filecoin the same as IPFS?

No. IPFS is a way to address and share files by their content. Filecoin adds a paid market and proofs so that providers are rewarded for keeping data stored.

Does Filecoin have a maximum supply?

Yes. No more than 2 billion FIL will ever exist, and because some FIL is burned, the cap is not expected to be reached.

Can Filecoin run smart contracts?

Yes. The Filecoin Virtual Machine went live on mainnet in March 2023, and its first runtime was the Ethereum Virtual Machine.

Further learning

Sources

This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.

  1. Filecoin Docs. What is Filecoin (opens in a new tab) Checked .
  2. Filecoin. The Filecoin Virtual Machine (FVM) is live on Mainnet! (14 March 2023) (opens in a new tab) Checked .
  3. Kraken. What is Filecoin? (FIL) (opens in a new tab) Checked .
  4. Filecoin. A Look Back at Filecoin in 2020 (30 December 2020) (opens in a new tab) Checked .
  5. Filecoin Docs. Mainnet (opens in a new tab) Checked .
  6. Filecoin Docs. Crypto-economics (opens in a new tab) Checked .
  7. Filecoin Docs. Storage proving (opens in a new tab) Checked .
  8. Filecoin Docs. The FIL token (opens in a new tab) Checked .
  9. Filecoin Docs. Proofs (opens in a new tab) Checked .
  10. Filecoin Docs. Consensus (opens in a new tab) Checked .
  11. Filecoin Docs. Slashing (opens in a new tab) Checked .

Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.