Преглед изворни кода

doc/testnet/payment: add screenshots and minor edit

darkfi пре 1 година
родитељ
комит
3e9363ee53

BIN
doc/src/testnet/img/all-balances.png


BIN
doc/src/testnet/img/broadcast-transfer.png


BIN
doc/src/testnet/img/drk-help-create.png


BIN
doc/src/testnet/img/spent-coins.png


BIN
doc/src/testnet/img/transfer.png


+ 9 - 2
doc/src/testnet/payment.md

@@ -1,14 +1,16 @@
 # Payments
 # Payments
 
 
 Using the tokens we minted, we can make payments to other addresses.
 Using the tokens we minted, we can make payments to other addresses.
-Let's try to send some `WCKD`
+Let's try to send some `MLDY`
 tokens to `8sRwB7AwBTKEkyTW6oMyRoJWZhJwtqGTf7nyHwuJ74pj`:
 tokens to `8sRwB7AwBTKEkyTW6oMyRoJWZhJwtqGTf7nyHwuJ74pj`:
 
 
 ```
 ```
-$ ./drk transfer 2.69 WCKD \
+$ ./drk transfer 2.69 MLDY \
     8sRwB7AwBTKEkyTW6oMyRoJWZhJwtqGTf7nyHwuJ74pj > payment_tx
     8sRwB7AwBTKEkyTW6oMyRoJWZhJwtqGTf7nyHwuJ74pj > payment_tx
 ```
 ```
 
 
+![transfer](img/transfer.png)
+
 The above command will create a transfer transaction and place it into
 The above command will create a transfer transaction and place it into
 the file called `payment_tx`. Then we can broadcast this transaction
 the file called `payment_tx`. Then we can broadcast this transaction
 to the network:
 to the network:
@@ -17,6 +19,8 @@ to the network:
 $ ./drk broadcast < payment_tx
 $ ./drk broadcast < payment_tx
 ```
 ```
 
 
+![transfer](img/broadcast-transfer.png)
+
 On success we'll see a transaction ID. Now again the same confirmation
 On success we'll see a transaction ID. Now again the same confirmation
 process has to occur and `8sRwB7AwBTKEkyTW6oMyRoJWZhJwtqGTf7nyHwuJ74pj`
 process has to occur and `8sRwB7AwBTKEkyTW6oMyRoJWZhJwtqGTf7nyHwuJ74pj`
 will receive the tokens you've sent.
 will receive the tokens you've sent.
@@ -28,6 +32,7 @@ We can see the spent coin in our wallet.
 ```
 ```
 $ ./drk wallet --coins
 $ ./drk wallet --coins
 ```
 ```
+![coins](img/spent-coins.png)
 
 
 We have to wait until the next block to see our change balance reappear
 We have to wait until the next block to see our change balance reappear
 in our wallet.
 in our wallet.
@@ -36,3 +41,5 @@ in our wallet.
 $ ./drk wallet --balance
 $ ./drk wallet --balance
 ```
 ```
 
 
+![all-balances](img/all-balances.png)
+