# Factory deployment

In order to deploy XdYe Factory Smart Contract we need to run the following command:

```
> truffle migrate --reset
```

The deployment script we need to execute can be found at:

{% embed url="<https://github.com/rogerCapone/XdYe_Deployments/blob/main/Factory_deployment.js>" %}
Script used for deploying XdYe Factory contract
{% endembed %}

### Constructor Arguments

* **`_feeToSetter`**` ``(type:`` `*`address`*`)`

The address provided will be the one with the capability to edit the address that will receives the XdYe LP profits and also the one capable of editing the FeeTo and FeeToSetter variables.
