Logo

Solana Attestation Service

An infrastructure public good for making attestations onchain or offchain about anything.

Teams using SAS

Blue Wolf
Blue Wolf
Blue Wolf

Integrating SAS allowed us to gate community access based on social trust scores — no more bots, no more headaches. It’s fast, neutral, and built exactly the way a Solana-native attestation layer should be.

Blue Wolf
Blue Wolf
Blue Wolf
Blue Wolf
Blue Wolf
Blue Wolf
Blue Wolf

Simple SDK, but very powerful results.
Our matchmaking now filters out bots using onchain attestations.

Blue Wolf

How SAS works?

Issuer

Issuer

Defines credential schema (or re‑uses an existing one) and signs attestation data via SAS SDK

SAS Program

SAS Program

On‑chain contract verifies issuer signature & writes attestation record

Holder

Holder

Receives the attestation (push or pull), stores reference in their wallet

Verifier

Verifier

Requests presentation; holder supplies attestation hash & signature

Use cases

Check More

How to implement

More in docs
// PDA ["schema", credential, name, version]
#[derive(Clone, Debug, PartialEq, ShankAccount)]
#[repr(C)]
pub struct Schema {
    /// The Credential that manages this Schema
    pub credential: Pubkey,
    /// Name of Schema, in UTF8-encoded byte string.
    pub name: Vec<u8>,
    /// Description of what schema does, in UTF8-encoded byte string.
    pub description: Vec<u8>,
    /// The schema layout where data will be encoded with, in array of SchemaDataTypes.
    pub layout: Vec<u8>,
    /// Field names of schema stored as serialized array of Strings.
    /// First 4 bytes are number of bytes in array.
    pub field_names: Vec<u8>,
    /// Whether or not this schema is still valid
    pub is_paused: bool,
    /// Version of this schema. Defaults to 1.
    pub version: u8,
}

Learn with guides

View more

Start building on SAS today

An infrastructure public good for making attestations onchain or offchain about anything.