# The Smart Contract

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

Smart contracts are basically programs stored and run on a blockchain that activate when specific conditions are fulfilled. They are commonly used to automate certain agreements, enabling all parties involved to immediately understand the result, without the need for an intermediary's participation or any time delay. This is especially useful for transactions that have measureable conditions, and specific outputs. Once a transaction is complete, the transactions are trackable and irreversible.\
\
Smart contracts can also be used to store specific data. This essentially the fundament of the VIDT DAO [timestamping technology](/timestamping/introduction-to-blockchain-and-timestamping.md); the document fingerprint is stored in the VIDT DAO smart contract.

{% hint style="info" %}
Did you know that for every timestamp that is performed in the smart contract, one VIDT token is used.
{% endhint %}

## The source code

The code for the smart-contract can be be on [GitHub](https://github.com/VIDT-DAO/smart-contracts). It is open-source so that everybody can integrate the technology into any existing or future systems. You can find the smart-contract on the blockchain [here (Ethereum)](https://etherscan.io/token/0x3BE7bF1A5F23BD8336787D0289B70602f1940875) and [here (Binance Smart Chain)](https://bscscan.com/token/0x9c4a515cd72d27a4710571aca94858a53d9278d5).

{% embed url="<https://github.com/VIDT-DAO/smart-contracts>" %}


---

# 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://academy.vidt-dao.com/ecosystem/the-smart-contract.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.
