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

Commit 8734338

Browse files
HaoCherHongmvines
authored andcommitted
spl-token docs: Create NFT token with 0 decimal place
Close #2040
1 parent e1da594 commit 8734338

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/token.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ CqAxDdBRnawzx9q4PYM3wrybLHBhDZ4P6BTV13WsRJYJ AQoKYV7tYpTrFZN6P5oUufbQKAUr9mNYGe
240240

241241
### Example: Create a non-fungible token
242242

243-
Create the token type with nine decimal places,
243+
Create the token type with zero decimal place,
244244
```console
245-
$ spl-token create-token --decimals 9
245+
$ spl-token create-token --decimals 0
246246
Creating token 559u4Tdr9umKwft3yHMsnAxohhzkFnUBPAFtibwuZD9z
247247
Signature: 4kz82JUey1B9ki1McPW7NYv1NqPKCod6WNptSkYqtuiEsQb9exHaktSAHJJsm4YxuGNW4NugPJMFX9ee6WA2dXts
248248
```

0 commit comments

Comments
 (0)