> Source: https://developers.terrawallet.us/docs/sdk/connect . Terra Wallet developer docs (early access).

# SDK: connect

```bash
# npm install @terrawallet/connect (not published yet; name may change)
```

> **Not published.** Use the standard integrations in [Terra Connect](https://developers.terrawallet.us/docs/connect.md) today. They are what
> this package will wrap.

## What it will do

- **Find Terra Wallet** through EIP-6963 in browsers with the extension, and through the Solana Wallet Standard.
- **Fall back to WalletConnect v2** with a QR code on desktop, or the `terrawallet://wc` deep link on a phone.
- **Load WalletConnect lazily**, only when it is needed, to keep the core small.
- **Manage the session**: accounts, chain switching, signing and sending, with typed errors.
- **Use a publishable key** (`tw_test_pk_...` or `tw_live_pk_...`) locked to your allowed origins.

## Until then

- Discovery and connection: [EIP-6963 and EIP-1193](https://developers.terrawallet.us/docs/connect/eip-6963.md).
- Mobile and QR: [WalletConnect](https://developers.terrawallet.us/docs/connect/walletconnect.md) and [Deep links](https://developers.terrawallet.us/docs/connect/deep-links.md).
- wagmi apps: [wagmi](https://developers.terrawallet.us/docs/connect/wagmi.md).
