# 4.1 Fully Compatible with EVM

The EVM is a Turing-complete state machine used to execute transactions or contract code, provides a secure operating environment for each contract with an independent runtime stack, which contains a maximum of 1024 elements, and each element is 256bit.&#x20;

Moreover, EVM supports cyclic operation instructions and the contract supports complex logic functions, enabling any complex conceived programs to run smoothly.

DxChain 3.0 is fully compatible with Ethereum Virtual Machine (EVM), supports the compilation and execution of smart contracts, and various versions of Solidity.


---

# 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://dxchain.gitbook.io/dxchain-wiki/the-basics/dxchain-v3-litepaper/4.-dxchain-design-principles-and-architecture/4.1-fully-compatible-with-evm.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.
