# Smart Contracts

Smart contracts in Acki Nacki are the core of all logic and state in the network.\
They are written in **Solidity**, compiled into bytecode, and executed within the **TON Virtual Machine (TVM)**.

This page introduces the key tools, standards, and guides you’ll need to write, deploy, and maintain smart contracts on Acki Nacki.

* **TON Virtual Machine (TVM)**.
* [VM Instruction Set](https://dev.ackinacki.com/vm-instructions/acki-nacki-vm-instructions)
* [Guide to Development and Deployment ](https://dev.ackinacki.com/dapp-id-full-guide-creation-fees-centralized-replenishment)
* [ABI Specification and Data Encoding](https://github.com/tvmlabs/tvm-abi/blob/main/README.md)

  Acki Nacki uses a strict ABI (Application Binary Interface) format for:

  * Encoding and decoding input/output
  * Defining function signatures
  * Structuring on-chain communication
* [Compilation](https://github.com/gosh-sh/TVM-Solidity-Compiler)\
  Compilation transforms your Solidity code into bytecode executed by the TVM.
* Security Best Practices
* [The Acki Nacki Fee System →](https://docs.ackinacki.com/tokenomics/fee-system)


---

# 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.ackinacki.com/for-developers/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.
