Skip to content

Latest commit

 

History

History
100 lines (72 loc) · 2.8 KB

File metadata and controls

100 lines (72 loc) · 2.8 KB

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

  • Basic knowledge of terminal commands
  • IDE - Install VS Code

Note for Apple Silicon users:

Ensure that Rosetta is installed, if it is not, use the following command:

softwareupdate --install-rosetta

Install Required Packages

dotnet new install AElf.ContractTemplates

AELF.ContractTemplates contains various predefined templates for the ease of developing smart contracts on the aelf blockchain.

  • Install aelf deploy tool
dotnet tool install --global aelf.deploy

aelf.deploy is a utility tool for deploying smart contracts on the aelf blockchain. Please remember to export PATH after installing aelf.deploy.

:::info ℹ️ Note: If you have installed aelf.deploy and your terminal says that there is no such command available, please uninstall and install aelf.deploy. :::

Install Node.js and Yarn

Install aelf-command

```bash title="Terminal" sudo npm i -g aelf-command ``` ```bash title="Command Prompt" npm i -g aelf-command ```

aelf-command is a CLI tool for interacting with the aelf blockchain, enabling tasks like creating wallets and managing transactions. Provide required permissions while installing aelf-command globally.

Install Git

As we will be using a ready made project, we will require git to clone from the project.

  1. Visit aelf-devcontainer-template.
  2. Click the Use this template button. Choose Create a new repository.
  3. Enter a suitable repository name. Click Create repository.
  4. Within the GitHub interface of your new repository, click on Code. Select Codespaces.
  5. Click on the + sign to create a new Codespace.
  6. After some time, your workspace will load with the contents of the repository. You can now continue your development using GitHub Codespaces.