To be able to run the tutorial steps that require an operational development network (like deploying and testing), please refer to the guide on how to setup a local development network.
WARNING: All of the tests included within tutorials is meant to be run in the local development network and cold potentially fail on the public network.
- 1.hello-world: This tutorial contains instructions on how to setup a simple Truffle project that is compatible, deployable and testable with Acala EVM+.
- 2.echo: This tutorial builds upon the previous one and adds return values to the function calls, events and changes of storage variables.
- 3.token: This tutorial builds upon the previous ones and adds the ERC20 token using OpenZeppelin dependency.
This section of tutorials uses Acala EVM+ specific mechanics and is incompatible with the legacy EVM. It introduces the use of our precompiled smart contracts that are accessible to anyone using the Acala EVM+
- 1.precompiled-token: This tutorial utilizes the precompiled and predeployed ERC20 tokens present in the Acala EVM+. It uses the
ADDRESSutility, which serves as an automatic getter of the precompiled smart contract addresses, so we don't have to search for them in the documentation and hardcode them into our project.
- 2.DEX: This tutorial utilizes the predeployed
DEXsmart contract to swap the ERC20 tokens of the predeployed
Tokensmart contracts, which we instantiate with the help of the
- 3.EVM: This tutorial utilizes the predeployed
EVMsmart contract to manage the account preferences and the smart contract that the account maintains. It introduces the publishing of the smart contracts in the Acala EVM+ as well as enabling and disabling the developer mode of the account directly in the Acala EVM+.
- 4.AdvancedEscrow: This tutorial utilizes the predeployed
Schedulesmart contracts in order to build an escrow service that accepts any of the predeployed ERC20 tokens, swaps them for
AUSDand at a set block releases the funds in
AUSDor in another predeployed ERC20 token.