# Smart Contracts

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Smart Contracts</strong></td><td><a href="/spaces/yxhRUAwn7tH8JUboTur7/pages/usBf2YS4fC3p8lWnV8gg">/spaces/yxhRUAwn7tH8JUboTur7/pages/usBf2YS4fC3p8lWnV8gg</a></td><td><a href="/files/Mn0raWPCGdVF9LgIRfVj">/files/Mn0raWPCGdVF9LgIRfVj</a></td></tr></tbody></table>

Smart contracts on æternity are powered by Sophia, a functional programming language designed specifically for blockchain applications with security and efficiency in mind. These contracts are executed on FATE (Fast Aeternity Transaction Engine), a custom-built virtual machine that provides enhanced security features and improved performance compared to traditional blockchain VMs. For backward compatibility, æternity also supports the AEVM (æternity Ethereum Virtual Machine), allowing developers familiar with Solidity to deploy their contracts.

* The [smart contracts documentation](broken://spaces/yxhRUAwn7tH8JUboTur7/pages/K4u1kq7ns0wdhctPDnwH) covers all aspects of smart contract development on æternity, including detailed specifications of both virtual machines (FATE and AEVM), contract state management, transaction types, and event handling. You'll find comprehensive guides for both Sophia and Solidity development, along with standard library documentation and contract examples. A particular focus is placed on the FATE VM and Sophia language, as these represent æternity's native and most efficient smart contract implementation path.<br>

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td>Sophia Language Overview</td><td><a href="/pages/deRdYLt5bbKKa0GUuIpg">/pages/deRdYLt5bbKKa0GUuIpg</a></td><td><a href="/files/Mn0raWPCGdVF9LgIRfVj">/files/Mn0raWPCGdVF9LgIRfVj</a></td></tr><tr><td>FATE VM</td><td><a href="/spaces/yxhRUAwn7tH8JUboTur7/pages/joQsZmFw0KmVsKsLh7jg">/spaces/yxhRUAwn7tH8JUboTur7/pages/joQsZmFw0KmVsKsLh7jg</a></td><td><a href="/files/0NCGyNc4zbJxJv6fkjlQ">/files/0NCGyNc4zbJxJv6fkjlQ</a></td></tr><tr><td>Sophia Documentation</td><td><a href="/spaces/yxhRUAwn7tH8JUboTur7/pages/o3aOyIzcNQLqUB8McJOQ">/spaces/yxhRUAwn7tH8JUboTur7/pages/o3aOyIzcNQLqUB8McJOQ</a></td><td><a href="/files/60QmGVxDyAZeLFAtGHRM">/files/60QmGVxDyAZeLFAtGHRM</a></td></tr></tbody></table>


---

# 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://docs.aeternity.com/aeternity-developer-tools/protocol/core-protocol-components/smart-contracts.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.
