Skip to main content
Research Preview — The SDK is under active development.

Installation

The Astral SDK is a unified package that includes location attestations, geospatial computations, stamps, proofs, and the plugin system.

Package manager

Peer dependencies

The SDK requires ethers.js v6:

Basic initialization

Plugin registration

Register plugins at startup before using stamps or proofs:

With browser wallet

Read-only mode

For querying and verification without signing:

Configuration options

Supported chains

Submodule imports

You can import submodules directly for tree-shaking:

TypeScript support

The SDK ships with full type definitions:

Environment variables

For server-side applications:

Next: Location module

Learn about location attestation workflows