Skip to content

Commit

Permalink
[doc] fix first transaction doc bug. (#2407)
Browse files Browse the repository at this point in the history
  • Loading branch information
jolestar authored Apr 12, 2021
1 parent 921d3d0 commit 452762d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions developer.starcoin.org/content/cli/first_transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ After connecting to the node, let's first create two accounts. Here we assume th
Let's do it!.

``` bash
starcoin% dev get_coin -v 5000000
starcoin% dev get_coin -v 100000000000
+-----------------+------------------------------------------------------------------+
| gas_unit_price | 1 |
+-----------------+------------------------------------------------------------------+
Expand Down Expand Up @@ -59,7 +59,7 @@ starcoin% account show 1d8133a0c1a07366de459fb08d28d2a6
+--------------------+------------------------------------------------------------------+
| auth_key_prefix | 7bc6066656bb248755686d2ab78aef14 |
+--------------------+------------------------------------------------------------------+
| balances.STC | 5000000 |
| balances.STC | 100000000000 |
+--------------------+------------------------------------------------------------------+
| sequence_number | 0 |
+--------------------+------------------------------------------------------------------+
Expand Down
6 changes: 3 additions & 3 deletions developer.starcoin.org/content/cli/first_transaction.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ weight: 3
下面我们就通过 console 给 Alice 充钱。

``` bash
starcoin% dev get_coin -v 5000000
starcoin% dev get_coin -v 100000000000
+-----------------+------------------------------------------------------------------+
| gas_unit_price | 1 |
+-----------------+------------------------------------------------------------------+
Expand Down Expand Up @@ -63,7 +63,7 @@ starcoin% account show 0x1d8133a0c1a07366de459fb08d28d2a6
+--------------------+------------------------------------------------------------------+
| auth_key_prefix | 0x7bc6066656bb248755686d2ab78aef14 |
+--------------------+------------------------------------------------------------------+
| balances.STC | 5000000 |
| balances.STC | 100000000000 |
+--------------------+------------------------------------------------------------------+
| sequence_number | 0 |
+--------------------+------------------------------------------------------------------+
Expand All @@ -84,7 +84,7 @@ account unlock -p my-pass 1d8133a0c1a07366de459fb08d28d2a6
账户解锁后,执行以下命令:

```bash
starcoin% account transfer -f 0x1d8133a0c1a07366de459fb08d28d2a6 -t 0xbfbed907d7ba364e1445b971f9182949 -k 0x7add08c841d0f99f1f90ea2632c72aee483fab882e0d8d6d6defed2f1987345d -v 10000
starcoin% account transfer -s 0x1d8133a0c1a07366de459fb08d28d2a6 -r 0xbfbed907d7ba364e1445b971f9182949 -k 0x7add08c841d0f99f1f90ea2632c72aee483fab882e0d8d6d6defed2f1987345d -v 10000
+-----------------+------------------------------------------------------------------+
| gas_unit_price | 1 |
+-----------------+------------------------------------------------------------------+
Expand Down

0 comments on commit 452762d

Please sign in to comment.