Skip to content
Terra WalletDevelopers

Early access. The Terra API and SDKs may change before launch, and the SDK packages are not published yet.

View as Markdown

Terra Connect

Early access

Terra Connect

Terra Wallet already works with the standards your dApp speaks. You do not need a Terra SDK to support Terra Wallet users today.

How users connect#

Where the user isHow Terra Wallet connectsGuide
Desktop browser with the Terra Wallet extensionEIP-1193 window.ethereum, announced through EIP-6963, plus the Solana Wallet StandardEIP-6963 and EIP-1193
Inside the Terra Wallet app's dApp browserInjected EVM and Solana providersEIP-6963 and EIP-1193
Any desktop or mobile dAppWalletConnect v2: the user scans your QR code in Terra WalletWalletConnect
A mobile dApp on the same phoneA terrawallet:// deep link opens Terra Wallet with your WalletConnect pairingDeep links
A dApp built with wagmiEIP-6963 discovery lists Terra Wallet automatically, and the WalletConnect connector covers mobilewagmi

Identifying Terra Wallet#

  • EIP-6963 info.rdns: com.terrawallet.app
  • EIP-6963 info.name: Terra Wallet
  • The extension's EIP-1193 provider also sets isTerraWallet: true. Prefer EIP-6963 over checking flags on window.ethereum, because several wallets can compete for that one global.

Networks for dApp connections#

Ethereum, BNB Smart Chain, Polygon, Avalanche, Arbitrum, Optimism, Base, Fantom and Solana. See Supported networks and assets for chain ids.

What users see#

  • Every signature and transaction needs the user's explicit approval in the wallet. A connection is never permission to sign.
  • The extension checks the requesting site against a phishing list and shows a readable summary of each request. On mobile, WalletConnect Verify results become risk labels: verified, mismatch or scam.
  • eth_sign is disabled for safety. Use personal_sign or eth_signTypedData_v4.

The Terra Connect SDK (early access)#

The planned 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. It handles sessions, chain switching, signing and sending, and loads WalletConnect only when it is needed. See SDK: connect. It is not published:

Shell

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