Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/examples/core/create-asset/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const cliSections = {
"setup": "",
"main": "",
"output": "",
"full": "# Create an NFT using the Metaplex CLI\n\n# Interactive wizard mode (recommended)\nmplx core asset create --wizard\n\n# Simple creation with name and URI\nmplx core asset create --name \"My NFT\" --uri \"https://example.com/metadata.json\"\n\n# Create with files (image + metadata)\nmplx core asset create --files --image \"./my-nft.png\" --json \"./metadata.json\"\n"
"full": "# Create an NFT using the Metaplex CLI\n\n# Interactive wizard mode (recommended)\nmplx core asset create --wizard\n\n# Simple creation with name and URI\nmplx core asset create --name \"My NFT\" --uri \"https://example.com/metadata.json\"\n\n# Create with files (image + metadata)\nmplx core asset create --files --image \"./my-nft.png\" --offchain \"./metadata.json\"\n\n# Create with a vanity asset address\nmplx core asset create \\\n --name \"My NFT\" \\\n --uri \"https://example.com/metadata.json\" \\\n --mint-keypair ./vanity-asset.json\n"
}

export const metadata = {
Expand Down
2 changes: 1 addition & 1 deletion src/examples/token-metadata/fungibles/create/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 18 additions & 1 deletion src/pages/en/dev-tools/cli/bubblegum/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,24 @@ Compressed NFTs are stored in Merkle trees rather than individual on-chain accou
- Proof size required for operations

### Collections
Bubblegum V2 uses [Metaplex Core collections](/smart-contracts/core/collections) (not Token Metadata collections). Create a Core collection first:
Bubblegum V2 uses [Metaplex Core collections](/smart-contracts/core/collections). Create a Core collection with the Bubblegum V2 plugin:

```bash
mplx bg collection create \
--name "My Compressed Collection" \
--uri "https://example.com/collection.json"
```

You can also use a vanity collection address with `--mint-keypair`:

```bash
mplx bg collection create \
--name "My Compressed Collection" \
--uri "https://example.com/collection.json" \
--mint-keypair ./vanity-collection.json
```

Or create a Core collection manually and add plugins separately:

```bash
mplx core collection create --wizard
Expand Down
11 changes: 11 additions & 0 deletions src/pages/en/dev-tools/cli/core/create-asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ mplx core asset create --wizard
- `--plugins`: Use interactive plugin selection
- `--pluginsFile <path>`: Path to a JSON file with plugin data

### Vanity Addresses
- `--mint-keypair <path>`: Path to a keypair JSON file to use as the asset address instead of generating a random one. See [Grind a vanity public key](/solana/grind-vanity-public-key).

## Examples

1. Create an asset using the interactive wizard:
Expand Down Expand Up @@ -74,6 +77,14 @@ mplx core asset create --name "My NFT" --uri "https://example.com/metadata.json"
mplx core asset create --files --image "./my-nft.png" --offchain "./metadata.json" --collection "collection_id_here"
```

6. Create an asset with a vanity address:
```bash
mplx core asset create \
--name "My NFT" \
--uri "https://example.com/metadata.json" \
--mint-keypair ./vanity-asset.json
```

## JSON Output

Pass `--json` to get structured machine-readable output instead of formatted text:
Expand Down
11 changes: 11 additions & 0 deletions src/pages/en/dev-tools/cli/core/create-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ mplx core collection create --wizard
- `--plugins`: Use interactive plugin selection
- `--pluginsFile <path>`: Path to a JSON file with plugin data

### Vanity Addresses
- `--mint-keypair <path>`: Path to a keypair JSON file to use as the collection address instead of generating a random one. See [Grind a vanity public key](/solana/grind-vanity-public-key).

## Examples

1. Create a collection using the interactive wizard:
Expand All @@ -63,6 +66,14 @@ mplx core collection create --name "My Collection" --uri "https://example.com/me
mplx core collection create --files --image "./my-collection.png" --offchain "./metadata.json"
```

4. Create a collection with a vanity address:
```bash
mplx core collection create \
--name "My Collection" \
--uri "https://example.com/metadata.json" \
--mint-keypair ./vanity-collection.json
```

## JSON Output

Pass `--json` to get structured machine-readable output instead of formatted text:
Expand Down
10 changes: 10 additions & 0 deletions src/pages/en/dev-tools/cli/toolbox/token-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ mplx toolbox token create --name "My Token" --symbol "TOKEN" --mint-amount 10000
- `--description <string>`: Description of the token and its purpose
- `--image <path>`: Path to the token image file (PNG, JPG, or GIF)
- `--speed-run`: Enable speed run mode to measure execution time
- `--mint-keypair <path>`: Path to a keypair JSON file to use as the token mint address (vanity key). See [Grind a vanity public key](/solana/grind-vanity-public-key).

## Examples

Expand All @@ -49,6 +50,15 @@ mplx toolbox token create \
--mint-amount 1000000
```

### Create Token with a Vanity Mint Address
```bash
mplx toolbox token create \
--name "Cool Token" \
--symbol "COOL" \
--mint-amount 1000000 \
--mint-keypair ./vanity-mint.json
```

### Create Token Using Wizard
```bash
mplx toolbox token create --wizard
Expand Down
51 changes: 39 additions & 12 deletions src/pages/en/solana/grind-vanity-public-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,27 +209,54 @@ solana balance

## Using Vanity Addresses with Metaplex

### Token Creation
After grinding a keypair, pass it to mint and create commands with `--mint-keypair`. Your configured wallet (`--keypair` or `mplx config wallets set`) still pays transaction fees and acts as the update authority. The vanity keypair only determines the mint or asset address.

### Fungible Token

```bash
# Create a token with a vanity mint address
# First, grind the keypair
solana-keygen grind --starts-with COOL:1
solana-keygen grind --starts-with COOL:1 --output-directory ./vanity-keys/

# Use with MPLX CLI (specify as mint keypair)
mplx toolbox token-create --name "Cool Token" --symbol "COOL"
mplx toolbox token create \
--name "Cool Token" \
--symbol "COOL" \
--mint-amount 1000000 \
--mint-keypair ./vanity-keys/COOL....json
```

### NFT Collection
### Core Asset

```bash
mplx core asset create \
--name "My NFT" \
--uri "https://example.com/metadata.json" \
--mint-keypair ./vanity-asset.json
```

When creating collections with the MPLX CLI, you can use a vanity address for your collection:
### Core Collection

```bash
# Grind collection address
solana-keygen grind --starts-with ART:1
mplx core collection create \
--name "My Collection" \
--uri "https://example.com/collection.json" \
--mint-keypair ./vanity-collection.json
```

### Token Metadata NFT

# Use in collection creation
mplx core create-collection --keypair ./ARTxyz....json
```bash
mplx tm create \
--name "My NFT" \
--uri "https://example.com/metadata.json" \
--mint-keypair ./vanity-mint.json
```

### Bubblegum Collection

```bash
mplx bg collection create \
--name "My Compressed Collection" \
--uri "https://example.com/collection.json" \
--mint-keypair ./vanity-collection.json
```

## Next Steps
Expand Down
11 changes: 11 additions & 0 deletions src/pages/ja/dev-tools/cli/core/create-asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ mplx core asset create --wizard
- `--plugins`: インタラクティブなプラグイン選択を使用
- `--pluginsFile <path>`: プラグインデータを含むJSONファイルへのパス

### バニティアドレス
- `--mint-keypair <path>`: ランダム生成の代わりにアセットアドレスとして使用するキーペアJSONファイルのパス。[バニティ公開鍵の生成](/ja/solana/grind-vanity-public-key)を参照。

## 例

1. インタラクティブウィザードを使用してアセットを作成:
Expand Down Expand Up @@ -72,6 +75,14 @@ mplx core asset create --name "My NFT" --uri "https://example.com/metadata.json"
mplx core asset create --files --image "./my-nft.png" --offchain "./metadata.json" --collection "collection_id_here"
```

6. バニティアドレスでアセットを作成:
```bash
mplx core asset create \
--name "My NFT" \
--uri "https://example.com/metadata.json" \
--mint-keypair ./vanity-asset.json
```

## 出力

コマンドは作成が成功すると以下の情報を出力します:
Expand Down
11 changes: 11 additions & 0 deletions src/pages/ja/dev-tools/cli/core/create-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ mplx core collection create --wizard
- `--plugins`: インタラクティブなプラグイン選択を使用
- `--pluginsFile <path>`: プラグインデータを含むJSONファイルへのパス

### バニティアドレス
- `--mint-keypair <path>`: ランダム生成の代わりにコレクションアドレスとして使用するキーペアJSONファイルのパス。[バニティ公開鍵の生成](/ja/solana/grind-vanity-public-key)を参照。

## 例

1. インタラクティブウィザードを使用してコレクションを作成:
Expand All @@ -61,6 +64,14 @@ mplx core collection create --name "My Collection" --uri "https://example.com/me
mplx core collection create --files --image "./my-collection.png" --offchain "./metadata.json"
```

4. バニティアドレスでコレクションを作成:
```bash
mplx core collection create \
--name "My Collection" \
--uri "https://example.com/metadata.json" \
--mint-keypair ./vanity-collection.json
```

## 出力

コマンドは作成が成功すると以下の情報を出力します:
Expand Down
10 changes: 10 additions & 0 deletions src/pages/ja/dev-tools/cli/toolbox/token-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ mplx toolbox token create --name "My Token" --symbol "TOKEN" --mint-amount 10000
- `--description <string>`: トークンとその目的の説明
- `--image <path>`: トークン画像ファイルへのパス(PNG、JPG、またはGIF)
- `--speed-run`: 実行時間を測定するスピードランモードを有効化
- `--mint-keypair <path>`: トークンミントアドレスとして使用するキーペアJSONファイルのパス(バニティキー)。[バニティ公開鍵の生成](/ja/solana/grind-vanity-public-key)を参照。

## 例

Expand All @@ -49,6 +50,15 @@ mplx toolbox token create \
--mint-amount 1000000
```

### バニティミントアドレスでトークンを作成
```bash
mplx toolbox token create \
--name "Cool Token" \
--symbol "COOL" \
--mint-amount 1000000 \
--mint-keypair ./vanity-mint.json
```

### ウィザードを使用してトークンを作成
```bash
mplx toolbox token create --wizard
Expand Down
51 changes: 39 additions & 12 deletions src/pages/ja/solana/grind-vanity-public-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,27 +209,54 @@ solana balance

## Using Vanity Addresses with Metaplex

### Token Creation
After grinding a keypair, pass it to mint and create commands with `--mint-keypair`. Your configured wallet (`--keypair` or `mplx config wallets set`) still pays transaction fees and acts as the update authority. The vanity keypair only determines the mint or asset address.

### Fungible Token

```bash
# Create a token with a vanity mint address
# First, grind the keypair
solana-keygen grind --starts-with COOL:1
solana-keygen grind --starts-with COOL:1 --output-directory ./vanity-keys/

# Use with MPLX CLI (specify as mint keypair)
mplx toolbox token-create --name "Cool Token" --symbol "COOL"
mplx toolbox token create \
--name "Cool Token" \
--symbol "COOL" \
--mint-amount 1000000 \
--mint-keypair ./vanity-keys/COOL....json
```

### NFT Collection
### Core Asset

```bash
mplx core asset create \
--name "My NFT" \
--uri "https://example.com/metadata.json" \
--mint-keypair ./vanity-asset.json
```

When creating collections with the MPLX CLI, you can use a vanity address for your collection:
### Core Collection

```bash
# Grind collection address
solana-keygen grind --starts-with ART:1
mplx core collection create \
--name "My Collection" \
--uri "https://example.com/collection.json" \
--mint-keypair ./vanity-collection.json
```

### Token Metadata NFT

# Use in collection creation
mplx core create-collection --keypair ./ARTxyz....json
```bash
mplx tm create \
--name "My NFT" \
--uri "https://example.com/metadata.json" \
--mint-keypair ./vanity-mint.json
```

### Bubblegum Collection

```bash
mplx bg collection create \
--name "My Compressed Collection" \
--uri "https://example.com/collection.json" \
--mint-keypair ./vanity-collection.json
```

## Next Steps
Expand Down
11 changes: 11 additions & 0 deletions src/pages/ko/dev-tools/cli/core/create-asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ mplx core asset create --wizard
- `--plugins`: 대화형 플러그인 선택 사용
- `--pluginsFile <path>`: 플러그인 데이터가 포함된 JSON 파일 경로

### 바니티 주소
- `--mint-keypair <path>`: 무작위 생성 대신 자산 주소로 사용할 키페어 JSON 파일 경로. [바니티 공개키 생성](/ko/solana/grind-vanity-public-key) 참조.

## 예시

1. 대화형 마법사를 사용하여 자산 생성:
Expand Down Expand Up @@ -72,6 +75,14 @@ mplx core asset create --name "My NFT" --uri "https://example.com/metadata.json"
mplx core asset create --files --image "./my-nft.png" --offchain "./metadata.json" --collection "collection_id_here"
```

6. 바니티 주소로 자산 생성:
```bash
mplx core asset create \
--name "My NFT" \
--uri "https://example.com/metadata.json" \
--mint-keypair ./vanity-asset.json
```

## 출력

명령어는 성공적으로 생성되면 다음 정보를 출력합니다:
Expand Down
11 changes: 11 additions & 0 deletions src/pages/ko/dev-tools/cli/core/create-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ mplx core collection create --wizard
- `--plugins`: 대화형 플러그인 선택 사용
- `--pluginsFile <path>`: 플러그인 데이터가 포함된 JSON 파일 경로

### 바니티 주소
- `--mint-keypair <path>`: 무작위 생성 대신 컬렉션 주소로 사용할 키페어 JSON 파일 경로. [바니티 공개키 생성](/ko/solana/grind-vanity-public-key) 참조.

## 예시

1. 대화형 마법사를 사용하여 컬렉션 생성:
Expand All @@ -61,6 +64,14 @@ mplx core collection create --name "My Collection" --uri "https://example.com/me
mplx core collection create --files --image "./my-collection.png" --offchain "./metadata.json"
```

4. 바니티 주소로 컬렉션 생성:
```bash
mplx core collection create \
--name "My Collection" \
--uri "https://example.com/metadata.json" \
--mint-keypair ./vanity-collection.json
```

## 출력

명령어는 성공적으로 생성되면 다음 정보를 출력합니다:
Expand Down
10 changes: 10 additions & 0 deletions src/pages/ko/dev-tools/cli/toolbox/token-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ mplx toolbox token create --name "My Token" --symbol "TOKEN" --mint-amount 10000
- `--description <string>`: 토큰과 그 목적에 대한 설명
- `--image <path>`: 토큰 이미지 파일 경로 (PNG, JPG 또는 GIF)
- `--speed-run`: 실행 시간을 측정하기 위한 스피드런 모드 활성화
- `--mint-keypair <path>`: 토큰 민트 주소로 사용할 키페어 JSON 파일 경로(바니티 키). [바니티 공개키 생성](/ko/solana/grind-vanity-public-key) 참조.

## 예시

Expand All @@ -49,6 +50,15 @@ mplx toolbox token create \
--mint-amount 1000000
```

### 바니티 민트 주소로 토큰 생성
```bash
mplx toolbox token create \
--name "Cool Token" \
--symbol "COOL" \
--mint-amount 1000000 \
--mint-keypair ./vanity-mint.json
```

### 마법사를 사용하여 토큰 생성
```bash
mplx toolbox token create --wizard
Expand Down
Loading