Back to Trending
RepositoryRust
ME

metaplex-foundation/metaplex-program-library

Smart contracts maintained by the Metaplex team

644stars
514forks
28issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: solana

#1 Repository of the month

1
TINIX TRENDING·Topic: nft

#1 Repository of the month

1
TINIX TRENDING·Topic: metaplex

#1 Repository of the month

Metaplex Program Library

Metaplex smart contracts and SDK.

Program Tests Integration Tests SDK Tests

Metaplex Contracts

NameRust Cratenpm Package
Auction HouseCrateNPM
AuctioneerCrateNPM
BubblegumCrateNPM
Candy Machine CoreCrateNPM
Candy MachineCrateNPM
Fixed Price SaleCrateNPM
GumdropCrateNPM
HydraCrateNPM
NFT PacksCrateNPM
Token EntanglerCrateNPM
Token MetadataCrateNPM

Development

Setting up Rust Tests

Run the build.sh script with the name of the program to build the shared object and put it in a directory called test-programs in the root of the project.

E.g.:

./build.sh auction-house

Running with all builds all programs.

Versioning and Publishing Packages

Smart contract SDK packages are versioned independently since a contract isn't necessarily coupled to other contracts.

We use the following (pre|post)(version|publish) npm scripts to manage related checks, tagging, committing and pushing the version bump.

  • preversion: ensures that the package builds and its tests pass
  • postversion: adds and commits the version bump and adds a tag indicating package name and new version, i.e. @metaplex-foundation/mp-core@v0.0.1
  • prepublishOnly: ensures that the package builds and its tests pass again (just to be really sure)
  • postpublish: pushes the committed change and new tag to GitHub

In order to version and then publish a package just run the following commands from the folder of the package you want to update:

  • npm version <patch|minor|major>
  • npm publish

As you note if version + publish succeeds the scripts end up pushing those updates to the master branch. Therefore, please ensure to be on and up to date master branch before running them. Please don't ever publish from another branch but only from the main one with only PR approved changes merged.

Rust Crates

PackageLinkVersion
Auction Housempl-auction-houseCrate
Auctioneermpl-auctioneerCrate
Bubblegummpl-bubblegumCrate
Candy Machine Corempl-candy-machine-coreCrate
Testing Utilsmpl-testing-utilsCrate
Utilsmpl-utilsCrate
Fixed Price Salempl-fixed-price-saleCrate
Gumdropmpl-gumdropCrate
Hydrampl-hydraCrate
NFT Packsmpl-nft-packsCrate
Token Entanglermpl-token-entanglerCrate
Token Metadatampl-token-metadataCrate

npm Packages

PackageLinkVersion
Auction Housempl-auction-houseNPM
Auctioneermpl-auctioneerNPM
Bubblegummpl-bubblegumNPM
Candy Machine Corempl-candy-machine-coreNPM
Candy Machinempl-candy-machineNPM
Fixed Price Salempl-fixed-price-saleNPM
Gumdropmpl-gumdropNPM
Hydrampl-hydraNPM
NFT Packsmpl-nft-packsNPM
Token Entanglermpl-token-entanglerNPM
Token Metadatampl-token-metadataNPM

Reporting security issues

To report a security issue, please follow the guidance on the SECURITY page.

License

The Rust/Cargo programs are licensed under the “Apache-style” Metaplex(TM) NFT Open Source License and the JS/TS client libraries are licensed under either the MIT or the Apache licenses.

Similar Projects

Discover other similar projects and AI models.

RepositoryRust
samuelvanderwaal/metaboss

The Metaplex NFT-standard Swiss Army Knife tool.

714
May 21, 2026
RepositoryRust
unionlabs/union

The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.

73.7k
Jul 25, 2026
RepositoryRust
farion1231/cc-switch

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

158.7k
Dec 2, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
RepositoryRust
solana-labs/solana

Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces.

15.0k
Jan 22, 2025
RepositoryRust
kevinheavey/solders

A high-performance Python toolkit for Solana, written in Rust

452
Oct 26, 2026
RepositorySolidity
AmazingAng/WTF-Solidity

WTF Solidity 极简入门教程,供小白们使用。Now supports English! 官网: https://wtf.academy

14.1k
Nov 25, 2026
RepositoryTypeScript
solana-foundation/create-solana-dapp

The fastest way to create Solana apps 🚀 Templates 👉 https://github.com/solana-foundation/templates

657
Nov 4, 2026
RepositoryTypeScript
metaplex-foundation/solita

Genrates an SDK API from solana contract IDL.

176
Oct 24, 2026