mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-08 08:26:17 +00:00
added named to example
This commit is contained in:
parent
7572179860
commit
be67dbb492
@ -22,7 +22,7 @@ You create a SegWit address the same way as any other address, with the `getnewa
|
|||||||
|
|
||||||
If you need to create an address for someone who can't send to the newer Bech32 addresses, then use the `p2sh-segwit` addresstype:
|
If you need to create an address for someone who can't send to the newer Bech32 addresses, then use the `p2sh-segwit` addresstype:
|
||||||
```
|
```
|
||||||
$ bitcoin-cli getnewaddress -addresstype p2sh-segwit
|
$ bitcoin-cli -named getnewaddress address_type=p2sh-segwit
|
||||||
2N5h2r4karVqN7uFtpcn8xnA3t5cbpszgyN
|
2N5h2r4karVqN7uFtpcn8xnA3t5cbpszgyN
|
||||||
```
|
```
|
||||||
Seeing an address with a "2" prefix means that you did it right.
|
Seeing an address with a "2" prefix means that you did it right.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user