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

Commit 5022f8b

Browse files
JohnDoe389Haskell FTW
andauthored
Fix a variety of token.md doc inconsistencies; improve multi-sign nonce example (#1993)
* test improved markdown for spl-token * test improved markdown for spl-token * test improved markdown for spl-token * test improved markdown for spl-token * test improved markdown for spl-token * test improved markdown for spl-token * test improved markdown for spl-token * finalize formatting of console commands and improve nonce account example * finalize formatting of console commands and improve nonce account example Co-authored-by: Haskell FTW <[email protected]>
1 parent c05f445 commit 5022f8b

File tree

1 file changed

+80
-49
lines changed

1 file changed

+80
-49
lines changed

docs/src/token.md

Lines changed: 80 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ convention around wallet address to token account mapping and funding.
3838

3939
The `spl-token` command-line utility can be used to experiment with SPL
4040
tokens. Once you have [Rust installed](https://rustup.rs/), run:
41-
```sh
41+
```console
4242
$ cargo install spl-token-cli
4343
```
4444

@@ -50,11 +50,8 @@ The `spl-token` configuration is shared with the `solana` command-line tool.
5050

5151
#### Current Configuration
5252

53-
```
54-
solana config get
55-
```
56-
57-
```
53+
```console
54+
$ solana config get
5855
Config File: ${HOME}/.config/solana/cli/config.yml
5956
RPC URL: https://api.mainnet-beta.solana.com
6057
WebSocket URL: wss://api.mainnet-beta.solana.com/ (computed)
@@ -64,8 +61,8 @@ Keypair Path: ${HOME}/.config/solana/id.json
6461
#### Cluster RPC URL
6562

6663
See [Solana clusters](https://docs.solana.com/clusters) for cluster-specific RPC URLs
67-
```
68-
solana config set --url https://api.devnet.solana.com
64+
```console
65+
$ solana config set --url https://api.devnet.solana.com
6966
```
7067

7168
#### Default Keypair
@@ -74,27 +71,27 @@ See [Keypair conventions](https://docs.solana.com/cli/conventions#keypair-conven
7471
for information on how to setup a keypair if you don't already have one.
7572

7673
Keypair File
77-
```
78-
solana config set --keypair ${HOME}/new-keypair.json
74+
```console
75+
$ solana config set --keypair ${HOME}/new-keypair.json
7976
```
8077

8178
Hardware Wallet URL (See [URL spec](https://docs.solana.com/wallet-guide/hardware-wallets#specify-a-keypair-url))
82-
```
83-
solana config set --keypair usb://ledger/
79+
```console
80+
$ solana config set --keypair usb://ledger/
8481
```
8582

8683
#### Airdrop SOL
8784

8885
Creating tokens and accounts requires SOL for account rent deposits and
8986
transaction fees. If the cluster you are targeting offers a faucet, you can get
9087
a little SOL for testing:
91-
```
92-
solana airdrop 1
88+
```console
89+
$ solana airdrop 1
9390
```
9491

9592
### Example: Creating your own fungible token
9693

97-
```sh
94+
```console
9895
$ spl-token create-token
9996
Creating token AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM
10097
Signature: 47hsLFxWRCg8azaZZPSnQR8DNTRsGyPNfUK7jqyzgt7wf9eag3nSnewqoZrVZHKm8zt3B6gzxhr91gdQ5qYrsRG4
@@ -103,27 +100,27 @@ Signature: 47hsLFxWRCg8azaZZPSnQR8DNTRsGyPNfUK7jqyzgt7wf9eag3nSnewqoZrVZHKm8zt3B
103100
The unique identifier of the token is `AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM`.
104101

105102
Tokens when initially created by `spl-token` have no supply:
106-
```sh
107-
spl-token supply AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM
103+
```console
104+
$ spl-token supply AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM
108105
0
109106
```
110107

111108
Let's mint some. First create an account to hold a balance of the new
112109
`AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM` token:
113-
```sh
110+
```console
114111
$ spl-token create-account AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM
115112
Creating account 7UX2i7SucgLMQcfZ75s3VXmZZY4YRUyJN9X1RgfMoDUi
116113
Signature: 42Sa5eK9dMEQyvD9GMHuKxXf55WLZ7tfjabUKDhNoZRAxj9MsnN7omriWMEHXLea3aYpjZ862qocRLVikvkHkyfy
117114
```
118115

119116
`7UX2i7SucgLMQcfZ75s3VXmZZY4YRUyJN9X1RgfMoDUi` is now an empty account:
120-
```sh
117+
```console
121118
$ spl-token balance AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM
122119
0
123120
```
124121

125122
Mint 100 tokens into the account:
126-
```sh
123+
```console
127124
$ spl-token mint AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM 100
128125
Minting 100 tokens
129126
Token: AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM
@@ -132,16 +129,19 @@ Signature: 41mARH42fPkbYn1mvQ6hYLjmJtjW98NXwd6pHqEYg9p8RnuoUsMxVd16RkStDHEzcS2sf
132129
```
133130

134131
The token `supply` and account `balance` now reflect the result of minting:
135-
```sh
132+
```console
136133
$ spl-token supply AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM
137134
100
135+
```
136+
137+
```console
138138
$ spl-token balance AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM
139139
100
140140
```
141141

142142
### Example: View all Tokens that you own
143143

144-
```sh
144+
```console
145145
$ spl-token accounts
146146
Token Balance
147147
------------------------------------------------------------
@@ -153,14 +153,14 @@ AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM 1 (Aux-2*)
153153

154154
### Example: Wrapping SOL in a Token
155155

156-
```sh
156+
```console
157157
$ spl-token wrap 1
158158
Wrapping 1 SOL into GJTxcnA5Sydy8YRhqvHxbQ5QNsPyRKvzguodQEaShJje
159159
Signature: 4f4s5QVMKisLS6ihZcXXPbiBAzjnvkBcp2A7KKER7k9DwJ4qjbVsQBKv2rAyBumXC1gLn8EJQhwWkybE4yJGnw2Y
160160
```
161161

162162
To unwrap the Token back to SOL:
163-
```
163+
```console
164164
$ spl-token unwrap GJTxcnA5Sydy8YRhqvHxbQ5QNsPyRKvzguodQEaShJje
165165
Unwrapping GJTxcnA5Sydy8YRhqvHxbQ5QNsPyRKvzguodQEaShJje
166166
Amount: 1 SOL
@@ -174,7 +174,7 @@ token account for the Token type. Then the receiver obtains their wallet
174174
address by running `solana address` and provides it to the sender.
175175

176176
The sender then runs:
177-
```
177+
```console
178178
$ spl-token transfer AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM 50 vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg
179179
Transfer 50 tokens
180180
Sender: 7UX2i7SucgLMQcfZ75s3VXmZZY4YRUyJN9X1RgfMoDUi
@@ -192,7 +192,7 @@ The receiver obtains their wallet address by running `solana address` and provid
192192

193193
The sender then runs to fund the receiver's associated token account, at the
194194
sender's expense, and then transfers 50 tokens into it:
195-
```
195+
```console
196196
$ spl-token transfer --fund-recipient AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM 50 vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg
197197
Transfer 50 tokens
198198
Sender: 7UX2i7SucgLMQcfZ75s3VXmZZY4YRUyJN9X1RgfMoDUi
@@ -207,27 +207,30 @@ Signature: 5a3qbvoJQnTAxGPHCugibZTbSu7xuTgkxvF4EJupRjRXGgZZrnWFmKzfEzcqKF2ogCaF4
207207
Tokens may be transferred to a specific recipient token account. The recipient
208208
token account must already exist and be of the same Token type.
209209

210-
```
210+
```console
211211
$ spl-token create-account AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM /path/to/auxiliary_keypair.json
212212
Creating account CqAxDdBRnawzx9q4PYM3wrybLHBhDZ4P6BTV13WsRJYJ
213213
Signature: 4yPWj22mbyLu5mhfZ5WATNfYzTt5EQ7LGzryxM7Ufu7QCVjTE7czZdEBqdKR7vjKsfAqsBdjU58NJvXrTqCXvfWW
214214
```
215-
```
215+
216+
```console
216217
$ spl-token accounts AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM -v
217218
Account Token Balance
218219
--------------------------------------------------------------------------------------------------------
219220
7UX2i7SucgLMQcfZ75s3VXmZZY4YRUyJN9X1RgfMoDUi AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM 100
220221
CqAxDdBRnawzx9q4PYM3wrybLHBhDZ4P6BTV13WsRJYJ AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM 0 (Aux-1*)
221222
```
222-
```
223+
224+
```console
223225
$ spl-token transfer 7UX2i7SucgLMQcfZ75s3VXmZZY4YRUyJN9X1RgfMoDUi 50 CqAxDdBRnawzx9q4PYM3wrybLHBhDZ4P6BTV13WsRJYJ
224226
Transfer 50 tokens
225227
Sender: 7UX2i7SucgLMQcfZ75s3VXmZZY4YRUyJN9X1RgfMoDUi
226228
Recipient: CqAxDdBRnawzx9q4PYM3wrybLHBhDZ4P6BTV13WsRJYJ
227229

228230
Signature: 5a3qbvoJQnTAxGPHCugibZTbSu7xuTgkxvF4EJupRjRXGgZZrnWFmKzfEzcqKF2ogCaF4QKVbAtuFx7xGwrDUcGd
229231
```
230-
```
232+
233+
```console
231234
$ spl-token accounts AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe1TTJC9wajM -v
232235
Account Token Balance
233236
--------------------------------------------------------------------------------------------------------
@@ -238,21 +241,21 @@ CqAxDdBRnawzx9q4PYM3wrybLHBhDZ4P6BTV13WsRJYJ AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe
238241
### Example: Create a non-fungible token
239242

240243
Create the token type with nine decimal places,
241-
```
244+
```console
242245
$ spl-token create-token --decimals 9
243246
Creating token 559u4Tdr9umKwft3yHMsnAxohhzkFnUBPAFtibwuZD9z
244247
Signature: 4kz82JUey1B9ki1McPW7NYv1NqPKCod6WNptSkYqtuiEsQb9exHaktSAHJJsm4YxuGNW4NugPJMFX9ee6WA2dXts
245248
```
246249

247250
then create an account to hold tokens of this new type:
248-
```
251+
```console
249252
$ spl-token create-account 559u4Tdr9umKwft3yHMsnAxohhzkFnUBPAFtibwuZD9z
250253
Creating account 7KqpRwzkkeweW5jQoETyLzhvs9rcCj9dVQ1MnzudirsM
251254
Signature: sjChze6ecaRtvuQVZuwURyg6teYeiH8ZwT6UTuFNKjrdayQQ3KNdPB7d2DtUZ6McafBfEefejHkJ6MWQEfVHLtC
252255
```
253256

254257
Now mint only one token into the account,
255-
```
258+
```console
256259
$ spl-token mint 559u4Tdr9umKwft3yHMsnAxohhzkFnUBPAFtibwuZD9z 1 7KqpRwzkkeweW5jQoETyLzhvs9rcCj9dVQ1MnzudirsM
257260
Minting 1 tokens
258261
Token: 559u4Tdr9umKwft3yHMsnAxohhzkFnUBPAFtibwuZD9z
@@ -261,7 +264,7 @@ Signature: 2Kzg6ZArQRCRvcoKSiievYy3sfPqGV91Whnz6SeimhJQXKBTYQf3E54tWg3zPpYLbcDex
261264
```
262265

263266
and disable future minting:
264-
```
267+
```console
265268
$ spl-token authorize 559u4Tdr9umKwft3yHMsnAxohhzkFnUBPAFtibwuZD9z mint --disable
266269
Updating 559u4Tdr9umKwft3yHMsnAxohhzkFnUBPAFtibwuZD9z
267270
Current mint authority: vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg
@@ -272,7 +275,7 @@ Signature: 5QpykLzZsceoKcVRRFow9QCdae4Dp2zQAcjebyEWoezPFg2Np73gHKWQicHG1mqRdXu3y
272275
Now the `7KqpRwzkkeweW5jQoETyLzhvs9rcCj9dVQ1MnzudirsM` account holds the
273276
one and only `559u4Tdr9umKwft3yHMsnAxohhzkFnUBPAFtibwuZD9z` token:
274277

275-
```
278+
```console
276279
$ spl-token account-info 559u4Tdr9umKwft3yHMsnAxohhzkFnUBPAFtibwuZD9z
277280

278281
Address: 7KqpRwzkkeweW5jQoETyLzhvs9rcCj9dVQ1MnzudirsM
@@ -284,7 +287,7 @@ Delegation: (not set)
284287
Close authority: (not set)
285288
```
286289

287-
```
290+
```console
288291
$ spl-token supply 559u4Tdr9umKwft3yHMsnAxohhzkFnUBPAFtibwuZD9z
289292
1
290293
```
@@ -313,7 +316,7 @@ account.
313316
First create keypairs to act as the multisig signer-set. In reality, these can
314317
be any supported signer, like: a Ledger hardware wallet, a keypair file, or
315318
a paper wallet. For convenience, keypair files will be used in this example.
316-
```
319+
```console
317320
$ for i in $(seq 3); do solana-keygen new --no-passphrase -so "signer-${i}.json"; done
318321
Wrote new keypair to signer-1.json
319322
Wrote new keypair to signer-2.json
@@ -322,7 +325,7 @@ Wrote new keypair to signer-3.json
322325

323326
In order to create the multisig account, the public keys of the signer-set must
324327
be collected.
325-
```
328+
```console
326329
$ for i in $(seq 3); do SIGNER="signer-${i}.json"; echo "$SIGNER: $(solana-keygen pubkey "$SIGNER")"; done
327330
signer-1.json: BzWpkuRrwXHq4SSSFHa8FJf6DRQy4TaeoXnkA89vTgHZ
328331
signer-2.json: DhkUfKgfZ8CF6PAGKwdABRL1VqkeNrTSRx8LZfpPFVNY
@@ -342,13 +345,15 @@ NOTE: SPL Token Multisig accounts are limited to a signer-set of eleven signers
342345
```
343346
$ spl-token create-multisig 2 BzWpkuRrwXHq4SSSFHa8FJf6DRQy4TaeoXnkA89vTgHZ \
344347
DhkUfKgfZ8CF6PAGKwdABRL1VqkeNrTSRx8LZfpPFVNY D7ssXHrZJjfpZXsmDf8RwfPxe1BMMMmP1CtmX3WojPmG
348+
```
349+
```console
345350
Creating 2/3 multisig 46ed77fd4WTN144q62BwjU2B3ogX3Xmmc8PT5Z3Xc2re
346351
Signature: 2FN4KXnczAz33SAxwsuevqrD1BvikP6LUhLie5Lz4ETt594X8R7yvMZzZW2zjmFLPsLQNHsRuhQeumExHbnUGC9A
347352
```
348353

349354
Next create the token mint and receiving accounts
350355
[as previously described](#example-creating-your-own-fungible-token)
351-
```
356+
```console
352357
$ spl-token create-token
353358
Creating token 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o
354359
Signature: 3n6zmw3hS5Hyo5duuhnNvwjAbjzC42uzCA3TTsrgr9htUonzDUXdK1d8b8J77XoeSherqWQM8mD8E1TMYCpksS2r
@@ -359,7 +364,7 @@ Signature: 5mVes7wjE7avuFqzrmSCWneKBQyPAjasCLYZPNSkmqmk2YFosYWAP9hYSiZ7b7NKpV866
359364
```
360365

361366
Then set the mint account's minting authority to the multisig account
362-
```
367+
```console
363368
$ spl-token authorize 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o mint 46ed77fd4WTN144q62BwjU2B3ogX3Xmmc8PT5Z3Xc2re
364369
Updating 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o
365370
Current mint authority: 5hbZyJ3KRuFvdy5QBxvE9KwK17hzkAUkQHZTxPbiWffE
@@ -373,6 +378,8 @@ account, attempting to mint with one multisig signer fails
373378
$ spl-token mint 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o 1 EX8zyi2ZQUuoYtXd4MKmyHYLTjqFdWeuoTHcsTdJcKHC \
374379
--owner 46ed77fd4WTN144q62BwjU2B3ogX3Xmmc8PT5Z3Xc2re \
375380
--multisig-signer signer-1.json
381+
```
382+
```console
376383
Minting 1 tokens
377384
Token: 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o
378385
Recipient: EX8zyi2ZQUuoYtXd4MKmyHYLTjqFdWeuoTHcsTdJcKHC
@@ -381,28 +388,43 @@ RPC response error -32002: Transaction simulation failed: Error processing Instr
381388

382389
But repeating with a second multisig signer, succeeds
383390
```
384-
spl-token mint 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o 1 EX8zyi2ZQUuoYtXd4MKmyHYLTjqFdWeuoTHcsTdJcKHC \
391+
$ spl-token mint 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o 1 EX8zyi2ZQUuoYtXd4MKmyHYLTjqFdWeuoTHcsTdJcKHC \
385392
--owner 46ed77fd4WTN144q62BwjU2B3ogX3Xmmc8PT5Z3Xc2re \
386393
--multisig-signer signer-1.json \
387394
--multisig-signer signer-2.json
395+
```
396+
```console
388397
Minting 1 tokens
389398
Token: 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o
390399
Recipient: EX8zyi2ZQUuoYtXd4MKmyHYLTjqFdWeuoTHcsTdJcKHC
391400
Signature: 2ubqWqZb3ooDuc8FLaBkqZwzguhtMgQpgMAHhKsWcUzjy61qtJ7cZ1bfmYktKUfnbMYWTC1S8zdKgU6m4THsgspT
392401
```
393402

394-
### Example: Mint with multisig authority and offline signers
403+
### Example: Offline signing with multisig
395404

396-
This example builds off of the [online mint with multisig](#example-mint-with-multisig-authority)
397-
example. Be sure to familiarize yourself with that process, [offline signing](https://docs.solana.com/offline-signing),
398-
and the [durable nonce](https://docs.solana.com/offline-signing/durable-nonce)
399-
feature before continuing.
405+
Sometimes online signing is not possible or desireable. Such is the case for example when signers are not in the same geographic location
406+
or when they use air-gapped devices not connected to the network. In this case, we use offline signing which combines the
407+
previous examples of [multisig](#example-mint-with-multisig-authority) with [offline signing](https://docs.solana.com/offline-signing)
408+
and a [nonce account](https://docs.solana.com/offline-signing/durable-nonce).
400409

401410
This example will use the same mint account, token account, multisig account,
402-
and multisig signer-set keypair filenames as the online example.
411+
and multisig signer-set keypair filenames as the online example, as well as a nonce
412+
account that we create here:
413+
414+
```console
415+
$ solana-keygen new -o nonce-keypair.json
416+
...
417+
======================================================================
418+
pubkey: Fjyud2VXixk2vCs4DkBpfpsq48d81rbEzh6deKt7WvPj
419+
======================================================================
420+
```
403421

404-
A nonce account at `Fjyud2VXixk2vCs4DkBpfpsq48d81rbEzh6deKt7WvPj` will be used
422+
```console
423+
$ solana create-nonce-account nonce-keypair.json 1
424+
Signature: 3DALwrAAmCDxqeb4qXZ44WjpFcwVtgmJKhV4MW5qLJVtWeZ288j6Pzz1F4BmyPpnGLfx2P8MEJXmqPchX5y2Lf3r
405425
```
426+
427+
```console
406428
$ solana nonce-account Fjyud2VXixk2vCs4DkBpfpsq48d81rbEzh6deKt7WvPj
407429
Balance: 0.01 SOL
408430
Minimum Balance Required: 0.00144768 SOL
@@ -433,6 +455,9 @@ $ spl-token mint 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o 1 EX8zyi2ZQUuoYtXd
433455
--nonce-authority 5hbZyJ3KRuFvdy5QBxvE9KwK17hzkAUkQHZTxPbiWffE \
434456
--sign-only \
435457
--mint-decimals 9
458+
```
459+
460+
```console
436461
Minting 1 tokens
437462
Token: 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o
438463
Recipient: EX8zyi2ZQUuoYtXd4MKmyHYLTjqFdWeuoTHcsTdJcKHC
@@ -447,7 +472,7 @@ Absent Signers (Pubkey):
447472
Next each offline signer executes the template command, replacing each instance
448473
of their public key with the corresponding keypair.
449474
```
450-
spl-token mint 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o 1 EX8zyi2ZQUuoYtXd4MKmyHYLTjqFdWeuoTHcsTdJcKHC \
475+
$ spl-token mint 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o 1 EX8zyi2ZQUuoYtXd4MKmyHYLTjqFdWeuoTHcsTdJcKHC \
451476
--owner 46ed77fd4WTN144q62BwjU2B3ogX3Xmmc8PT5Z3Xc2re \
452477
--multisig-signer signer-1.json \
453478
--multisig-signer DhkUfKgfZ8CF6PAGKwdABRL1VqkeNrTSRx8LZfpPFVNY \
@@ -457,6 +482,8 @@ spl-token mint 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o 1 EX8zyi2ZQUuoYtXd4M
457482
--nonce-authority 5hbZyJ3KRuFvdy5QBxvE9KwK17hzkAUkQHZTxPbiWffE \
458483
--sign-only \
459484
--mint-decimals 9
485+
```
486+
```console
460487
Minting 1 tokens
461488
Token: 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o
462489
Recipient: EX8zyi2ZQUuoYtXd4MKmyHYLTjqFdWeuoTHcsTdJcKHC
@@ -480,6 +507,8 @@ $ spl-token mint 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o 1 EX8zyi2ZQUuoYtXd
480507
--nonce-authority 5hbZyJ3KRuFvdy5QBxvE9KwK17hzkAUkQHZTxPbiWffE \
481508
--sign-only \
482509
--mint-decimals 9
510+
```
511+
```console
483512
Minting 1 tokens
484513
Token: 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o
485514
Recipient: EX8zyi2ZQUuoYtXd4MKmyHYLTjqFdWeuoTHcsTdJcKHC
@@ -512,6 +541,8 @@ $ spl-token mint 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o 1 EX8zyi2ZQUuoYtXd
512541
--nonce-authority hot-wallet.json \
513542
--signer BzWpkuRrwXHq4SSSFHa8FJf6DRQy4TaeoXnkA89vTgHZ=2QVah9XtvPAuhDB2QwE7gNaY962DhrGP6uy9zeN4sTWvY2xDUUzce6zkQeuT3xg44wsgtUw2H5Rf8pEArPSzJvHX \
514543
--signer DhkUfKgfZ8CF6PAGKwdABRL1VqkeNrTSRx8LZfpPFVNY=2brZbTiCfyVYSCp6vZE3p7qCDeFf3z1JFmJHPBrz8SnWSDZPjbpjsW2kxFHkktTNkhES3y6UULqS4eaWztLW7FrU
544+
```
545+
```console
515546
Minting 1 tokens
516547
Token: 4VNVRJetwapjwYU8jf4qPgaCeD76wyz8DuNj8yMCQ62o
517548
Recipient: EX8zyi2ZQUuoYtXd4MKmyHYLTjqFdWeuoTHcsTdJcKHC

0 commit comments

Comments
 (0)