# 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.

![](https://i.imgur.com/9qnD9Gq.png)

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

![](https://i.imgur.com/eHAdxLb.png)

## 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.

![](https://i.imgur.com/gGqwRZM.png)

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.

![](https://i.imgur.com/8XQSarA.png)

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

![](https://i.imgur.com/2TNjbUM.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.acala.network/build/development-guide/smart-contracts/get-started-evm/evm-playground.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
