> For the complete documentation index, see [llms.txt](https://docs.brianknows.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.brianknows.org/brian-app/deploy-smart-contracts.md).

# Deploy Smart Contracts

{% hint style="warning" %}
This functionality is currently disabled in the Brian App due to getting an update to reflect the latest API changes.&#x20;

You can still access it via our APIs!
{% endhint %}

The **Deploy Smart Contracts** feature allows users to generate, compile, deploy, and interact with smart contracts by prompting in English.

Try something like `"write an ERC20 named Test with symbol TST and supply 100000"`.

## How to deploy a Smart Contract

1\) Prompt the description of a smart contract you'd like to generate

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

2\) Brian will generate the solidity smart contract code

<figure><img src="/files/98Uol08jMd76iECO72LI" alt=""><figcaption></figcaption></figure>

3\) Click the edit button to manually edit the smart contract code

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

4\) Click the Explain this button to have an AI text generated explaining the smart contract code

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

5\) Click the Deploy button to compile and deploy the smart contract generated

![](/files/tYHX28jGPrwh08pmqVom)

## How to interact with a deployed Smart Contract

1\) Go to **Deployed Smart Contracts** on the **Settings** page. Here you can find all the smart contract deployed through Brian

<figure><img src="/files/6EHL5LB21EkxnH5BSlku" alt=""><figcaption></figcaption></figure>

2\) Click on the **Interact** button and the Interaction page will open

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

3\) Clicking on the **info button (i)** you can see the info of the deployed smart contract you're interacting with such as the methods available in the contract, the ABI and the smart contract code

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

4\) Prompt in English how you want to interact with the smart contract

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

4\) Click the Execute button to execute the transaction
