Getting Started using JavaScript
Metaplex provides a JavaScript library that can be used to interact with Metaplex Inscriptions.
Thanks to the Umi framework, it ships without many opinionated dependencies and, thus, provides a lightweight library that can be used in any JavaScript project.
To get started, you'll need to install the Umi framework and the Inscriptions JavaScript library.
Next, you may create your Umi
instance and install the mplInscription
plugin like so.
Then you want to tell Umi which wallet to use. This can either be a keypair or the solana wallet adapter.
That's it, you can now interact with Inscriptions by using the various functions provided by the library and passing your Umi
instance to them. Here's an example of how to mint a simple inscription with a small JSON file attached, fetching the data of the inscription and printing the inscription Rank.
Last updated