# Adding a smart contract in your project

## Command

To add a smart contract cargo in your project, run this command

```
$ houston add <contract name>
```

{% hint style="warning" %}
&#x20;Creating a contract cargo with duplicate name will prompt overwrite checks. Answer them with caution to prevent loss.&#x20;
{% endhint %}

Once the command is run, a contract cargo with the given name will be added to `contracts/` directory with the following items.

```
contracts
|- <contract name>
| |- contract.rs
| |- lib.rs
| |- msg.rs
| |- state.rs
| |- Cargo.toml
```
