Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 1.77 KB

File metadata and controls

43 lines (24 loc) · 1.77 KB

EVM Playground

We have created a web application - Acala EVM Playground to test various functionalities of Acala EVM. It’s a fork from parity canvas-ui.

To launch the Playground, please navigate to https://evm.acala.network.

By default, the Playground is connected to the Acala test network. It can also be connected it to a local node. If you've used the Playground before, the connection information may be cached.

Set Up Node Connection

Click on the connection tab at the bottom left corner of the Playground.

Click on the Node to connect to dropdown to choose a node you want to connect to

  • Select Local Node to connect to your local Acala node.
  • Select Acala to connect to deployed Acala test network.
  • Click Use custom endpoint to enter a custom Websocket URL

Check Balance

Let’s check the DOT balance of an account. On the left sidebar click Execute.

A list of native token contracts would appear e.g. DOT, aUSD, ACA, renBTC, etc. These native tokens (including cross-chain assets like renBTC) are exposed as pre-compiled contracts that would otherwise not be available in an EVM. Their supply, balances on accounts and functions are all available in EVM.

Select DOT and press Execute under it.

  1. Pick your account (in the example Alice) from the Call from Account.
  2. Pick balanceOf from Message to Send.
  3. Notice EVM Address under your account, copy and paste it to the owner: address argument field.
  4. Click the Call button to execute.

The Call results at the bottom should show your account's DOT balance.