# Router deployment

In order to deploy XdYe Router 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/Router_deployment.js>" %}
Script used for deploying Router contract
{% endembed %}

### Constructor Arguments

* **`_factory`**` ``(type:`` `*`address`*`)`

We need to pass in the XdYe Factory contract address, so the Router can interact with XdYe Factory.

* **`_WETH`**` ``(type:`` `*`address`*`)`

We need to pass in the WETH contract address, so the Router can wrap and unwrap ETH or in XdYe, Volta (VT)
