Points Documentation

Points is an onchain, attested analytics protocol for Solana. Every event is attested and bonded, allowing for a new level of trusted, trustless analytics.

Getting started with Points

To get started, reserve a new domain on the Points App, setup Event types, and start tracking in minutes.

Why it matters

  • No servers
  • Fully auditable
  • Funds itself
  • Onchain attestations

Core Concepts

  • Domain: namespace + treasury
  • User: locks SOL → earns tiers
  • Event Type: define actions
  • Event: record, confirm, reward

Quick Start

import { PointsSDK } from '@points/sdk'

const points = new PointsSDK({ domainId: 'your-app' })

// Track a user action
await points.track({
  user: userWallet,
  eventType: 'purchase',
  data: { amount: 100, item: 'premium-plan' }
})

// Confirm the action (awards points)
await points.confirm(eventId)

Was this page helpful?