Getting Started
Installation
Requirements
- Node.js >= 18
- React >= 18 (for
@pollar/react) - Pollar API key (get one from the dashboard or by contacting the team)
Packages
| Package | Use |
|---|---|
@pollar/core | Shared logic: auth, wallet lifecycle, StellarClient. For any JS/TS environment. |
@pollar/react | Provider, usePollar hook, WalletButton component. For React apps. |
Install
npm install @pollar/core @pollar/reactWith pnpm:
pnpm add @pollar/core @pollar/reactEnvironments
- Testnet: the SDK points to Stellar testnet by default for development.
- Mainnet: configurable via tenant/API when enabled.
Next step
Quickstart — set up the provider and first login.