Git Product home page Git Product logo

nft-storefront's Introduction

NFT Storefront

The NFT storefront is a general-purpose Cadence contract for trading NFTs on Flow.

NFTStorefront uses modern Cadence run-time type facilities to implement a marketplace that can take any currency in order to vend any token in a safe and secure way. This means that only one instance of the contract is needed (see below for its address on Testnet and Mainnet), and its resources, transactions, and scripts can be used by any account to create any marketplace.

NOTE: New version of NFTStorefront,i.e. NFTStorefrontV2 contract has been developed and deployed on testnet. Whoever wants to build upon NFTStorefront, it is recommended to use latest version of it,i.e NFTStorefrontV2 and enjoy its latest offerings.

Contract Addresses

Name Testnet Mainnet
NFTStorefront 0x94b06cfca1d8a476 0x4eb8a10cb9f87357
NFTStorefrontV2 0x2d55b98eb200daef 0x4eb8a10cb9f87357

Usage

Each account that wants to offer NFTs for sale installs a Storefront, and then lists individual sales within that Storefront as Listing resources.

There is one Storefront per account that handles sales of all NFT types for that account.

Each Listing can list one or more cut percentages. Each cut is delivered to a predefined address. Cuts can be used to pay listing fees or other considerations.

Each NFT may be listed in one or more Listing resources. The validity of each Listing can easily be checked.

Purchasers can watch for Listing events and check the NFT type and ID to see if they wish to buy the offered item.

Marketplaces and other aggregators can watch for Listing events and list items of interest.

nft-storefront's People

Contributors

10thfloor avatar albeethekid avatar codingone21 avatar maggo avatar mastereye-07 avatar poiati avatar ppichier avatar prpatel05 avatar psiemens avatar rheaplex avatar rrrkren avatar satyamakgec avatar sideninja avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.