You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tools/aelf-playground/index.md
+76-13Lines changed: 76 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ Now as the workspace setup is done and project is setup inside aelf's playground
66
66
- src/`ContractName`State.cs
67
67
68
68
Once all the changes are done in the above files and all other required files (whereever nacessary). Then below operations can be performed on the selected workspace project:
69
-
1.**AI Audit**: Complete the AI audit of the writtwn smart contract. Result similar to below image will be visible once the AI audit completes. The interpretation of the AI audit results will be shown when you hover over the smart contract code once the audit finishes.
69
+
1.**AI Audit**: Complete the AI audit of the written smart contract. Result similar to below image will be visible once the AI audit completes. The interpretation of the AI audit results will be shown when you hover over the smart contract code once the audit finishes.
70
70
71
71

72
72
@@ -85,41 +85,47 @@ Once all the changes are done in the above files and all other required files (w
85
85
5.**Deploy**: Deploy the smart contract code on the aelf blockchain. It will show `Deploying` status when the user clicks the `Deploy` button and will output below result including `transactionId`, `proposal status` and `contract address` once the build process ends. You can verify the contract address by visiting [aelf testnet explorer](https://testnet.aelfscan.io/tDVW).
86
86
87
87

88
+
89
+
6.**Contract Viewer**: The Contract Viewer in the Playground automatically appears after a smart contract is deployed, allowing users to test and interact with the contract immediately. This feature displays all available contract functions, both read and write, enabling users to execute them directly within the Playground. It provides a streamlined way to explore and perform actions on the contract without additional setup, making contract testing and function execution more accessible.
90
+
91
+

88
92
89
-
6.**Export**: Export the project in a local directory. It will open an alert to save the workspace in the local directory. Users can rename the local directory.
93
+
7.**Export**: Export the project in a local directory. It will open an alert to save the workspace in the local directory. Users can rename the local directory.
90
94
91
95

92
96
93
-
7.**Share**: Share the project with a sharable link. It will show `Generating share link` status when the user clicks the `Share` button and will output below result including the sharable link.
97
+
8.**Share**: Share the project with a sharable link. It will show `Generating share link` status when the user clicks the `Share` button and will output below result including the sharable link.
94
98
95
99

96
100
97
-
8.**Command Line Options**: Command line additionally provides options to check txID and clear terminal including above options. Use the help command to see all the options inside terminal. `check txID` helps in checking the transaction details.
101
+
9.**Command Line Options**: Command line additionally provides options to check txID and clear terminal including above options. Use the help command to see all the options inside terminal. `check txID` helps in checking the transaction details.
98
102
99
103

100
104
101
-
9.**Upload Files**: Upload more files to the project when necessary. It will show a `drag and drop files` section to drop files from the local directory.
105
+
10.**Upload Files**: Upload more files to the project when necessary. It will show a `drag and drop files` section to drop files from the local directory.
102
106
103
107

104
108
105
-
10.**Add a New File**: Manually add a new file in the playground project structure. It will allow users to add a new file in the workspace project structure add smart contract code, new proto files, etc.
109
+
11.**Add a New File**: Manually add a new file in the playground project structure. It will allow users to add a new file in the workspace project structure add smart contract code, new proto files, etc.
106
110
107
111

108
112
109
-
11.**Rename & Delete File**: `Renames` & `Deletes` the chosen file or folders in the project directory structure.
113
+
12.**Rename & Delete File**: `Renames` & `Deletes` the chosen file or folders in the project directory structure.
110
114
111
115

112
116
113
-
12.**Tutorials**: Some pre-compiled tutorials are curated under `Tutorials` section of aelf-playground. It provides an option to filter the tutorials based on the difficulty level (`Beginner`, `Intermediate` & `Advanced`) and smart contracts languages (C# & Solidity).
117
+
13.**Tutorials**: Some pre-compiled tutorials are curated under `Tutorials` section of aelf-playground. It provides an option to filter the tutorials based on the difficulty level (`Beginner`, `Intermediate` & `Advanced`) and smart contracts languages (C# & Solidity).
114
118
115
119

116
120
117
-
118
-
13.**Deployments**: `Deployments` section provides a list of all deployed tutorials along with the wallet address used to deploy smart contracts on the aelf blockchain. You can click on the wallet address to view wallet details on the aelf explorer.
121
+
14.**Deployments**: `Deployments` section provides a list of all deployed tutorials along with the wallet address used to deploy smart contracts on the aelf blockchain. You can click on the wallet address to view wallet details on the aelf explorer.
119
122
120
123

121
124
122
-
14.**Themes**: Users can also choose to toggle between `dark` and `light` themes.
125
+
15.**Privatekey**: You can export your wallet's private key from the `Deployments` section. Simply click the eye icon to reveal the private key, which you can then copy.
126
+

127
+
128
+
16.**Themes**: Users can also choose to toggle between `dark` and `light` themes.
123
129
124
130

125
131
@@ -144,6 +150,8 @@ Now it's time to creat a Todo-dApp using playground.
- The Report will be visible once the AI audit completes. It will provides suggestion for Todo functions as shown below so apply the suggetion and make your Todo smart contract more better.
- You will receive data about the deployed contract and wallet address, and you can click on them to view more details related to the wallet and contract.
0 commit comments