Skip to main content

Core Concepts

This section explains the foundational ideas behind amser. Start here to understand why the protocol works the way it does.

The Core Idea

amser treats authorization as the primitive, not payments.

Traditional subscription systems ask: "How do we charge users on a schedule?"

amser asks: "How do we grant bounded, revocable authority that can be enforced deterministically?"

Payments are a consequence of authorization, not the starting point.

Concept Map

Reading Order

Start Here

ConceptWhat You'll Learn
RAIWhy authorization (not payments) is the primitive

Authorization Instruments

ConceptWhat You'll Learn
SubscriptionsTime-based recurring authorization
Usage CreditsUsage-based billing for APIs, compute, and metered services
Authorization StateHow active/inactive states work

Infrastructure

ConceptWhat You'll Learn
Permit2How allowances and delegation work
PaymentProcessorHow payments are validated and executed
Keeper NetworkHow automated execution works
IndexerHow off-chain systems observe state

Quick Reference

"I want to understand..."

TopicRead
Why amser existsRAI
How subscriptions workSubscriptions
How usage-based billing worksUsage Credits
How users authorize spendingPermit2
How payments get executedPaymentProcessor
How keepers earn feesKeeper Incentives
What happens if the indexer goes downIndexer Trust Model
When a subscription is "active"Authorization State

"I'm building..."

Use CaseStart With
SaaS billingSubscriptionsPermit2
Metered API or usage billingUsage CreditsPermit2
Gated smart contractSubscriptionsAuthorization State
Keeper nodeKeeper NetworkPaymentProcessor
Dashboard/analyticsIndexer

Key Principles

These principles apply across all concepts:

Non-Custodial

Funds never leave user wallets until payment executes. There are no vaults, no deposits, no pooled balances.

Deterministic

Given the same on-chain state, any observer will reach the same conclusions about authorization status. No off-chain state is authoritative.

Idempotent

Every billing window can be processed at most once. Double-charges are impossible by construction.

User-Revocable

Users can pause or cancel at any time. No lock-in, no withdrawal delays.

All Concepts

Explore all concept documentation: