transfer now requires --allow-unfunded-recipient if the recipient doesn't exist
This commit is contained in:
committed by
mergify[bot]
parent
d76ad33597
commit
3dff5c9dee
@@ -388,7 +388,7 @@ will wait and track progress on stderr until the transaction has been finalized
|
||||
by the cluster. If the transaction fails, it will report any transaction errors.
|
||||
|
||||
```bash
|
||||
solana transfer <USER_ADDRESS> <AMOUNT> --keypair <KEYPAIR> --url http://localhost:8899
|
||||
solana transfer <USER_ADDRESS> <AMOUNT> --allow-unfunded-recipient --keypair <KEYPAIR> --url http://localhost:8899
|
||||
```
|
||||
|
||||
The [Solana Javascript SDK](https://github.com/solana-labs/solana-web3.js)
|
||||
@@ -420,7 +420,7 @@ In the command-line tool, pass the `--no-wait` argument to send a transfer
|
||||
asynchronously, and include your recent blockhash with the `--blockhash` argument:
|
||||
|
||||
```bash
|
||||
solana transfer <USER_ADDRESS> <AMOUNT> --no-wait --blockhash <RECENT_BLOCKHASH> --keypair <KEYPAIR> --url http://localhost:8899
|
||||
solana transfer <USER_ADDRESS> <AMOUNT> --no-wait --allow-unfunded-recipient --blockhash <RECENT_BLOCKHASH> --keypair <KEYPAIR> --url http://localhost:8899
|
||||
```
|
||||
|
||||
You can also build, sign, and serialize the transaction manually, and fire it off to
|
||||
|
Reference in New Issue
Block a user