Listify newly created account properties

This commit is contained in:
Trent Nelson
2020-09-18 12:52:51 -06:00
committed by mergify[bot]
parent add08c673e
commit cee8db0da3

View File

@ -530,8 +530,8 @@ spl-token-cli 2.0.1
### Account Creation ### Account Creation
SPL Token accounts carry additional requirements that native System SPL Token accounts carry additional requirements that native System Program
Program accounts do not: accounts do not:
1. SPL Token accounts are not implicitly created, so must be created explicitly 1. SPL Token accounts are not implicitly created, so must be created explicitly
before an SPL Token balance can be deposited before an SPL Token balance can be deposited
@ -541,8 +541,10 @@ native SOL tokens be deposited at account creation. For SPL Token v2 accounts,
this amount is 0.00203928 SOL (2,039,280 lamports). this amount is 0.00203928 SOL (2,039,280 lamports).
#### Command Line #### Command Line
To create an SPL Token account, for the given mint at a random address and owned To create an SPL Token account with the following properties:
by the funding account's keypair 1. At a random address
1. Associated with the given mint
1. Owned by the funding account's keypair
``` ```
spl-token create-account <TOKEN_MINT_ADDRESS> spl-token create-account <TOKEN_MINT_ADDRESS>