Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

metaplex-foundation/mplex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mplex

Command line interface to the Metaplex SDK.

Amman Integration

When running against the local cluster you can enable amman integration in order to diagnose transaction in the amman-explorer.

Simply run export MPLEX_AMMAN=1 in the same terminal from which you run the mplex command.

TODO: we may provide an alternative command here, i.e. mplexa or similar which will have this environment variable set.

Examples

Preparation

In order to get the same output that is shown in the below examples please export the DEBUG variable in the same terminal that you run the below commands in via:

export DEBUG=mplex:(info|error)

In Windows Powershell please run the below instead:

$env:DEBUG = 'mplex:(info|error)'

Airdrop

❯ mplex airdrop A15Y2eoMNGeX4516TYTaaMErwabCrf9AB9mrzFohdQJz 10
  mplex:info Dropping 10SOL to A15Y2eoMNG... on devnet (https://api.devnet.solana.com) +0ms

(defaults to drop to devnet)

Specify local Cluster via Flag

(requires amman to be running in another terminal)

❯ mplex airdrop A15Y2eoMNGeX4516TYTaaMErwabCrf9AB9mrzFohdQJz 10 --cluster=local
  mplex:info Dropping 10SOL to A15Y2eoMNG... on local (http://127.0.0.1:8899) +0ms

Exporting MPLEX_CLUSTER in Current Terminal

export MPLEX_CLUSTER=local
❯ mplex airdrop A15Y2eoMNGeX4516TYTaaMErwabCrf9AB9mrzFohdQJz 10
  mplex:info Dropping 10SOL to A15Y2eoMNG... on local (http://127.0.0.1:8899) +0ms

About

Metaplex CLI to interact with the Metaplex SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published