mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-08 00:16:26 +00:00
minor errata
This commit is contained in:
parent
edf008962e
commit
78cc698a8c
@ -195,7 +195,7 @@ All the 3 transactions:
|
|||||||
|
|
||||||
## Exploring an Address
|
## Exploring an Address
|
||||||
|
|
||||||
How about getting a list of all the transactions of your address? Type the following and see what track your address:
|
How about getting a list of all the transactions of your address? Type the following and see all the transactions of your address:
|
||||||
|
|
||||||
```py
|
```py
|
||||||
track_address = "<your address>"
|
track_address = "<your address>"
|
||||||
@ -209,7 +209,7 @@ pprint(address_tx_list)
|
|||||||
|
|
||||||
## Exploring a UTXO
|
## Exploring a UTXO
|
||||||
|
|
||||||
To get details of a utxo, we first hed to get it's `hex` id, which we can then decode using `decoderawtransaction`.
|
To get details of a utxo, we first need to get it's `hex` id, which we can then decode using `decoderawtransaction`.
|
||||||
|
|
||||||
```py
|
```py
|
||||||
print("Exploring UTXOs")
|
print("Exploring UTXOs")
|
||||||
@ -235,7 +235,7 @@ print("---------------------------------------------------------------\n")
|
|||||||
|
|
||||||
## Sending Transactions
|
## Sending Transactions
|
||||||
|
|
||||||
Now that we have established comfort with our python interface with bitcoind, lets create a transaction. For the purposes of this course we will send test bitcoins to an address generated by us in our testnet wallet. Here's how we will do it:
|
Now that we have established comfort between our python and bitcoind interface, lets create and broadcast a transaction. For the purposes of this course we will send test bitcoins to an address generated by us in our testnet wallet. Here's how we will do it:
|
||||||
|
|
||||||
1. Create 2 addresses, one that will act as recipient and the other for change.
|
1. Create 2 addresses, one that will act as recipient and the other for change.
|
||||||
2. Select a UTXO and set transaction details.
|
2. Select a UTXO and set transaction details.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user