# Importing the Retroshades SDK

Before starting to emit your retroshades, you need to import the Retroshades SDK within your `Cargo.toml` definition. The SDK will help you define the custom host-functions that are used in the Retroshades-SVM fork, and derive default emit methods for your Retroshade structures.

{% hint style="success" %}
Remember to set the dependency as optional and under a special compile flag. No Retroshade code should be actually deployed on chain. In this example, we define this compile flag as the mercury flag.
{% endhint %}

```bash
[features]
mercury = ["dep:retroshade-sdk"]

[dependencies]
retroshade-sdk = { version = "0.1.0", optional = true }
```

Also make sure to clone the `mercury-cli` repo that will be used to interact with Retroshades

```bash
git clone https://github.com/xycloo/mercury-cli
cd mercury-cli
cargo build --release
```
