a
aelf Playground#
aelf Playground is a sandbox for new developers who want to get a taste of smart contract development with aelf, without having to install tools in their local computer.
There is no set-up needed. Simply visit https://playground.test.aelf.dev in your browser.
Create a new project#
Click on the Create a new project button, as shown below:
In the following step, enter a project name, and choose Native(CSharp) framework, then click Create:
After a short while, the following workspace is loaded:
Write your smart contract#
Feel free to edit the files.
Build your smart contract#
Once you are ready, click on the Build button:
After a while, the contract is built.
Connect your playground wallet#
Click on the button Connect to Playground Wallet.
A pop-up appears.
TIP
You may choose to click on Save keypair to save a copy of your keypair, so that you may use it in subsequent sessions.
Click Continue.
Deploy your smart contract#
Click on the Deploy button to deploy your smart contract.
After about 1 minute, the contract is deployed:
You may click on the link below to view your contract on aelf explorer.
Done#
Congratulations! You have just deployed your first smart contract on the aelf blockchain (testnet).
Edited on: 14 July 2024 05:00:17 GMT+0