# Metaplex

#### [Fork from](https://github.com/solana-labs/metaplex)

### [Installing](broken-reference) <a href="#user-content-installing" id="user-content-installing"></a>

Clone the repo, and run `yarn start` to deploy.

```
$ git clone https://github.com/metaplex-foundation/metaplex.git
$ cd metaplex
$ cd js
$ yarn install
$ yarn bootstrap
$ yarn start
```

### [Rust Programs](broken-reference) <a href="#user-content-rust-programs" id="user-content-rust-programs"></a>

The Rust programs will soon be added to this repo with JavaScript bindings that allow interactivity.

### [Protocol](broken-reference) <a href="#user-content-protocol" id="user-content-protocol"></a>

### [Non-fungible tokens](broken-reference) <a href="#user-content-non-fungible-tokens" id="user-content-non-fungible-tokens"></a>

Metaplex's non-fungible token standard is a part of the Solana Program Library (SPL) and can be characterized as a unique token with a fixed supply of 1 and 0 decimals. We extended the basic definition of an NFT on Solana to include additional metadata such as URI as defined in ERC-721 on Ethereum.

Below are the types of NFTs that can be created using the Metaplex protocol.

#### [**Master Edition**](broken-reference) <a href="#user-content-master-edition" id="user-content-master-edition"></a>

A master edition token, when minted, represents both a non-fungible token on Solana and metadata that allows creators to control the provenance of prints created from the master edition.

Rights to create prints are tokenized, and the owner of the master edition can distribute tokens that allow users to create prints from master editions. Additionally, the creator can set the maximum supply of the master edition just like a regular mint on Solana, with the main difference being that each print is a numbered edition created from it.

A notable and desirable effect of master editions is that as prints are sold, the artwork will still remain visible in the artist's wallet as a master edition, while the prints appear in the purchaser's wallet.

#### [**Print**](broken-reference) <a href="#user-content-print" id="user-content-print"></a>

A **print** represents a copy of an NFT and is created from a Master Edition. Each print has an edition number associated with it.

Usually, prints are created as a part of an auction that has happened on Metaplex, but they could also be created by the creator manually.

For limited auctions, each print number is awarded based on the bid placement.

Prints can be created during open-edition or limited-edition auctions.

#### [Normal NFT](broken-reference) <a href="#user-content-normal-nft" id="user-content-normal-nft"></a>

A normal NFT (like a Master Edition), when minted, represents a non-fungible token on Solana and metadata, but lacks rights to print.

An example of a normal NFT would be an artwork that is a one-of-a-kind that, once sold, is no longer within the artist's own wallet, but is in the purchaser's wallet.

### [Types of Auctions](broken-reference) <a href="#user-content-types-of-auctions" id="user-content-types-of-auctions"></a>

Metaplex currently supports four types of auctions that are all derived from English auctions.

Basic parameters include:

* Auction start time
* Auction end time
* Reservation price

Additionally, Metaplex includes a novel concept of the participation NFT. Each bidding participant can be rewarded with a unique NFT for participating in the auction.

The creator of an auction also has the ability to configure a minimal price that should be charged for redemption, with the option to set it as "free".

#### [Single Item](broken-reference) <a href="#user-content-single-item" id="user-content-single-item"></a>

This type of auction can be used to sell normal NFTs and re-sell Prints, as well as the sale of Master Edition themselves (and the associated printing rights) if the artist so wishes. While this last behavior is not exposed in the current UI, it does exist in the protocol.

#### [Open Edition](broken-reference) <a href="#user-content-open-edition" id="user-content-open-edition"></a>

An open edition auction requires the offering of a Master Edition NFT that specifically has no set supply. The auction will only create Prints of this item for bidders: each bidder is guaranteed to get a print, as there are no true "winners" of this auction type.

An open edition auction can either have a set fixed price (equivalent to a Buy Now sale), can be set to the bid price (Pay what you want), or can be free (Make any bid to get it for free).

#### [Limited Edition](broken-reference) <a href="#user-content-limited-edition" id="user-content-limited-edition"></a>

For a limited edition auction, a Master Edition NFT (of limited or unlimited supply) may be provided to the auction with a number of copies as the set amount of winning places.

For each prize place, a Print will be minted in order of prize place, and awarded to the winning bidder of that place.

For example, the first-place winner will win Print #1; the second-place winner Print #2; and so on.

It is required for limited supply NFTs that there is at least as much supply remaining as there are desired winners in the auction.

#### [Tiered Auction](broken-reference) <a href="#user-content-tiered-auction" id="user-content-tiered-auction"></a>

A tiered auction can contain a mix of the other three auction types as winning placements. For instance, the first-place winner could win a Print of Limited Edition NFT A, while the second-place winner could win Normal NFT, and so on. Additionally, all participants who did not win any place could get a Participation NFT Print from a Master Edition (if the Master Edition had no supply limit).

### [Royalties](broken-reference) <a href="#user-content-royalties" id="user-content-royalties"></a>

Metaplex can seamlessly create on-chain artist splits that remove the awkwardness of collaboration.

Tag each collaborator, set custom percentages, and you’re off to the races. Each NFT can also be minted with configurable royalty payments that are then sent automatically back to the original creators whenever an artwork is resold on a Metaplex marketplace in the future.

### [Storefronts](broken-reference) <a href="#user-content-storefronts" id="user-content-storefronts"></a>

Metaplex's off-chain component allows creators to launch a custom storefront, similar to Shopify or WordPress. This open-source project provides a graphical interface to the on-chain Metaplex program, for creators, buyers, and curators of NFTs. The design and layout of storefronts can be customized to suit the needs of the entity creating it, either as a permanent storefront or an auction hub for a specific auction or collection.

All identification on the Storefront is based on wallet addresses. Creators and store admins sign through their wallets, and users place bids from connected wallets. Custom storefronts allow creators to create unique experiences per auction. Additionally, the Metaplex Foundation is working on multiple partnerships that will enable the building of immersive storefronts using VR/AR.
