Skip to content

Commit c0ca732

Browse files
feat: WIP advance-nft-dapp
1 parent 0eb5b7c commit c0ca732

File tree

4 files changed

+1759
-1
lines changed

4 files changed

+1759
-1
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"position": 3,
3+
"label": "Advance Tutorials",
4+
"collapsible": true,
5+
"collapsed": true,
6+
"link": {
7+
"type": "generated-index",
8+
"title": "Advance Tutorials",
9+
"slug": "quick-start/advance-tutorials",
10+
"description": "Welcome to the advanced technical documentation for developing smart contracts on the aelf blockchain. This guide is tailored to help you master advanced concepts and techniques for creating robust and scalable smart contracts. Each tutorial delves deeper into intricate functionalities, building on your foundational knowledge to enhance your expertise step by step."
11+
},
12+
"customProps": {
13+
"description": "Master advanced dApp development on aelf"
14+
}
15+
}
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
import Tabs from '@theme/Tabs';
2+
import TabItem from '@theme/TabItem';
3+
4+
<Tabs>
5+
<TabItem value="local" label="Local" default>
6+
7+
- Basic knowledge of terminal commands
8+
- **IDE** - Install [VS Code](https://code.visualstudio.com/)
9+
10+
**Install Required Packages**
11+
12+
- [Install dotnet 8.0.x SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
13+
- Install aelf contract templates
14+
15+
<Tabs>
16+
<TabItem value="Linux and macOs" label="Linux and macOs" default>
17+
```bash title="Terminal"
18+
dotnet new --install AElf.ContractTemplates
19+
```
20+
</TabItem>
21+
22+
<TabItem value="Windows" label="Windows">
23+
```bash title="Command Prompt"
24+
dotnet new install AElf.ContractTemplates
25+
```
26+
</TabItem>
27+
</Tabs>
28+
29+
AELF.ContractTemplates contains various predefined templates for the ease of developing smart contracts on the aelf blockchain.
30+
31+
- Install aelf deploy tool
32+
33+
```bash title="Terminal"
34+
dotnet tool install --global aelf.deploy
35+
```
36+
37+
aelf.deploy is a utility tool for deploying smart contracts on the aelf blockchain.
38+
Please remember to export PATH after installing aelf.deploy.
39+
40+
:::info
41+
ℹ️ Note: If you have installed aelf.deploy and your terminal says that there is no such command available, please uninstall and install aelf.deploy.
42+
:::
43+
44+
**Install Node.js and Yarn**
45+
46+
- [Install Node.js](https://nodejs.org/en)
47+
- [Install Yarn](https://classic.yarnpkg.com/lang/en/docs/install)
48+
49+
**Install aelf-command**
50+
51+
<Tabs>
52+
<TabItem value="Linux and macOs" label="Linux and macOs" default>
53+
```bash title="Terminal"
54+
sudo npm i -g aelf-command
55+
```
56+
</TabItem>
57+
58+
<TabItem value="Windows" label="Windows">
59+
```bash title="Command Prompt"
60+
npm i -g aelf-command
61+
```
62+
</TabItem>
63+
</Tabs>
64+
65+
aelf-command is a CLI tool for interacting with the aelf blockchain, enabling tasks like creating wallets and managing transactions.
66+
Provide required permissions while installing aelf-command globally.
67+
</TabItem>
68+
69+
<TabItem value="codespaces" label="Codespaces">
70+
71+
1. Visit [aelf-devcontainer-template](https://github.com/AElfProject/aelf-devcontainer-template).
72+
2. Click the `Use this template` button. Choose `Create a new repository`.
73+
3. Enter a suitable repository name. Click `Create repository`.
74+
4. Within the GitHub interface of your new repository, click on `Code`.
75+
Select `Codespaces`.
76+
5. Click on the `+` sign to create a new Codespace.
77+
6. After some time, your workspace will load with the contents of the repository.
78+
You can now continue your development using GitHub Codespaces.
79+
80+
</TabItem>
81+
</Tabs>

0 commit comments

Comments
 (0)