Filecoin 백서

Filecoin

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 52쪽 중 6쪽

ust a modest hardware purchase, and we expect clients to store their files with many diverse storage providers. Also, note that world location matters for mining: many clients will prefer storage providers in specific regions of the world, so this enables lots of storage providers to succeed across the world, where there is storage demand. #### Even though Filecoin will be backed up to our normal IPFS pinning layer, we still need to know how quickly we can access data from the Filecoin network. How fast will retrieval be from the Filecoin network? If you are retrieving your data from IPFS or a remote pinning layer, retrieval should take on the order of milliseconds to seconds in the worst case. Our latest tests for retrieval from the Filecoin network directly show that a sealed sector holding data takes \~1 hour to unseal. 1-5 hours is our best real-world estimate to go from sector unsealing to delivery of the data. If you need faster data retrieval for your application, we recommend building on IPFS. [Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/getting-started/community/filecoin-faqs) # FAQs A list of frequent asked questions about FVM, FEVM and how to build on Filecoin network. Here’s a collection of general FAQs that the team has gathered. If you are looking for more technical FAQs, please head to [Filecoin Community Discussion](https://github.com/filecoin-project/community/discussions/categories/q-a). ## **What is FVM** The [FVM](https://fvm.filecoin.io) (Filecoin virtual machine) enables developers to write and deploy custom code to run on top of the Filecoin blockchain. This means developers can create apps, markets, and organizations built around data stored on Filecoin. ## **What broader implications does FVM have** FVM allows us to think about data stored on Filecoin differently. Apps can now build a new layer on the Filecoin network to enable trading, lending, data derivatives, and decentralized organizations built around datasets. ## **What problems does FVM solve** FVM can create incentives to solve problems that Filecoin participants face today around data replication, data aggregation, and liquidity for miners. Beyond these, there is a long tail of data storage and retrieval problems that will also be resolved by user programmability on top of Filecoin. ## **How does Aptos compare to FVM** [Aptos](https://aptoslabs.com/) is a Move-based L1 chain, whereas FVM is a WASM runtime on the Filecoin chain. The latter comes with an EVM right of the box; the former does not. The FVM also supports programmable storage with deals on Filecoin. ## **How does the FVM directly interact with data on Filecoin** The FVM operates on blockchain state data — it does *not* operate on data stored in the Filecoin network. This is because access to that data depends on network requests, an unsealed copy’s availability, and the SPs’ availability to supply that data. Access and manipulation of data stored in the network will happen via L2 solutions, for example, retrieval networks or compute-over-data networks. ## **How do other EVMs compare to FEVM** Unlike other EVM chains, FEVM specifically allows you to write contracts that orchestrate programmable storage. This means contracts that can coordinate storage providers, data health, perpetual storage mechanisms, and more. Other EVM chains do not have direct access to Filecoin blockchain state data. ## **What is an actor** An actor is code that the Filecoin virtual machine can run. Actors are also referred to as smart contracts. ## **What are built-in actors** [Built-in actors](https://github.com/filecoin-project/builtin-actors) are code that come precompiled into the Filecoin clients and can be run using the FVM. They are similar to [Ethereum precompiles](https://www.evm.codes/precompiled?fork=merge). ## **Why use the FEVM vs any other EVM compatible chain** Having storage contracts as a native primitive open to smart contract developers. Reduce costs of writing to storage from an EVM smart contract to a separate storage service. ## **Why FEVM vs native FVM** FEVM allows Solidity developers to easily write/port actors to the FVM using the tools that have already been introduced in the Ethereum ecosystem. ## **What applications make FVM/FEVM unique** Applications that natively make use of storage contracts. Perpetual storage contracts, Data DAOs, etc. ## **What is perpetual storage** Perpetual storage is a unique actor design paradigm only available on the FVM that allows users the ability to renew Filecoin storage deals and to keep them active indefinitely. This could be achieved by using a Decentralized Autonomous Organization (DAO) structure for example. ## **What are Data DAOs** Data DAOs are a unique design paradigm FVM developers could create which use Filecoin storage to store all their data instead of a service like AWS (which is currently used). ## **Is FVM part of Filecoin clients like Lotus** Yes. ## **Do I have to install Lotus to work with FVM** Not necessarily. You can use public RPC nodes on either [mainnet](/networks-and-tools/networks/mainnet/rpcs) or the [Calibration testnet](/networks-and-tools/networks/calibration/rpcs). ## **Why does the FVM use WASM** Many [different languages](https://github.com/appcypher/awesome-wasm-langs) already compile to WASM so developers can pick their favorite. ## **Is the FEVM a bridge to the EVM** No, the FEVM is its own instance of the EVM built on top of Filecoin. You will need to redeploy smart contracts that exist in the EVM to the FEVM. Bridges can be built to top of the FEVM which connect it to other blockchains however. ## **How is the Filecoin network accessed through Solidity** When an EVM is deployed to FEVM, it is compiled with WASM and an actor instance is created in FEVM that runs the EVM bytecode. The user-defined FEVM actor is then able to interact with the Filecoin network via built-in actors like the Market and Miner APIs. ## **Can I deploy EVM bytecode to the native FVM** No, it must be deployed to the FEVM. ## **What frontend framework should I use?** React, Ethers.js, web.js, ReactJS work well. ## **How do we convert from msg.sender in a FEVM contract, which returns an EVM `0x` address, to the underlying Filecoin `f` address?** You can use the npm [`@glif/filecoin-address`](https://www.npmjs.com/package/@glif/filecoin-address) package or the [Zondax mock API](https://github.com/Zondax/fevm-solidity-mock-api) has the constructor that calls `mock_generate_deals();`. ## **How do I bound the replicator factor from solidity FEVM?** Store a number limit on running `DealClient` and `publish_deal` and have it authorized to replicate. ## **How can I use FVM to store data to Filecoin** The intent of FEVM/FVM is to compute over state data (the metadata of your stored data). Storage providers are the ones that are able to store your data and upload the deal to the Filecoin network. Data retrieval happens via Retrieval Providers, accepting the client’s ask to retrieve and working with storage providers to decrypt the data to deliver to the client. FEVM/FVM is able to build logic around these 2 processes and automate, add verification and proofs, time-lock retrievals etc. ## **How do I close a storage deal on Filecoin and stop storage providers (SP) from storing my data on-chain** It’s not impossible but storage providers are incentivized not to close the storage deal as they are slashed for not providing [Proof of Spacetime (PoSt)](/reference/general/glossary#proof-of-spacetime-post). Someone has to pay for the broken promise a miner makes to the chain and you need a custom market actor for it most likely to make the deal. You need to make deals for a certain amount of time - right now the boundaries are 6-18 months. You cannot ask a storage provider to take down your data without contacting them off-chain. [Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/getting-started/community/faqs) # Related projects Filecoin is a highly modular project that is itself made out of many different protocols and tools. Many of these exist as their own projects, supported by Protocol Labs. Learn more about them below. ## Libp2p A modular network stack, libp2p enables you to run your network applications free from runtime and address services, independently of their location. Learn more at [libp2p.io/](http://libp2p.io/). ### IPLD IPLD is the data model of the content-addressable web. It allows us to treat all hash-linked data structures as subsets of a unified information space, unifying all data models that link data with hashes as instances of IPLD. Learn more at [ipld.io/](https://ipld.io/). ### IPFS IPFS is a distributed system for storing and accessing files, websites, applications, and data. However, it does not have support for incentivization or guarantees of this distributed storage; Filecoin provides the incentive layer. Learn more at [ipfs.tech/](https://ipfs.tech/). ### Multiformats The Multiformats Project is a collection of protocols which aim to future-proof systems through self-describing format values that allow for interoperability and protocol agility. Learn more at [multiformats.io/](https://multiformats.io/). ### ProtoSchool Interactive tutorials on decentralized web protocols, designed to introduce you to decentralized web concepts, protocols, and tools. Complete code challenges right in your web browser and track your progress as you go. Explore ProtoSchool’s tutorials on Filecoin at [proto.school/](https://proto.school/#/tutorials?course=filecoin). [Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/getting-started/community/related-projects) # Social media Filecoin is everywhere on the internet — and that includes social media. Find your favorite flavor here. ### YouTube The [Filecoin YouTube channel](https://www.youtube.com/channel/UCPyYmtJYQwxM-EUyRUTp5DA) is home to a wealth of information about the Filecoin project — everything from developer demos to recordings of mining community calls — so you can explore playlists and subscribe to ones that interest and inform you. ### Blog Explore the latest news, events and other happenings on the official [Filecoin Blog](https://filecoin.io/blog/). ### Updates Follow the [Filecoin blog](https://filecoin.io/blog/) and [Filecoin events](https://fil.org/events) for official project updates. ### Twitter Get your Filecoin news in tweet-sized bites. Follow these accounts for the latest: * `@Filecoin` for news and other updates from the Filecoin project * `@ProtoSchool` for updates on ProtoSchool workshops and tutorials ### WeChat Follow FilecoinOfficial on [WeChat](https://www.wechat.com/) for project updates and announcements in Chinese. ![WeChat logo](https://3376433986-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxNWFG7bQkjLkl5BBGjbD%2Fuploads%2Fgit-blob-d191870c5edc5694e41cea05992ca6048d536f2a%2Fbasics-project-and-community-social-media-wechat.webp?alt=media) [Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/getting-started/community/social-media) # The Filecoin project Curious about how it all got started, or where we’re headed? Learn about the history, current state, and future trajectory of the Filecoin project here. ### Roadmap The [Filecoin Community Roadmap](https://github.com/filecoin-project/community/discussions/456) is updated quarterly. It provides insight into the strategic development of the network and offers pathways for community members to learn more about ongoing work and connect directly with project teams. ### Research Learn about the ongoing cryptography research and design efforts that underpin the Filecoin protocol on the [Filecoin Research website](https://github.com/filecoin-project/research). The [research groups at Protocol Labs](https://research.protocol.ai/groups/) also actively research improvements. ### Code of conduct The Filecoin community believes that our mission is best served in an environment that is friendly, safe, and accepting, and free from intimidation or harassment. To that end, we ask that everyone involved in Filecoin read and respect our [code of conduct](https://github.com/filecoin-project/community/blob/master/CODE_OF_CONDUCT.md). [Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/getting-started/community/the-filecoin-project) # Ways to contribute So you want to contribute to Filecoin and the ecosystem? Here is a quick listing of things to which you can contribute and an overview on how you can get started. ### Ways to contribute #### Code Filecoin and its sister-projects are big, with lots of code written in multiple languages. We always need help writing and maintaining code, but it can be daunting to just jump in. We use the label *Help Wanted* on features or bug fixes that people can help out with. They are an excellent place for you to start contributing code. The biggest and most active repositories we have today are: * [`filecoin-project/venus`](https://github.com/filecoin-project/venus) * [`filecoin-project/lotus`](https://github.com/filecoin-project/lotus) * [`filecoin-project/rust-fil-proofs`](https://github.com/filecoin-project/rust-fil-proofs) If you want to start contributing to the core of Filecoin, those repositories are a great place start. But the *Help Wanted* label exists in several related projects: * [IPFS](https://github.com/ipfs) * [libp2p](https://github.com/libp2p) * [IPLD](https://github.com/ipld) * [Multiformats](https://github.com/multiformats) #### Documentation Filecoin is a huge project and undertaking, and with lots of code comes the need for lots of good documentation! However, we need a lot more help to write the awesome docs the project needs. If writing technical documentation is your area, any and all help is welcome! Before contributing to the Filecoin docs, please read these quick guides; they'll save you time and help keep the docs accurate and consistent! 1. [Style and formatting guide](#style) 2. [Writing guide](#writing-guide) 3. [GitBook documentation guide](#gitbook-documentation) If you have never contributed to an open-source project before, or just need a refresher, take a look at the [contribution tutorial](#contribution-tutorial). #### Community If interacting with people is your favorite thing to do in this world, join the [Filecoin chat and discussion forums](/getting-started/community/forums-and-fips) to say hello, meet others who share your goals, and connect with other members of the community. You should also consider joining [Filecoin Slack](https://filecoinproject.slack.com/ssb/redirect). #### Build Applications Filecoin is designed for you to integrate into your own applications and services. Get started by looking at the list of projects currently built on Filecoin. Build anything you think is missing! If you're unsure about something, you can join the chat and discussion forums to get help or feedback on your specific problem/idea. You can also join a Filecoin Hackathon, apply for a Filecoin Developer Grant or apply to the Filecoin accelerator program to support the development of your project. * [Filecoin Hackathons](https://hackathons.filecoin.io/) * [Filecoin Developer Grants](https://www.fil.org/grants) * [Filecoin Accelerator Program](https://ecosystem-wg.notion.site/Protocol-Labs-Accelerator-Program-d45d8792a7d544eca9beb7d3e3d3b05d) #### Protocol Design Filecoin is ultimately about building better protocols, and the community always welcome ideas and feedback on how to improve those protocols. * [`filecoin-project/specs`](https://github.com/filecoin-project/specs) #### Research Finally, we see Protocol Labs as a research lab, where YOUR ideas can become technologies that have a real impact on the world. If you're interested in contributing to our research, please reach out to <research@protocol.ai> for more information. Include what your interests are so we can make sure you get to work on something fun and valuable. ### GitBook documentation This site is built with [GitBook](https://www.gitbook.com/) and synced from a Git repository. You can contribute by editing markdown files directly in the repo or through the GitBook UI. #### Content structure GitBook organizes content through pages (markdown files), grouped into sections defined in `SUMMARY.md`. The key files are: * **`SUMMARY.md`** defines the table of contents and sidebar navigation. * **`WELCOME.md`** is the homepage. * **`.gitbook.yaml`** configures the space (root path, redirects). Every page is a markdown file with optional YAML frontmatter: ```markdown --- description: A short summary for SEO and link previews icon: book-open layout: width: default --- # Page title Content starts here. ``` #### Frontmatter fields <table><thead><tr><th width="200">Field</th><th>Purpose</th></tr></thead><tbody><tr><td><code>description</code></td><td>SEO description and link previews. Supports multiline with <code>>-</code>.</td></tr><tr><td><code>icon</code></td><td>Font Awesome icon name (e.g., <code>bolt</code>, <code>book-open</code>).</td></tr><tr><td><code>hidden: true</code></td><td>Hides page from the table of contents.</td></tr><tr><td><code>layout.width</code></td><td><code>default</code> or <code>wide</code> for broader content area.</td></tr></tbody></table> #### Internal links Always use relative file paths for links between documentation pages: ```markdown [Networks overview](../what-is-filecoin/networks.md) [Getting started](../../getting-started/README.md) ``` External links use full URLs: ```markdown [Filecoin GitHub](https://github.com/filecoin-project) ``` #### GitBook custom blocks This site uses several GitBook-specific markdown extensions. Here are the ones you will encounter most frequently. **Hints** draw attention to important information: ```markdown {% raw %} {% hint style="info" %} This is an informational callout. {% endhint %} {% hint style="warning" %} Be careful when running this command in production. {% endhint %} {% hint style="danger" %} This action cannot be undone. {% endhint %} {% endraw %} ``` Supported styles: `info`, `warning`, `danger`, `success`. **Expandable sections** hide optional or lengthy content: ````markdown <details> <summary>Advanced configuration</summary> Detailed information that most users do not need. ```yaml advanced: option1: value1 ``` </details> ```` **Tabs** present alternative options (languages, platforms): ````markdown {% raw %} {% tabs %} {% tab title="macOS" %} ```shell brew install lotus ``` {% endtab %} {% tab title="Linux" %} ```shell sudo apt install lotus ``` {% endtab %} {% endtabs %} {% endraw %} ```` **Cards** create visual navigation grids: ```markdown <table data-view="cards"> <thead> <tr> <th>Title</th> <th data-card-target data-type="content-ref">Target</th> </tr> </thead> <tbody> <tr> <td>Getting started</td> <td><a href="getting-started/README.md">Start here</a></td> </tr> </tbody> </table> ``` **Code blocks with titles** label file names or context: ````markdown {% raw %} {% code title="hardhat.config.js" %} ```javascript module.exports = { solidity: "0.8.17", }; ``` {% endcode %} {% endraw %} ```` #### Common pitfalls \* Do not reference the same markdown file twice in \`SUMMARY.md\`. \* Keep \`SUMMARY.md\` synchronized with actual file paths. \* Test custom blocks in GitBook after editing locally. ### Writing guide This guide explains things to keep in mind when writing for Filecoin's documentation. While the [grammar, formatting, and style
프로젝트로 돌아가기