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

Installation

The Astral SDK v0.2.0 is a unified package that includes both location attestations and geospatial computations.

Package Manager

Peer Dependencies

The SDK requires ethers.js v6:

Basic Initialization

With Browser Wallet

Read-Only Mode

For querying and verification without signing:

Configuration Options

Supported Chains

Custom Schema Configuration

TypeScript Support

The SDK is written in TypeScript and ships with full type definitions:

Submodule Imports

You can also import submodules directly for tree-shaking:

Environment Variables

For server-side applications:

Next: Location Module

Learn about location attestation workflows