Skip to content
Terra WalletDevelopers

Connecting to Terra Wallet works today through open standards. The Terra Connect SDK and widgets are in early access.

View as Markdown

Terra Connect

Early access

Let Terra Wallet users into your dApp

Terra Wallet already works with your WalletConnect integration and injected providers, so dApp wallet connection needs no extra code. Soon, a drop-in connect wallet button and wallet modal make it a five-minute job.

Works today

Works with your WalletConnect integration today

No SDK needed: Terra Wallet answers like any other standard wallet.

  • Live

    EIP-1193

    The standard provider, injected as window.ethereum in the Terra Wallet extension and in the app's dApp browser.

  • Live

    EIP-6963

    Multi-wallet discovery: Terra Wallet announces itself with rdns com.terrawallet.app next to other wallets.

  • Live

    Solana Wallet Standard

    Solana dApps list Terra Wallet by name. A legacy window.solana provider is also there.

  • Live

    WalletConnect v2

    From any desktop or mobile dApp: users scan your WalletConnect QR code with Terra Wallet.

  • Every signature and transaction needs the user's explicit approval in the wallet.
  • The extension checks the requesting site against a phishing list and shows a readable summary of each request.
  • eth_sign is disabled for safety: use personal_sign or eth_signTypedData_v4.
  • dApp connections work on Ethereum, BNB Smart Chain, Polygon, Avalanche, Arbitrum, Optimism, Base, Fantom and Solana.
Works todayjs
// Works today: find Terra Wallet through EIP-6963.const wallets = new Map();window.addEventListener("eip6963:announceProvider", (event) => {  wallets.set(event.detail.info.uuid, event.detail);});window.dispatchEvent(new Event("eip6963:requestProvider")); // Call from a user action, such as a click.async function connectTerraWallet() {  const terra = [...wallets.values()].find(    (w) => w.info.rdns === "com.terrawallet.app",  );  if (!terra) throw new Error("Terra Wallet is not available");  const [account] = await terra.provider.request({    method: "eth_requestAccounts",  });  return account;}

dApp connections work today on

  • Ethereum(dApp connections today)
  • BNB Smart Chain(dApp connections today)
  • Solana(dApp connections today)
  • Polygon(dApp connections today)
  • Avalanche(dApp connections today)
  • Arbitrum(dApp connections today)
  • Optimism(dApp connections today)
  • Base(dApp connections today)
  • Fantom(dApp connections today)

Coming: the Connect SDK

A connect wallet button that finds the wallet for you

The connect package finds Terra Wallet through EIP-6963 and the Wallet Standard, and falls back to WalletConnect v2 with a QR code or an app deep link.

  • Early access

    Small and fast

    A target under 15 KB gzipped. WalletConnect loads lazily, only when it's needed.

  • Early access

    Everything after connect

    Sessions, chain switching, signing and sending, with typed errors.

  • Early access

    Mobile-first

    On a phone, Connect opens the Terra app directly and returns to your dApp by itself.

  • Early access

    Your look, our safety

    Theme the accent, radius, font and light or dark mode. Terra's security prompts can't be hidden or restyled.

  • Early access

    Shadow DOM

    The widget renders in Shadow DOM, so page CSS can't break or spoof it.

  • Early access

    Accessible

    WCAG AA, keyboard and screen-reader support, and right-to-left languages.

React

Preview API, subject to changetsx
// Preview API, subject to change. Package names may change.import { TerraProvider, ConnectButton, useAccount } from "@terrawallet/react"; export function App() {  return (    <TerraProvider      publishableKey="tw_test_pk_..."   // safe in the browser      theme={{ accent: "#0A5BFF", mode: "auto" }}    >      <ConnectButton />      <Balance />    </TerraProvider>  );} function Balance() {  const { address, chain } = useAccount();  return address ? <p>{chain.name}: {address}</p> : null;}

Package names are illustrative and may change before launch.

FAQ

Frequently asked questions

Does Terra Wallet work with my dApp today?

Yes, if your dApp supports WalletConnect v2, EIP-1193 or EIP-6963 on EVM networks, or the Solana Wallet Standard. Terra Wallet answers like any standard wallet.

Which networks support dApp connections?

Ethereum, BNB Smart Chain, Polygon, Avalanche, Arbitrum, Optimism, Base, Fantom and Solana.

How do users connect from a desktop browser?

With the Terra Wallet extension, which injects an EIP-1193 provider and announces itself through EIP-6963, or by scanning your WalletConnect QR code with the Terra Wallet app.

What is Terra Wallet's EIP-6963 rdns?

Terra Wallet announces itself with rdns com.terrawallet.app.

Is the Connect SDK available?

Not yet. The Connect SDK and widgets are in early access. You can support Terra Wallet users today with the standard code on this page, and preview the SDK on the SDK and widgets page.

Can a connected dApp move funds without asking?

No. A connection is never permission to sign. Every signature and transaction needs the user's explicit approval, with a readable summary of the request.

Early access

Early access

Request early access

Tell us what you're building. Early partners get sandbox access first and help shape what ships.

  • Early partners get sandbox access first and help shape the product.
  • We email you when the product you picked opens. No newsletters you didn't ask for.
  • Pricing will be shared at launch. Talk to us through this form.
0/1000

Running a quick security check…

We use these details only to contact you about early access. See the Privacy Policy.