Code Monkey home page Code Monkey logo

mpl-token-metadata's Introduction

Metaplex Token Metadata

Program to attach additional data to Fungible or Non-Fungible tokens on Solana. It achieves this using Program Derived Addresses (PDAs) that are derived from the address of Mint accounts.

Metaplex Token Metadata

Getting Started

The packages below can be use to interact with Token Metadata program.

TypeScript

npm install @metaplex-foundation/mpl-token-metadata@alpha

See typedoc documentation.

Rust

cargo add mpl-token-metadata

See crate documentation.

Building

From the root directory of the repository:

  • Install the required packges:
pnpm install
  • Build the program:
pnpm programs:build

This will create the program binary at <ROOT>/programs/.bin

Testing

Token Metadata includes two set of tests: BPF and TypeScript.

BPF

From the root directory of the repository:

pnpm programs:test

TypeScript

From the root directory of the repository:

pnpm validator

This will start a local validator using Amman.

After starting the validator, go to the folder <ROOT>/clients/js and run:

pnpm install

This will install the required packages for the tests. Then, run:

pnpm build && pnpm test

Documentation

Full documentation for Token Metadata can be found here.

Security

To report a security issue, please follow the guidance on our bug bounty program 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.

mpl-token-metadata's People

Contributors

lorisleiva avatar samuelvanderwaal avatar febo avatar austbot avatar thlorenz avatar danenbm avatar blockiosaurus avatar stegabob avatar roederw avatar dependabot[bot] avatar stranzhay avatar svc01-metaplex avatar joncinque avatar omertxyz avatar nhanphan avatar fersilva16 avatar enriquefynn avatar billythedummy avatar eltociear avatar jim4067 avatar kespinola avatar marksackerberg avatar chewingglass avatar altar12 avatar katopz avatar fletchertyler914 avatar tiamo avatar omahs avatar sushi-shi 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.