# Sign transactions from dApp

{% hint style="info" %}
The user interface (UI) and buttons you encounter will vary based on the specific designs of each dApp/website.
{% endhint %}

### **Sign transactions on Polkadot/Ethereum dApps**

**Step 1:** Open the dApp and connect your account(s) to it from either one of these options:&#x20;

* Connect by selecting [the SubWallet option](https://app.gitbook.com/o/CyPU0v2iA12ILmupTKub/s/x2bpnbQM0WCkMm0eOyd6/)
* Connect by selecting [the WalletConnect option](https://app.gitbook.com/o/CyPU0v2iA12ILmupTKub/s/-Lh39Kwxa1xxZM9WX_Bs/~/changes/702/extension-user-guide/connect-dapps-and-manage-website-access/connect-disconnect-dapp-via-walletconnect#connect-dapp-with-walletconnect)

*We are connecting to Uniswap in this instance. Once you've connected your account(s) to Uniswap, it will display as follows:*

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FoYHvK1IZtJN8p750SXvG%2FScreenshot_141.png?alt=media&#x26;token=0ea0142f-eca2-4fa4-96d3-7b93f490c653" alt=""><figcaption></figcaption></figure>

**Step 2:** Fill in the necessary information for the transaction.&#x20;

*In this example, we will swap ETH for WETH on the Ethereum Sepolia network. This transaction is also referred to as wrapping ETH. Once completed, click "**Wrap**".*

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2F7CHGcvyCusni2dD4F5D3%2FScreenshot_145.png?alt=media&#x26;token=49c31d15-0087-4937-8042-18d29db68662" alt=""><figcaption></figcaption></figure>

**Step 3**: The SubWallet popup window will appear. Check the transaction details, then click "**Approve**" to proceed.&#x20;

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FWYQaTre9QDkw5DzSNQz3%2FScreenshot_146.png?alt=media&#x26;token=2edbbc2d-e8a1-423c-b801-45d2a5887f21" alt=""><figcaption></figcaption></figure>

**Step 4**: You've successfully signed a transaction on a dApp! If the transaction is successful, you'll see the change in the balance of each token.

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FbKf0osUQrdKPOpBgRnmH%2FScreenshot_147.png?alt=media&#x26;token=bc8dfd66-98ad-49da-acc7-74953e6a7f36" alt=""><figcaption></figcaption></figure>

### Sign transactions on Cardano dApps

**Step 1:** Open the dApp and connect your account(s) to it from either one of these options:&#x20;

* Connect by selecting [the SubWallet option](https://app.gitbook.com/o/CyPU0v2iA12ILmupTKub/s/x2bpnbQM0WCkMm0eOyd6/)
* Connect by selecting [the WalletConnect option](https://app.gitbook.com/o/CyPU0v2iA12ILmupTKub/s/-Lh39Kwxa1xxZM9WX_Bs/~/changes/702/extension-user-guide/connect-dapps-and-manage-website-access/connect-disconnect-dapp-via-walletconnect#connect-dapp-with-walletconnect)

*We are connecting to Minswap in this instance. Once you've connected your account(s) to Minswap, it will display as follows:*

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2Fg2DyHjf16alD8Kq1aXgE%2FScreenshot_152.png?alt=media&#x26;token=fdd2024a-5c49-4039-8f6f-e1fe13641c89" alt=""><figcaption></figcaption></figure>

**Step 2:** Fill in the necessary information for the transaction. Once done, hit "**Trade now**".

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FwbU0VhzCO16AygQMkUpq%2FScreenshot_153.png?alt=media&#x26;token=592e8e78-cdf1-49e4-ae75-04f316d1e7dc" alt=""><figcaption></figcaption></figure>

**Step 3**: The SubWallet popup window will appear.&#x20;

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FKEUK56CDX8LqkPGXWQRw%2FScreenshot_154.png?alt=media&#x26;token=f1083e85-d31e-480a-a9b5-a57971c62e47" alt=""><figcaption></figcaption></figure>

You will notice the difference between the amount you typed and the amount displayed in the popup. This is because Cardano is an *Unspent Transaction Output (UTXO)-based* blockchain, which utilizes a different accounting model for its ledger from other account-based blockchains like Ethereum & Polkadot.

The amount displayed in the popup is the summary of the amount you want to swap + the minimum UTXO ADA for this transaction (it will be returned when your swaps are processed or cancelled) + the network fee.

{% hint style="info" %}
If you click on the "**View details**" option, you will see the transaction details. In Cardano, each transaction includes inputs and outputs, where the input represents the address that is sending ADA or the native asset, and the outputs represent the addresses that are receiving ADA or the native asset.

<img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FifiSgqpbyiOhezS9RyEP%2FScreenshot_155.png?alt=media&#x26;token=0ca11602-51d6-4e41-ba41-43558e5e2e49" alt="" data-size="original">
{% endhint %}

Check the transaction details, then click "**Approve**" to proceed.&#x20;

**Step 4**: You've successfully signed a transaction on a dApp! If the transaction is successful, you'll see the change in the balance of each token.

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2F1efebwvzCA3bGvMRDHH1%2FScreenshot_156.png?alt=media&#x26;token=67df9a85-1df8-4962-a0a2-e7942ab87c32" alt=""><figcaption></figcaption></figure>
