@miraplex/miraplex-token-metadata
TypeScript icon, indicating that this package has built-in type declarations

2.7.1 • Public • Published

mpl-token-metadata

This package contains the token vault contract SDK code.

API Docs

Find the token-metadata API docs published here.

Installation

npm install @miraplex/miraplex-token-metadata --save

This will use the new auto-generated API. If you want to use the old deprecated API, you can use the following:

npm install @miraplex/miraplex-token-metadata@^1.2 --save

Alternatively, if you'd like to start using the new API but still have access to the deprecated one, you may use the following:

npm install @miraplex/miraplex-token-metadata@~2.0 --save

And use the deprecated API explicitly like so:

import { deprecated } from "@miraplex/miraplex-token-metadata";

Developing

In order to update the generated SDK when the rust contract was updated please run:

yarn api:gen

and then update the wrapper code and tests.

LICENSE

Apache v2.0

Package Sidebar

Install

npm i @miraplex/miraplex-token-metadata

Homepage

metaplex.com

Weekly Downloads

13

Version

2.7.1

License

MIT

Unpacked Size

805 kB

Total Files

387

Last publish

Collaborators

  • miraland