> For the complete documentation index, see [llms.txt](https://docs.astrakode.tech/akb-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.astrakode.tech/akb-wiki/astrakode-wiki/smart-contract-ide/technologies/ethereum/components/contracts.md).

# Contracts

## Introduction

In each project, you can define multiple smart contracts. These contracts often work together and may depend on each other. For example, they might need to be deployed simultaneously or import functions from one another. By creating interconnected contracts, you can build more complex and powerful applications.

## Configuration

Give your contract a specific and descriptive name to clearly indicate its purpose and distinguish it from others. The name will be used as a keyword in the code, so choose something that makes the contract's function easy to infer.

<figure><img src="/files/9wRttpB0NmNI0r4p8q1c" alt=""><figcaption></figcaption></figure>

The [NsMetaData](/akb-wiki/astrakode-wiki/smart-contract-ide/technologies/ethereum/components/natural-language-metadata.md) property allows the addition of Natural Language (text) Metadata to a Contract in order to better describe it.

An Abstract Contract includes at least one function without implementation, serving as a base for other contracts. It typically contains both implemented and abstract functions. Derived contracts will provide implementations for the abstract functions while utilizing the existing ones as needed.

Select a Constructor for this contract among the defined functions. A constructor is a function that is invoked only once when the contract is deployed.

<figure><img src="/files/zU2UXvLomX7Q0QQHYmtg" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.astrakode.tech/akb-wiki/astrakode-wiki/smart-contract-ide/technologies/ethereum/components/contracts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
