|
1 | | -# NFT Storefront Contract Standard |
| 1 | +# nft-storefront — NFT Marketplace Contract for Flow |
2 | 2 |
|
3 | 3 | The NFT Storefront contract standard is a cornerstone of the Open Marketplace ecosystem on Flow. An open market ecosystem promotes the |
4 | 4 | free flow of NFT listings across the network, emitted as events and consumed by other marketplaces (or any other consumer). Marketplaces may filter |
5 | 5 | listings consumed based on commission rates they may receive. Listings may be created with variable commission, royalties or other fractional revenue, paying to multiple accounts. NFT listings are not NFTs, they are Resources which can be transacted with using the `purchase` [function](https://github.com/onflow/nft-storefront/blob/jp-update-structure/contracts/NFTStorefrontV2.cdc#L300) to obtain the token indicated by the listing. |
6 | 6 |
|
7 | 7 | The `NFTStorefrontV2` contract lets you create a non-custodial NFT marketplace to simplify integration with off-chain applications/UIs. The contract supports sellers who want to list and manage NFTs for sale simultaneously across any number of marketplaces. Listing expiry, orphaned and ghost listing cleanup are also of value for integrators to minimize overheads and ensure the best UX. |
8 | 8 |
|
9 | | -Marketplaces and sellers also benefit from the robust security guarantees of Flow's account model when trading NFTs. Through this standard a NFT trade takes place from peer-to-peer, directly from the Storefront Resource in the sellers account to the purchasers account. At the same time, the standard ensures that marketplaces or other recipients may receive royalties, fees or commissions with no risk to the seller. |
| 9 | +Marketplaces and sellers also benefit from the robust security guarantees of the Flow account model when trading NFTs. Through this standard a NFT trade takes place from peer-to-peer, directly from the Storefront Resource in the sellers account to the purchasers account. At the same time, the standard ensures that marketplaces or other recipients may receive royalties, fees or commissions with no risk to the seller. |
10 | 10 |
|
11 | 11 | Sellers or marketplaces can optionally configure their NFTStorefront to be limited or closed. However, those wishing to participate in the Open Marketplace ecosystem on Flow are required to use the NFTStorefront standard. |
12 | 12 |
|
@@ -59,3 +59,47 @@ Marketplaces and other aggregators can watch for `Listing` events |
59 | 59 | and list items of interest. |
60 | 60 |
|
61 | 61 | See further docs and examples on [the developer docs site](https://developers.flow.com/build/core-contracts/nft-storefront). |
| 62 | + |
| 63 | +## TL;DR |
| 64 | + |
| 65 | +- **What:** NFT Storefront V2. Cadence marketplace contract for the Flow network with royalties and cross-marketplace composability. |
| 66 | +- **Who it's for:** developers and teams building on or interacting with Flow. |
| 67 | +- **Status:** see [Releases](https://github.com/onflow/nft-storefront/releases) for the latest version. |
| 68 | +- **Related repos:** [flow-go](https://github.com/onflow/flow-go) · [cadence](https://github.com/onflow/cadence) · [flow-cli](https://github.com/onflow/flow-cli) · [fcl-js](https://github.com/onflow/fcl-js) |
| 69 | +- The reference NFT marketplace contract for the Flow network, open-sourced since 2021. |
| 70 | + |
| 71 | +## FAQ |
| 72 | + |
| 73 | +### What is nft-storefront? |
| 74 | +nft-storefront is one of the public Flow ecosystem repositories. See the README for its specific role. |
| 75 | + |
| 76 | +### How does this relate to Flow? |
| 77 | +Flow is a Layer 1 blockchain for consumer applications, AI agents, and DeFi. This repo is part of that broader ecosystem. Details in the [About Flow](#about-flow) section below. |
| 78 | + |
| 79 | +### Where do I learn more about Flow? |
| 80 | +- [developers.flow.com](https://developers.flow.com) — developer portal |
| 81 | +- [cadence-lang.org](https://cadence-lang.org) — Cadence language |
| 82 | +- [flow.com](https://flow.com) — main site |
| 83 | + |
| 84 | +### Where can I ask questions? |
| 85 | +The [Flow Discord](https://discord.gg/flow) is the fastest place to get an answer. Long-form questions go to [forum.flow.com](https://forum.flow.com). |
| 86 | + |
| 87 | +### How do I report an issue? |
| 88 | +Use this repo's Issues tab. |
| 89 | + |
| 90 | +## Community & Support |
| 91 | + |
| 92 | +- **Developer docs:** https://developers.flow.com |
| 93 | +- **Cadence language:** https://cadence-lang.org |
| 94 | +- **Discord:** [discord.gg/flow](https://discord.gg/flow) |
| 95 | +- **Forum:** [forum.flow.com](https://forum.flow.com) |
| 96 | +- **Governance:** [Flow Improvement Proposals](https://github.com/onflow/flips) |
| 97 | + |
| 98 | +## About Flow |
| 99 | + |
| 100 | +This repo is part of the [Flow network](https://flow.com), a Layer 1 blockchain built for consumer applications, AI agents, and DeFi at scale. |
| 101 | + |
| 102 | +- Developer docs: https://developers.flow.com |
| 103 | +- Cadence language: https://cadence-lang.org |
| 104 | +- Community: [Flow Discord](https://discord.gg/flow) · [Flow Forum](https://forum.flow.com) |
| 105 | +- Governance: [Flow Improvement Proposals](https://github.com/onflow/flips) |
0 commit comments