PollarPollar
Getting Started

Overview

Pollar is the onboarding-to-payment infrastructure layer for consumer apps on Stellar. The full stack that takes a new user from clicking Continue with Google to sending USDC — without ever showing them a seed phrase, a wallet address, a transaction fee, or a trustline prompt.


The problem

Every team building a consumer product on Stellar hits the same infrastructure wall before writing a single line of their actual product:

  • Creating or linking a Stellar account for each user

  • Handling XLM reserve funding

  • Configuring trustlines for each asset

  • Abstracting transaction fees from users unfamiliar with blockchain

  • Building an onboarding flow that works for people with zero crypto experience

Pollar handles all of this so you can skip straight to building your product.


The solution

import { PollarProvider, usePollar } from '@pollar/react';

function App() {
  const { login, wallet, sendPayment } = usePollar();

  if (!wallet) {
    return (
      <button onClick={() => login({ provider: 'google' })}>
        Continue with Google
      </button>
    );
  }

  return (
    <button onClick={() => sendPayment({ to: 'GXXX...', amount: '10', asset: 'USDC' })}>
      Send 10 USDC
    </button>
  );
}

export default function Root() {
  return (
    <PollarProvider publishableKey="pub_testnet_...">
      <App />
    </PollarProvider>
  );
}

In 20 lines: OAuth authentication, a funded Stellar wallet, and USDC payments. No seed phrases. No fee prompts. No trustline configuration.


How it compares

CrossmintPrivyDynamicStellar Wallets KitPollar
Stellar nativePartialNoNoYes (connector only)Yes
Deferred fundingNoN/AN/ANoYes (unique)
Fee-bump nativeNoN/AN/ANoYes
Built for startupsNo (enterprise)YesYesPartialYes
Full onboarding stackNoNoNoNoYes

On this page

Was this helpful?