From 5f22a375939180bd546e41929a0db9ae00b80cd6 Mon Sep 17 00:00:00 2001 From: friendlyping Date: Thu, 26 Jun 2025 16:52:31 +0800 Subject: [PATCH] chore: remove redundant words in comment Signed-off-by: friendlyping --- .../greeter-contract/run.md | 2 +- docs-sphinx/reference/cli/introduction.md | 4 ++-- docs-sphinx/reference/cli/methods.md | 12 ++++++------ docs/resources/cli/methods.md | 12 ++++++------ docs/tutorials/DApp/main.md | 2 +- .../first-contract-deploy.md | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/docs-sphinx/getting-started/smart-contract-development/greeter-contract/run.md b/docs-sphinx/getting-started/smart-contract-development/greeter-contract/run.md index e1b3699626..9b21ae6a3c 100644 --- a/docs-sphinx/getting-started/smart-contract-development/greeter-contract/run.md +++ b/docs-sphinx/getting-started/smart-contract-development/greeter-contract/run.md @@ -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", diff --git a/docs-sphinx/reference/cli/introduction.md b/docs-sphinx/reference/cli/introduction.md index 95740d555c..096c21779f 100644 --- a/docs-sphinx/reference/cli/introduction.md +++ b/docs-sphinx/reference/cli/introduction.md @@ -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 @@ -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! diff --git a/docs-sphinx/reference/cli/methods.md b/docs-sphinx/reference/cli/methods.md index 6856ed508c..6a5df73c40 100644 --- a/docs-sphinx/reference/cli/methods.md +++ b/docs-sphinx/reference/cli/methods.md @@ -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 @@ -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 @@ -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: @@ -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 ``` @@ -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: @@ -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! diff --git a/docs/resources/cli/methods.md b/docs/resources/cli/methods.md index be504feae3..cbddca732c 100644 --- a/docs/resources/cli/methods.md +++ b/docs/resources/cli/methods.md @@ -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 @@ -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 @@ -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: @@ -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 ``` @@ -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: @@ -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! diff --git a/docs/tutorials/DApp/main.md b/docs/tutorials/DApp/main.md index 736d9d9907..a9f9a6ce95 100644 --- a/docs/tutorials/DApp/main.md +++ b/docs/tutorials/DApp/main.md @@ -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: diff --git a/docs/tutorials/developing-smart-contracts/first-contract-deploy.md b/docs/tutorials/developing-smart-contracts/first-contract-deploy.md index 5ebdff253f..9c015382df 100644 --- a/docs/tutorials/developing-smart-contracts/first-contract-deploy.md +++ b/docs/tutorials/developing-smart-contracts/first-contract-deploy.md @@ -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",