PollarPollarDemo

Products

AuthenticationWalletTransactions

Integrations

KYCSoonRampNewSwapNewEarnNew

Wallet Adapters

Stellar Wallets KitPrivyNewCosmos WalletNew

Adapters

Trustless Work

Built with Pollar

LumenWipeNew
OverviewSetupTest
Wallet adapter

Cosmos Wallet

The CosmosPay browser extension as a Pollar login, in about 60 lines of adapter.

Cosmos Wallet is a non-custodial Stellar wallet shipped as a Chrome/Edge/Firefox extension (plus mobile and web builds). Its content script injects a SEP-43-style provider at window.cosmosWallet, so a dapp can ask it for an address and for signatures.

That is exactly the surface a Pollar WalletAdapter needs. This tab wires it in by hand: isAvailable, connect, getPublicKey and signTransaction map one-to-one onto the provider, and Pollar wraps the SEP-10 challenge login and transaction signing around them. No new backend, no new package.

Once registered in walletAdapters, Cosmos Wallet renders its own button in the login modal and the rest of the demo (balances, send, history, ramp) works against it like any other external wallet.

What the adapter maps

connect()

cosmosWallet.getAddress() — opens the extension's approval window the first time this origin asks.

signTransaction()

cosmosWallet.signTransaction(xdr, { networkPassphrase }) — used for the SEP-10 challenge and every later transfer.

isAvailable()

Presence of window.cosmosWallet. NOT isConnected(), which means 'origin already approved'.

Resilience

The provider never rejects on its own, so the adapter bounds every approval and keeps the extension's service worker awake while it is open.

Official resources

Cosmos Wallet on GitHubIts own dapp demo page

Summary based on the public CosmosPay-Wallet repository. Pollar is not affiliated with CosmosPay.