Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Boilerplate will deploy your contract when the node starts. You can call the Boi

```bash
aelf-command get-chain-status
? Enter the the URI of an AElf node: http://127.0.0.1:1235
? Enter the URI of an AElf node: http://127.0.0.1:1235
✔ Succeed
{
"ChainId": "AELF",
Expand Down
4 changes: 2 additions & 2 deletions docs-sphinx/reference/cli/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Examples:

```bash
$ aelf-command console -a 2Ue31YTuB5Szy7cnr3SCEGU2gtGi5uMQBYarYUR5oGin1sys6H
✔ Enter the the URI of an AElf node: http://127.0.0.1:8000
✔ Enter the URI of an AElf node: http://127.0.0.1:8000
✔ Enter the password you typed when creating a wallet … ********
✔ Succeed!
Welcome to aelf interactive console. Ctrl + C to terminate the program. Double tap Tab to list objects
Expand All @@ -104,7 +104,7 @@ Any missed parameters you did not give in CLI parameters will be asked in a prom

```bash
$ aelf-command console
✔ Enter the the URI of an AElf node: http://127.0.0.1:8000
✔ Enter the URI of an AElf node: http://127.0.0.1:8000
✔ Enter a valid wallet address, if you don\'t have, create one by aelf-command create … 2Ue31YTuB5Szy7cnr3SCEGU2gtGi5uMQBYarYUR5oGin1sys6H
✔ Enter the password you typed when creating a wallet … ********
✔ Succeed!
Expand Down
12 changes: 6 additions & 6 deletions docs-sphinx/reference/cli/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ In this example, you can read the [protobuf file](https://github.com/AElfProject

```bash
$ aelf-command send
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
✔ Enter a valid wallet address, if you do not have, create one by aelf-command create … D3vSjRYL8MpeRpvUDy85ktXijnBe2tHn8NTACsggUVteQCNGP
✔ Enter the password you typed when creating a wallet … ********
✔ Enter contract name (System contracts only) or the address of contract … AElf.ContractNames.Token
Expand Down Expand Up @@ -600,7 +600,7 @@ aelf-command send AElf.ContractNames.Token Transfer '{"symbol": "ELF", "to": "C9

```bash
$ aelf-command call
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
✔ Enter a valid wallet address, if you do not have, create one by aelf-command create … D3vSjRYL8MpeRpvUDy85ktXijnBe2tHn8NTACsggUVteQCNGP
✔ Enter the password you typed when creating a wallet … ********
✔ Enter contract name (System contracts only) or the address of contract … AElf.ContractNames.Token
Expand Down Expand Up @@ -662,7 +662,7 @@ $ aelf-command get-chain-status

```bash
$ aelf-command get-tx-result
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
✔ Enter a valid transaction id in hex format … 7b620a49ee9666c0c381fdb33f94bd31e1b5eb0fdffa081463c3954e9f734a02
✔ Succeed!
{ TransactionId:
Expand Down Expand Up @@ -692,7 +692,7 @@ $ aelf-command get-tx-result

```bash
$ aelf-command get-blk-height
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
> 7902091
```

Expand All @@ -702,7 +702,7 @@ You can pass a block height or a block hash to this sub-command.

```bash
$ aelf-command get-blk-info
✔ Enter the the URI of an AElf node: http://13.231.179.27:8000
✔ Enter the URI of an AElf node: http://13.231.179.27:8000
✔ Enter a valid height or block hash: 123
✔ Include transactions whether or not: no / yes
{ BlockHash:
Expand Down Expand Up @@ -737,7 +737,7 @@ aelf-command get-blk-info ca61c7c8f5fc1bc8af0536bc9b51c61a94f39641a93a748e72802b

```bash
$ aelf-command console
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
✔ Enter a valid wallet address, if you do not have, create one by aelf-command create … 2Ue31YTuB5Szy7cnr3SCEGU2gtGi5uMQBYarYUR5oGin1sys6H
✔ Enter the password you typed when creating a wallet … ********
✔ Succeed!
Expand Down
12 changes: 6 additions & 6 deletions docs/resources/cli/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ In this example, you can read the [protobuf file](https://github.com/AElfProject

```bash
$ aelf-command send
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
✔ Enter a valid wallet address, if you don't have, create one by aelf-command create … D3vSjRYL8MpeRpvUDy85ktXijnBe2tHn8NTACsggUVteQCNGP
✔ Enter the password you typed when creating a wallet … ********
✔ Enter contract name (System contracts only) or the address of contract … AElf.ContractNames.Token
Expand Down Expand Up @@ -485,7 +485,7 @@ aelf-command send AElf.ContractNames.Token Transfer '{"symbol": "ELF", "to": "C9

```bash
$ aelf-command call
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
✔ Enter a valid wallet address, if you don't have, create one by aelf-command create … D3vSjRYL8MpeRpvUDy85ktXijnBe2tHn8NTACsggUVteQCNGP
✔ Enter the password you typed when creating a wallet … ********
✔ Enter contract name (System contracts only) or the address of contract … AElf.ContractNames.Token
Expand Down Expand Up @@ -547,7 +547,7 @@ $ aelf-command get-chain-status

```bash
$ aelf-command get-tx-result
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
✔ Enter a valid transaction id in hex format … 7b620a49ee9666c0c381fdb33f94bd31e1b5eb0fdffa081463c3954e9f734a02
✔ Succeed!
{ TransactionId:
Expand Down Expand Up @@ -577,7 +577,7 @@ $ aelf-command get-tx-result

```bash
$ aelf-command get-blk-height
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
> 7902091
```

Expand All @@ -587,7 +587,7 @@ You can pass a block height or a block hash to this sub-command.

```bash
$ aelf-command get-blk-info
✔ Enter the the URI of an AElf node: http://13.231.179.27:8000
✔ Enter the URI of an AElf node: http://13.231.179.27:8000
✔ Enter a valid height or block hash: 123
✔ Include transactions whether or not: no / yes
{ BlockHash:
Expand Down Expand Up @@ -622,7 +622,7 @@ aelf-command get-blk-info ca61c7c8f5fc1bc8af0536bc9b51c61a94f39641a93a748e72802b

```bash
$ aelf-command console
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
✔ Enter a valid wallet address, if you don't have, create one by aelf-command create … 2Ue31YTuB5Szy7cnr3SCEGU2gtGi5uMQBYarYUR5oGin1sys6H
✔ Enter the password you typed when creating a wallet … ********
✔ Succeed!
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/DApp/main.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# How to develop a dApp

In order to develop smart contracts and and dApps to interact with them, AElf provides a framework that facilitates the process: **AElf Boilerplate**.
In order to develop smart contracts and dApps to interact with them, AElf provides a framework that facilitates the process: **AElf Boilerplate**.

This section will guide you through an example to show you how to develop a smart contract and its dApp with the Boilerplate framework. This section will show you:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ After adding these elements, Boilerplate will deploy your contract when the node

```bash
aelf-command get-chain-status
? Enter the the URI of an AElf node: http://127.0.0.1:1235
? Enter the URI of an AElf node: http://127.0.0.1:1235
✔ Succeed
{
"ChainId": "AELF",
Expand Down
Loading