Skip to content

Commit 47e445d

Browse files
feat: completed advance nft dapp integration (#355)
* feat: WIP advance-nft-dapp * added documentation for nft indexer * feat: WIP advance-nft-dapp * added documentation for nft indexer * WIP: nft dapp * feat: completed advance nft dapp integration * feat: added instruction for Apple Silicon machine * latest code snippets updated * additional edits and screenshots added --------- Co-authored-by: Tanuj Kushwah <[email protected]>
1 parent f7b66e9 commit 47e445d

File tree

12 files changed

+2202
-1
lines changed

12 files changed

+2202
-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: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
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+
**Note for Apple Silicon users:**
11+
12+
Ensure that Rosetta is installed, if it is not, use the following command:
13+
14+
```bash title="Terminal"
15+
softwareupdate --install-rosetta
16+
```
17+
18+
**Install Required Packages**
19+
20+
- [Install dotnet 8.0.x SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
21+
- Install aelf contract templates
22+
23+
<Tabs>
24+
<TabItem value="Linux and macOs" label="Linux and macOs" default>
25+
```bash title="Terminal"
26+
dotnet new --install AElf.ContractTemplates
27+
```
28+
</TabItem>
29+
30+
<TabItem value="Windows" label="Windows">
31+
```bash title="Command Prompt"
32+
dotnet new install AElf.ContractTemplates
33+
```
34+
</TabItem>
35+
</Tabs>
36+
37+
AELF.ContractTemplates contains various predefined templates for the ease of developing smart contracts on the aelf blockchain.
38+
39+
- Install aelf deploy tool
40+
41+
```bash title="Terminal"
42+
dotnet tool install --global aelf.deploy
43+
```
44+
45+
aelf.deploy is a utility tool for deploying smart contracts on the aelf blockchain.
46+
Please remember to export PATH after installing aelf.deploy.
47+
48+
:::info
49+
ℹ️ Note: If you have installed aelf.deploy and your terminal says that there is no such command available, please uninstall and install aelf.deploy.
50+
:::
51+
52+
**Install Node.js and Yarn**
53+
54+
- [Install Node.js](https://nodejs.org/en)
55+
- [Install Yarn](https://classic.yarnpkg.com/lang/en/docs/install)
56+
57+
**Install aelf-command**
58+
59+
<Tabs>
60+
<TabItem value="Linux and macOs" label="Linux and macOs" default>
61+
```bash title="Terminal"
62+
sudo npm i -g aelf-command
63+
```
64+
</TabItem>
65+
66+
<TabItem value="Windows" label="Windows">
67+
```bash title="Command Prompt"
68+
npm i -g aelf-command
69+
```
70+
</TabItem>
71+
</Tabs>
72+
73+
aelf-command is a CLI tool for interacting with the aelf blockchain, enabling tasks like creating wallets and managing transactions.
74+
Provide required permissions while installing aelf-command globally.
75+
</TabItem>
76+
77+
<TabItem value="codespaces" label="Codespaces">
78+
79+
1. Visit [aelf-devcontainer-template](https://github.com/AElfProject/aelf-devcontainer-template).
80+
2. Click the `Use this template` button. Choose `Create a new repository`.
81+
3. Enter a suitable repository name. Click `Create repository`.
82+
4. Within the GitHub interface of your new repository, click on `Code`.
83+
Select `Codespaces`.
84+
5. Click on the `+` sign to create a new Codespace.
85+
6. After some time, your workspace will load with the contents of the repository.
86+
You can now continue your development using GitHub Codespaces.
87+
88+
</TabItem>
89+
</Tabs>

0 commit comments

Comments
 (0)