Skip to content

FVM (Filecoin Virtual Machine)

Overview

FVM (Filecoin Virtual Machine) is the smart contract execution engine for the Filecoin network, launched on mainnet in March 2023. FVM brings programmability to Filecoin, enabling developers to deploy smart contracts on the decentralized storage network and build innovative applications such as automated storage markets, data DAOs, permanent storage, and data computation.

The launch of FVM marks Filecoin's evolution from a purely decentralized storage network to a complete Web3 infrastructure platform. By introducing smart contract capabilities, FVM combines storage capacity with computational logic, pioneering the new paradigm of "programmable storage." Developers can write smart contracts in Solidity, Rust, and other languages, leveraging Filecoin's 18+ EiB storage capacity to build decentralized applications.

FVM is compatible with the Ethereum Virtual Machine (EVM), meaning existing Ethereum DApps can be easily migrated to Filecoin while enjoying the advantages of decentralized storage. Additionally, FVM supports the native Filecoin Actor programming model, providing greater flexibility and performance optimization for advanced use cases.

Core Features

EVM Compatibility

FVM implements full EVM compatibility, supporting Solidity smart contracts and the Ethereum toolchain (Remix, Hardhat, MetaMask, etc.). Developers can deploy existing Ethereum contracts directly to Filecoin without code modifications. This compatibility dramatically lowers the development barrier, allowing Ethereum ecosystem developers and users to seamlessly connect to the Filecoin network.

Native Storage Integration

FVM smart contracts can directly interact with Filecoin's storage market -- triggering storage deals, verifying data proofs, managing storage providers, and more. This deep integration enables smart contracts to control data storage, retrieval, and lifecycle management, achieving true programmable storage.

Actor Model

Filecoin uses the Actor concurrency model, where each smart contract is an independent Actor that communicates through message passing. This model naturally supports parallel execution, improving network throughput. Actors can be EVM contracts or native Filecoin Actors written in Rust, with the latter providing higher performance and more flexible functionality.

Data DAOs

FVM supports creating data DAOs where communities can collectively manage dataset storage, access permissions, and usage rules. For example, a scientific research community can create a DAO to manage open datasets, automatically allocating storage costs and access permissions through smart contracts to ensure long-term data preservation and fair usage.

Compute Capabilities

Beyond storage, FVM is also exploring bringing compute tasks to the Filecoin network. Through smart contracts, computational tasks can be executed on nodes storing the data, achieving synergy between storage and computation and providing decentralized solutions for AI training, data analytics, and other scenarios.

Technical Advantages

Large-Scale Storage Infrastructure

Filecoin has the world's largest decentralized storage network, with storage capacity reaching 18+ EiB. FVM smart contracts can directly leverage this massive storage resource, providing reliable data storage services for DApps without relying on centralized cloud storage providers.

Economic Incentive Mechanism

Filecoin's storage market uses cryptoeconomics to incentivize storage providers to preserve data long-term. FVM smart contracts can leverage this mechanism to ensure data persistence and availability. Compared to traditional cloud storage, decentralized storage offers stronger censorship resistance and data sovereignty guarantees.

Cross-Chain Interoperability

FVM supports cross-chain bridging and can interoperate with blockchain networks like Ethereum and Polygon. This allows DApps to run in multi-chain environments, leveraging Filecoin's storage capabilities alongside other chains' computation or financial functions to achieve optimal architectural design.

Flexible Programming Model

Developers can choose between EVM contracts (Solidity) or native Actors (Rust), balancing development efficiency and performance according to application requirements. EVM contracts are suitable for rapid development and Ethereum ecosystem integration, while native Actors are suited for scenarios requiring high performance and deep customization.

Use Cases

Permanent Storage Applications

Content requiring long-term preservation, such as NFT metadata, historical archives, and scientific data, can achieve permanent storage through FVM smart contracts. Contracts can automatically renew, manage storage replicas, and verify data integrity, ensuring permanent content accessibility.

Decentralized Video Platforms

Video streaming platforms can use FVM to store content on Filecoin, managing copyright, paying creators, and controlling access permissions through smart contracts. Compared to centralized platforms, creators have greater data sovereignty and revenue distribution rights.

Data Marketplaces

FVM can build decentralized data trading markets where data providers sell data access through smart contracts and buyers pay tokens to access data. Smart contracts automatically handle payments, access control, and data delivery without intermediaries.

DeFi and Storage Integration

DeFi protocols can use FVM to store transaction history, audit records, user data, and more. Storage providers' staked assets can serve as DeFi collateral, and storage service fees can be yield-optimized through DeFi protocols, creating new financial products.

AI Dataset Management

AI training requires large datasets, and FVM can help manage their storage, version control, and access permissions. In the future, training tasks can also be executed on Filecoin nodes, achieving decentralized AI infrastructure.

History

2021: FVM Concept Proposed

The Filecoin community and Protocol Labs began discussing introducing smart contract capabilities to Filecoin, proposing FVM's technical design and roadmap.

2022: Testnet Launch

FVM testnets were gradually launched, and developers began testing EVM contracts and native Actors. The community held hackathons to explore FVM use cases.

March 2023: Mainnet Launch

FVM officially launched on the Filecoin mainnet, supporting EVM smart contract deployment. This was one of the most important upgrades in Filecoin's history, marking the network's transformation from storage to programmable storage.

2023-2024: Ecosystem Growth

Dozens of projects have been built on FVM, spanning data DAOs, NFT storage, decentralized computing, and more. The Filecoin ecosystem has expanded rapidly, with TVL and active user counts continuing to grow.