bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 52쪽 중 42쪽
ion and permanence; changes to its protocol are subject to the adoption of the network participants.
If used as a proper noun, capitalize the term: *“I am providing on Mainnet.”*
## Message
The term *message* is used to refer to data stored as part of a [block](#block). A block can contain several messages.
## Merkle Directed Acyclic Graph
Abbreviated as *Merkle DAG*. A graph data structure where nodes:
* Have a unique identifier that is the hash of the nodes contents
* Are directionally related to other nodes
* Never form a closed loop
Merkle DAGs are a fundamental component for the representation of relationships between content-addressed data in IPLD, which is in turn used by Filecoin.
## Miner
The Filecoin project uses the term *provider* to refer to participants in the network who provide a service of value to a client. Other blockchains, like Ethereum and Bitcoin, use the term *miner*. At present, the Filecoin specification recognizes two provider types: [storage providers](#storage-provider) and [retrieval providers](#retrieval-provider).
## Pledged storage
Storage capacity that a provider has promised to reserve for the Filecoin network via [Proof-of-Replication](#proof-of-replication-porep) is termed *pledged storage*.
## Proof-of-Storage
Many blockchain networks are underpinned by the notion that participants supply something of value to the blockchain - a contribution that is hard to fake, but which, if actually made, can be trivially verified. Blockchains based in this approach are often said to require “Proof-of-X”, where X is the valued contribution. The Filecoin blockchain values contributions of storage capacity; it is predicated upon a novel *Proof-of-Storage* construction, distinguishing it from other blockchains that, as is most often the case, require a contribution of computing power.
As a term, Proof-of-Storage refers to the design elements of the Filecoin protocol that allow one to guarantee (to some very high tolerance) that participants that claim to be contributing a given amount of storage are indeed fulfilling that pledge. In fact, Filecoin’s Proof-of-Storage construction provides for a much stronger claim, allowing one to efficiently verify that a participant is storing a *particular piece of data*, without requiring that one have a copy of the file itself.
*Note*: “proof” here is used in an informal sense - typically, these proofs take the form of a probabilistic argument, rather than a concrete proof; that is, it might *technically* be possible to convince other participants that one is making a contribution one is not, but the possibility is so vanishingly slight as to border on impossibility.
## Proof-of-Replication (PoRep)
*Proof-of-Replication* is a procedure by which a [storage provider](#storage-provider) can prove to the Filecoin network that they have created a unique copy of some piece of data on the network’s behalf.
## Proof-of-Spacetime (PoSt)
*Proof-of-Spacetime* is a procedure by which a [storage-provider](#storage-provider) can prove to the Filecoin network they continue to store a unique copy of some data on behalf of the network. Proof-of-Spacetime manifests in two distinct varieties in the present Filecoin specification: [Window Proof-of-Spacetime](#window-proof-of-spacetime-windowpost) and [Winning Proof-of-Spacetime](#winning-proof-of-spacetime-winningpost).
## Quality-adjusted storage power
The storage power a [storage provider](#storage-provider) earns from a storage deal offered by a [verified client](#verified-client) will be augmented by a multiplier. Power totals that take into account this multiplier are termed *quality adjusted*.
## Retrieval provider
A *retrieval provider* is a Filecoin participant that enters retrieval [deals](#deal) with clients, agreeing to supply a client with a particular file in exchange for [FIL](#fil). Note that unlike [storage providers](#storage-provider), retrieval providers are not additionally rewarded with the ability to add blocks to the Filecoin blockchain; their only reward is the fee they extract from the client.
## Seal
*Sealing* is one of the fundamental building blocks of the Filecoin protocol. It is a computation-intensive process performed over a [sector](#sector) that results in a unique representation of the sector. The properties of this new representation are essential to the [Proof-of-Replication](#proof-of-replication-porep) and the [Proof-of-Spacetime](#proof-of-spacetime-post) procedures.
## Sector
Storage providers store data on behalf of the Filecoin network in fixed-size blocks of data called *sectors*.
## Slash
When a [fault](#fault) is registered for a [sector](#sector), the Filecoin network will *slash* the [storage provider](#storage-provider) that is supposed to be storing the sector; that is, it will assess penalties to the provider (to be paid out of the [collateral](#collateral) fronted by the provider) for their failure to uphold their pledge of storage. When slashing takes place, the power a provider earns for the associated sector is subtracted from the provider’s total power for the purposes of [election](#election).
## Storage provider
A *storage provider* is a Filecoin participant that stores data on behalf of the network. Storage providers are rewarded for this service through payments by clients that contract their services, as well as by periodic authorization to extend the Filecoin [blockchain](#blockchain) with [blocks](#block) of their own creation. When they create a block, storage providers are rewarded with newly minted [FIL](#fil), as well as the transaction fees they can levy on other participants seeking to include [messages](#message) in the block.
## Storage power
A [storage provider’s](#storage-provider) *storage power* is a value roughly proportional to the amount of storage capacity they make available on behalf of the network via [capacity commitments](#capacity-commitment) or [storage deals](#deal). Storage power is used to select storage providers for rewards in proportion to their contributions to the total network storage capacity.
## Zero-knowledge succinct non-interactive argument of knowledge (zk-SNARK)
An *argument of knowledge* is a construction by which one party, called the *prover*, can convince another, the *verifier*, that the prover has access to some piece of information. There are several possible constraints on such constructions:
* A *non-interactive* argument of knowledge has the requirement that just a single message, sent from the prover to the verifier, should serve as a sufficient argument.
* A *zero-knowledge* argument of knowledge has the requirement that the verifier should not need access to the knowledge the prover has access to in order to verify the prover’s claim.
* A *succinct* argument of knowledge is one that can be “quickly” verified, and which is “small”, for appropriate definitions of both of those terms.
A zero-knowledge, succinct non-interactive argument of knowledge (zk-SNARK) embodies all of these properties. Filecoin utilizes these constructions to enable its distributed network to efficiently verify that [storage providers](#storage-provider) are storing files they pledged to store, without requiring the verifiers to maintain copies of these files themselves.
## Testnet
A portmanteau of “test” and “network, *testnet* is a term used to refer to one of the [primary Filecoin testing networks](https://network.filecoin.io/#calibration).
Note: if used as a proper noun, capitalize the term. For example, “I am providing on Testnet.”
## Tipset
A [tipset](https://filecoin.io/blog/tipsets-family-based-approach-to-consensus/) is a set of [blocks](#block) that each have the same [height](#block-height) and parent tipset; the Filecoin [blockchain](#blockchain) is a chain of tipsets, rather than a chain of blocks.
Each tipset is assigned a weight corresponding to the amount of storage the network is provided per the commitments encoded in the tipset’s blocks. The consensus protocol of the network directs nodes to build on top of the heaviest chain.
By basing its blockchain on tipsets, Filecoin can allow multiple [storage providers](#storage-provider) to create blocks in the same [epoch](#epoch), increasing network throughput. By construction, this also provides network security: a node that attempts to intentionally prevent the valid blocks of a second node from making it onto the canonical chain runs up against the consensus preference for heavier chains.
## Verified client
To further incentivize the storage of “useful” data over simple [capacity commitments](#capacity-commitment), [storage providers](#storage-provider) have the additional opportunity to compete for special [deals](#deal) offered by [verified clients](#verified-client). Such clients are certified with respect to their intent to offer deals involving the storage of meaningful data, and the power a storage provider earns for these deals is augmented by a multiplier.
## Window Proof-of-Spacetime (WindowPoSt)
*Window Proof-of-Spacetime* (WindowPoSt) is the mechanism by which the commitments made by [storage providers](#storage-provider) are audited. It sees each 24 hour period broken down into a series of windows. Correspondingly, each storage provider’s set of pledged [sectors](#sector) is partitioned into subsets, one subset for each window. Within a given window, each storage provider must submit a [Proof-of-Spacetime](#proof-of-spacetime-post) for each sector in their respective subset. This requires ready access to each of the challenged sectors, and will result in a proof compressed via [zk-SNARK](#zero-knowledge-succinct-non-interactive-argument-of-knowledge-zk-snark) being published to the Filecoin [blockchain](#blockchain) as a [message](#message) in a [block](#block). In this way, every sector of [pledged storage](#pledged-storage) is audited at least once in any 24 hour period, and a permanent, verifiable, and public record attesting to each storage provider’s continued commitment is kept.
The Filecoin network expects constant availability of stored data. Failing to submit WindowPoSt for a sector will result in a [fault](#fault), and the storage provider supplying the sector will be [slashed](#slash).
## Winning Proof-of-Spacetime (WinningPoSt)
*Winning Proof-of-Spacetime* (WinningPoSt) is the mechanism by which [storage providers](#storage-provider) are rewarded for their contributions to the Filecoin network. At the beginning of each [epoch](#epoch), a small number of storage providers are [elected](#election) to each mine a new [block](#block). As a requirement for doing so, each provider is tasked with submitting a compressed [Proof-of-Storage](#proof-of-storage) for a specified [sector](#sector). Each elected provider who successfully creates a block is granted [FIL](#fil), as well as the opportunity to charge other Filecoin participants fees to include [messages](#message) in the block.
Storage providers who fail to do this in the necessary window will forfeit their opportunity to mine a block, but will not otherwise incur penalties for their failure to do so.
[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/reference/general/glossary)
# Specifications
This page quickly covers what the Filecoin Specification is, and how you can access it.
The Filecoin specification is the technical document that outlines the details of how the Filecoin network operates, including the rules for participating in the network, the format of the transactions that are used to manage data storage, and the algorithms and data structures that are used to store and retrieve data on the network. The specification is an important reference for developers who are building applications on top of Filecoin, as it provides them with the necessary information to create integrations that are compatible with the rest of network.
The Filecoin specification is a *living* document, with frequent updates and changes as the Filecoin network grows. The specification is available to view at [specs.filecoin.io](https://spec.filecoin.io/).
You can suggest changes to the specification [over on GitHub](https://github.com/filecoin-project/specs).
[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/reference/general/specifications)
# Tools
This page lists a collection of tools and resources you can use to build on top of the Filecoin network using the FVM.
### Infrastructure libraries
These infrastructure libraries and tools exist to speed up the development of software on top of the Filecoin network.
#### Filecoin Javascript Standard Library
> Connect apps to the Filecoin blockchain with iso-filecoin.
**Features**
* Lightweight, performant and type-safe
* Support for RPC, Signature, Address, Token, Chain, Wallet and more.
* React hooks and context to easily integrate Filecoin wallets
* Wallet adapters for Ledger Filecoin App, MetaMask Filecoin Wallet, and more.
**Packages**
* [iso-filecoin](https://github.com/hugomrdias/filecoin/tree/main/packages/iso-filecoin) - Core package
* [iso-filecoin-react](https://github.com/hugomrdias/filecoin/tree/main/packages/iso-filecoin-react) - React hooks and context
* [iso-filecoin-wallets](https://github.com/hugomrdias/filecoin/tree/main/packages/iso-filecoin-wallets) - Wallet adapters
**Resources**
* [Documentation](https://filecoin.hugomrdias.dev/)
#### ⨎ Filsnap
> A MetaMask [Snap](https://snaps.metamask.io/snap/npm/filsnap/) to add Filecoin support to the MetaMask extension.
**Features**
* Enables dapps access to Filecoin accounts using Metamask.
* Manage Filecoin accounts, check balance, address, export private key and more.
* Send and receive FIL from native and FEVM addresses.
* Sign Filecoin messages and arbitrary data.
* Send Filecoin messages and estimate gas fees.
* Filecoin insights for FEVM transaction/signature requests.
**Resources**
* [Companion App](https://filsnap.dev/)
* [Documentation](https://filecoin-project.github.io/filsnap/)
**Packages**
* [filsnap](https://github.com/filecoin-project/filsnap/tree/master/packages/snap) - Filecoin snap for Metamask
* [filsnap-adapter](https://github.com/filecoin-project/filsnap/tree/master/packages/adapter) - Adapter to interact with Filsnap from a dapp
* [filsnap-adapter-react](https://github.com/filecoin-project/filsnap/tree/master/packages/adapter-react) - React hooks to interact with Filsnap from a dapp
#### Filecoin addresses
The *filecoin-address* library is a JavaScript implementation of the Filecoin address type, and can create new address instances, encode addresses, and decode and validate checksums. For further information, including how to install and use, see the [GitHub repository](https://github.com/glifio/modules/tree/primary/packages/filecoin-address).
### Built-in Native Actors
These are some tools that developers will find useful when dealing with built-in actors.
* [WASM Actors Repo](https://github.com/filecoin-project/builtin-actors)
* [FVM Example Actors](https://github.com/filecoin-project/fvm-example-actors)
* [FVM AssemblyScript SDK](https://github.com/Zondax/fvm-as-sdk) by Zondax
* [FVM TinyGo SDK](https://www.notion.so/Filecoin-Virtual-Machine-FVM-Developer-Resources-94cabfd650184f4b9664bd4974e4d329) by Venus (IPFSForce)
* [FVM High-level Rust SDK](https://github.com/polyphene/fvm-rs-sdk) by Polyphene
* [Tooling by Glif](https://glif.io/en)
[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/reference/general/tools)
# Legacy Content
Legacy content preserved for historical reference. These tools and workflows have been superseded by modern Filecoin storage and development patterns.
{% hint style="warning" %}
The content on this page describes tools, workflows, and projects that are **no longer actively maintained**. It is preserved for historical reference only.
For current guidance, see [Upload to Filecoin](/getting-started/how-storage-works/upload-to-filecoin), [PDP](/provide-storage/pdp), or [Build on Filecoin](/build-on-filecoin/getting-started).
{% endhint %}
## Smart contracts
### RaaS (Renew, Repair, Replicate as a Service)
RaaS was a smart-contract-based approach to automating storage deal renewal, repair, and replication on Filecoin. It supported both self-hosted and aggregator-hosted (via Lighthouse) architectures.
**Key resources:**
* [RaaS Starter Kit](https://github.com/filecoin-project/raas-starter-kit)
* [Lighthouse documentation](https://docs.lighthouse.storage/)
### Aggregated deal-making
A workflow for bundling many small data pieces into larger Filecoin deals using data aggregation and Proof of Data Segment Inclusion (PoDSI).
**Key resources:**
* [FRC-0058 — Proof of Data Segment Inclusion](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0058.md#proof-of-data-segment-inclusion)
* [Data segment specs discussion](https://github.com/filecoin-project/FIPs/discussions/512)
* [Filecoin Data Tools](https://github.com/application-research/fevm-data-segment)
### Cross-Chain Data Bridge (CCDB)
CCDB enabled EVM-compatible chains (Avalanche, Base, etc.) to initiate Filecoin storage deals via cross-chain messaging through Axelar.
**Key resources:**
* [onramp-contracts](https://github.com/FIL-Builders/onramp-contracts/)
* [xChainClient](https://github.com/FIL-Builders/xchainClient)
* [dataBridgeDemo](https://github.com/FIL-Builders/dataBridgeDemo)
* [Architecture deep-dive (Medium)](https://medium.com/@filoz/under-the-hood-architecture-and-prototype-of-cross-chain-data-storage-6f8ba2c480d6)
### Client contract tutorial
A tutorial on creating storage deals programmatically via FVM smart contracts using the deal-making starter kit.
**Key resources:**
* [FVM deal-making kit](https://github.com/filecoin-project/fvm-starter-kit-deal-making)
* [ETHGlobal walkthrough (YouTube)](https://www.youtube.com/watch?v=27EV3gQGY9k)
### Chain data query
A tutorial on querying Filecoin chain data from a dApp using ethers.js against a public Glif JSON-RPC endpoint. For current chain access, use the [Mainnet RPCs](/networks-and-tools/networks/mainnet/rpcs) or [Calibration RPCs](/networks-and-tools/networks/calibration/rpcs) and the [FEVM indexers](/build-on-filecoin/advanced/fevm-indexers) guidance.
## Projects
### Saturn
Saturn was a Web3 CDN in the Filecoin retrieval market, enabling fast content delivery from Filecoin storage providers. The project is no longer active.
For current retrieval guidance, see [Basic retrieval](/getting-started/how-retrieval-works/basic-retrieval) and [Serving retrievals](/getting-started/how-retrieval-works/serving-retrievals).
[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/reference/general/legacy-content)
# Exchanges
Guides for integrating FIL into cryptocurrency exchanges.
This section provides technical guidance for exchanges looking to support FIL deposits, withdrawals, and trading.
## Table of contents
* [Exchange integration](/reference/exchanges/exchange-integration) — steps and workflows for listing FIL on an exchange
[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/reference/exchanges)
# Exchange integration
This page lists the general steps and workflows you need to follow to offer FIL on an exchange.
## Running a Filecoin node
If you plan to offer FIL on your exchange, you will need to run a Filecoin node. [Lotus](https://lotus.filecoin.io) is the reference implementation node for the Filecoin network, and as such, is currently the most production-ready implementation available.
### Node setup and installation
Follow the [Lotus installation g프로젝트로 돌아가기