internet-court/internet-court-skill / vendored/metaplex/metaplex
metaplex
VerifiedMetaplex development on Solana — NFTs, tokens, compressed NFTs, candy machines, token launches, autonomous agents. Use when working with Token Metadata, Core, Bubblegum, Candy Machine, Genesis, Agent Registry, or the mplx CLI.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 1.6 KB |
| SKILL.md | skill md | 9.7 KB |
| references/cli-agent.md | markdown | 8.8 KB |
| references/cli-bubblegum.md | markdown | 5.8 KB |
| references/cli-candy-machine.md | markdown | 10.2 KB |
| references/cli-config.md | markdown | 1.5 KB |
| references/cli-core.md | markdown | 8.9 KB |
| references/cli-genesis.md | markdown | 24.6 KB |
| references/cli-initial-setup.md | markdown | 2.7 KB |
| references/cli-token-metadata.md | markdown | 3.3 KB |
| references/cli-toolbox.md | markdown | 4.3 KB |
| references/cli-troubleshooting.md | markdown | 2.2 KB |
| references/cli.md | markdown | 5.4 KB |
| references/concepts.md | markdown | 12.0 KB |
| references/metadata-json.md | markdown | 1.8 KB |
| references/sdk-agent.md | markdown | 21.7 KB |
| references/sdk-bubblegum.md | markdown | 11.3 KB |
| references/sdk-core.md | markdown | 20.5 KB |
| references/sdk-genesis-low-level.md | markdown | 21.7 KB |
| references/sdk-genesis.md | markdown | 24.4 KB |
| references/sdk-token-metadata-kit.md | markdown | 8.4 KB |
| references/sdk-token-metadata.md | markdown | 13.7 KB |
| references/sdk-umi.md | markdown | 6.1 KB |
references/cli-token-metadata.md
View on GitHub# Token Metadata CLI Reference
Commands for creating and managing Token Metadata NFTs and pNFTs via the `mplx` CLI.
> **Prerequisites**: CLI must be configured (RPC, keypair, funded wallet). If not yet verified this session, see `./cli-initial-setup.md`.
---
## pNFT vs NFT
| Type | Flag | Royalties | Use Case |
|------|------|-----------|----------|
| **pNFT** (default) | _(none)_ | Enforced at protocol level | Recommended for most NFTs |
| **NFT** | `--type nft` | Advisory only | Legacy compatibility, simpler transfers |
## Commands
```bash
# Create
mplx tm create --wizard # Interactive (recommended)
mplx tm create --name <NAME> --uri <URI> # pNFT (default)
mplx tm create --name <NAME> --uri <URI> --type nft # Regular NFT
mplx tm create --name <NAME> --uri <URI> --collection <ADDR> # In collection
mplx tm create --name <NAME> --royalties <PERCENT> # With royalties (see note below)
mplx tm create --image <PATH> --offchain <PATH> # From local files (uploads automatically)
# Transfer
mplx tm transfer <MINT> <DESTINATION>
# Update
mplx tm update <MINT> --name <NAME>
mplx tm update <MINT> --uri <URI>
mplx tm update <MINT> --symbol <SYMBOL>
mplx tm update <MINT> --description <DESCRIPTION>
mplx tm update <MINT> --image <PATH> # Re-uploads image
```
**Notes:**
- `--uri` and `--royalties` are **mutually exclusive**. `--royalties` triggers a metadata building + upload flow (prompts for image, description, etc.) which conflicts with providing a pre-made URI. Use one or the other.
- `--royalties` takes a **whole number percentage** (0-100). Example: `--royalties 5` = 5% royalties (500 basis points).
- Default type is pNFT. Use `--type nft` for a regular (non-programmable) NFT.
---
## TM Collection Workflow
TM has no separate collection command. Create a collection NFT, then reference it:
```bash
# 1. Create collection NFT
mplx tm create --name "My Collection" --uri "<COLLECTION_URI>"
# Note the MINT address returned
# 2. Create NFTs in collection
mplx tm create --name "NFT #1" --uri "<URI_1>" --collection <COLLECTION_MINT> && \
mplx tm create --name "NFT #2" --uri "<URI_2>" --collection <COLLECTION_MINT>
```
> **Collection verification**: Unlike Core (which auto-verifies), TM collection items start **unverified**. The CLI handles verification automatically during `mplx tm create --collection`, but if you're building with the SDK you must call `verifyCollectionV1` separately (see `./sdk-token-metadata.md`).
## For more info
Consult these Metaplex docs when you need deeper detail than this reference provides:
- Token Metadata overview: https://metaplex.com/docs/smart-contracts/token-metadata
- Mint: https://metaplex.com/docs/smart-contracts/token-metadata/mint
- Transfer: https://metaplex.com/docs/smart-contracts/token-metadata/transfer
- Update: https://metaplex.com/docs/smart-contracts/token-metadata/update
- pNFTs: https://metaplex.com/docs/smart-contracts/token-metadata/pnfts
- Collections: https://metaplex.com/docs/smart-contracts/token-metadata/collections
- Create an NFT: https://metaplex.com/docs/nfts/create-nft
- Transfer an NFT: https://metaplex.com/docs/nfts/transfer-nft
- Update an NFT: https://metaplex.com/docs/nfts/update-nft
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |