Skip to main content

Prerequisites

  • Node.js 18+
  • Stellar testnet account with XLM (Friendbot)
  • Basic TypeScript knowledge

Installation

Client Setup

1. Create a Schema

Schemas define the structure of your attestations.
Schema Definition Syntax:
  • string - Text values
  • bool - True/false
  • u32, u64, i32, i64 - Integers
  • bytes - Binary data

2. Create an Attestation

3. Query Attestations

4. Revoke an Attestation

Only works if schema has revocable: true.

BLS Delegation (Gas-less)

Allow third parties to submit attestations on your behalf.

Error Handling

Contract Addresses

Next Steps

Schema Design

Best practices for schema design

SDK Reference

Complete method reference