@@ -15,80 +15,9 @@ practices, and efficient data management in smart contracts.
1515
1616## Step 1 - Setting up your development environment
1717
18- import Tabs from '@theme/Tabs ';
19- import TabItem from '@theme/TabItem ';
18+ import Setup from "../_ setup.md"
2019
21- <Tabs >
22- <TabItem value =" local " label =" Local " default >
23-
24- - Basic knowledge of terminal commands
25- - ** IDE** - Install [ VS Code] ( https://code.visualstudio.com/ )
26-
27- ** Install Required Packages**
28-
29- - [ Install dotnet 6.0 SDK] ( https://dotnet.microsoft.com/en-us/download/dotnet/6.0 )
30- - Install aelf contract templates
31-
32- ``` bash title="Terminal"
33- dotnet new --install AElf.ContractTemplates
34- ```
35-
36- AELF.ContractTemplates contains various predefined templates for the ease of developing smart contracts on the aelf blockchain.
37-
38- - Install aelf deploy tool
39-
40- ``` bash title="Terminal"
41- dotnet tool install --global aelf.deploy
42- ```
43-
44- aelf.deploy is a utility tool for deploying smart contracts on the aelf blockchain.
45- Please remember to export PATH after installing aelf.deploy.
46-
47- ** Install Node.js and Yarn**
48-
49- - [ Install Node.js] ( https://nodejs.org/en )
50- - [ Install Yarn] ( https://classic.yarnpkg.com/lang/en/docs/install )
51-
52- ** Install aelf-command**
53-
54- <Tabs >
55- <TabItem value =" Linux and macOs " label =" Linux and macOs " default >
56- ``` bash title="Terminal"
57- sudo npm i -g aelf-command
58- ```
59- </TabItem >
60-
61- <TabItem value =" Windows " label =" Windows " >
62- ``` bash title="Command Prompt"
63- npm i -g aelf-command
64- ```
65- </TabItem >
66- </Tabs >
67-
68- aelf-command is a CLI tool for interacting with the aelf blockchain, enabling tasks like creating wallets and managing transactions.
69- Provide required permissions while installing aelf-command globally.
70-
71- ** Install Git**
72-
73- - [ Install Git] ( https://git-scm.com/downloads )
74-
75- As we will be using a ready made project, we will require git to clone from the project.
76-
77- </TabItem >
78-
79- <TabItem value =" codespaces " label =" Codespaces " >
80-
81- 1 . Visit [ aelf-devcontainer-template] ( https://github.com/AElfProject/aelf-devcontainer-template ) .
82- 2 . Click the ` Use this template ` button. Choose ` Create a new repository ` .
83- 3 . Enter a suitable repository name. Click ` Create repository ` .
84- 4 . Within the GitHub interface of your new repository, click on ` Code ` .
85- Select ` Codespaces ` .
86- 5 . Click on the ` + ` sign to create a new Codespace.
87- 6 . After some time, your workspace will load with the contents of the repository.
88- You can now continue your development using GitHub Codespaces.
89-
90- </TabItem >
91- </Tabs >
20+ <Setup />
9221
9322## Step 2 - Develop Smart Contract
9423
0 commit comments