diff --git a/docs/quick-start/developers/_setup.md b/docs/quick-start/developers/_setup.md index 630131bd..39b8cd29 100644 --- a/docs/quick-start/developers/_setup.md +++ b/docs/quick-start/developers/_setup.md @@ -20,7 +20,11 @@ softwareupdate --install-rosetta - [Install dotnet 8.0.x SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) - Install aelf contract templates - +```bash title="Terminal" +dotnet new install AElf.ContractTemplates +``` + + AELF.ContractTemplates contains various predefined templates for the ease of developing smart contracts on the aelf blockchain. @@ -72,6 +76,13 @@ npm i -g aelf-command aelf-command is a CLI tool for interacting with the aelf blockchain, enabling tasks like creating wallets and managing transactions. Provide required permissions while installing aelf-command globally. + +**Install Git** + +- [Install Git](https://git-scm.com/downloads) + +As we will be using a ready made project, we will require git to clone from the project. + diff --git a/docs/quick-start/developers/dao-dapp/index.md b/docs/quick-start/developers/dao-dapp/index.md index 3070c2f7..f21c68bd 100644 --- a/docs/quick-start/developers/dao-dapp/index.md +++ b/docs/quick-start/developers/dao-dapp/index.md @@ -15,80 +15,9 @@ practices, and efficient data management in smart contracts. ## Step 1 - Setting up your development environment -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; +import Setup from "../_setup.md" - - - -- Basic knowledge of terminal commands -- **IDE** - Install [VS Code](https://code.visualstudio.com/) - -**Install Required Packages** - -- [Install dotnet 6.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) -- Install aelf contract templates - -```bash title="Terminal" -dotnet new --install AElf.ContractTemplates -``` - -AELF.ContractTemplates contains various predefined templates for the ease of developing smart contracts on the aelf blockchain. - -- Install aelf deploy tool - -```bash title="Terminal" -dotnet tool install --global aelf.deploy -``` - -aelf.deploy is a utility tool for deploying smart contracts on the aelf blockchain. -Please remember to export PATH after installing aelf.deploy. - -**Install Node.js and Yarn** - -- [Install Node.js](https://nodejs.org/en) -- [Install Yarn](https://classic.yarnpkg.com/lang/en/docs/install) - -**Install aelf-command** - - - -```bash title="Terminal" -sudo npm i -g aelf-command -``` - - - -```bash title="Command Prompt" -npm i -g aelf-command -``` - - - -aelf-command is a CLI tool for interacting with the aelf blockchain, enabling tasks like creating wallets and managing transactions. -Provide required permissions while installing aelf-command globally. - -**Install Git** - -- [Install Git](https://git-scm.com/downloads) - -As we will be using a ready made project, we will require git to clone from the project. - - - - - -1. Visit [aelf-devcontainer-template](https://github.com/AElfProject/aelf-devcontainer-template). -2. Click the `Use this template` button. Choose `Create a new repository`. -3. Enter a suitable repository name. Click `Create repository`. -4. Within the GitHub interface of your new repository, click on `Code`. - Select `Codespaces`. -5. Click on the `+` sign to create a new Codespace. -6. After some time, your workspace will load with the contents of the repository. - You can now continue your development using GitHub Codespaces. - - - + ## Step 2 - Develop Smart Contract