Skip to content

Commit c72024c

Browse files
feat: improved aeindexer tutorial content and improved code (#365)
* feat: improved aeindexer tutorial content and improved code * fix: added space between lines for formate the docs
1 parent f602860 commit c72024c

18 files changed

+1977
-1697
lines changed

docs/quick-start/advance-tutorials/_setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ aelf.deploy is a utility tool for deploying smart contracts on the aelf blockcha
4646
Please remember to export PATH after installing aelf.deploy.
4747

4848
:::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.
49+
ℹ️ Note: If you have installed aelf.deploy and your terminal says that there is no such command available, please uninstall and reinstall aelf.deploy.
5050
:::
5151

5252
**Install Node.js and Yarn**
@@ -83,7 +83,7 @@ Provide required permissions while installing aelf-command globally.
8383
Select `Codespaces`.
8484
5. Click on the `+` sign to create a new Codespace.
8585
6. After some time, your workspace will load with the contents of the repository.
86-
You can now continue your development using GitHub Codespaces.
86+
You may now continue your development using GitHub Codespaces.
8787

8888
</TabItem>
8989
</Tabs>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Step 2 - Create AeIndexer in AeFinder
2+
- Log in to the AeFinder website.
3+
TestNet: [https://test.aefinder.io/login](https://test.aefinder.io/login)
4+
5+
- Enter the AeIndexer Name and other information to create a NFT AeIndexer.
6+
<!-- Commenting out missing image references -->
7+
![run-app-success](/img/create-nft-indexer.png)
8+
![create-app](/img/name-nft-indexer.png)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## Step 4 - Deploy AeIndexer
2+
- Open the AeIndexer details page and click Deploy.
3+
![deploy](/img/deploy-nft-indexer-template.png)
4+
- Fill out the subscription manifest and upload the DLL file.
5+
1. Subscription manifest:
6+
```json
7+
{
8+
"subscriptionItems": [
9+
{
10+
"chainId": "tDVW",
11+
"startBlockNumber": 151018963,
12+
"onlyConfirmed": false,
13+
"transactions": [],
14+
"logEvents": [
15+
{
16+
"contractAddress": "ASh2Wt7nSEmYqnGxPPzp4pnVDU4uhj1XW9Se5VeZcX2UDdyjx",
17+
"eventNames": [
18+
"Issued",
19+
"Issue"
20+
]
21+
}
22+
]
23+
}
24+
]
25+
}
26+
```
27+
2. DLL file location: src/NFTAeIndexer/bin/Release/net8.0/NFTAeIndexer.dll
28+
![deploy-2](/img/subscription-nft-indexer.png)
29+
- Click the deploy button to submit deployment information. When the normal processing block information appears on the Logs page at the bottom of the details page, it means that the deployment has been successful and data indexing has started.
30+
![log](/img/logs-nft-indexer.png)

0 commit comments

Comments
 (0)