Axion
Developers · Docs preview

Build, verify, anchor, query.

A preview of the Axion developer surface. The full documentation, SDK reference and node guide will ship with the public testnet.

Register a project

Publish a project entry to the Axion registry, linking a human-readable name to a content hash and owner.

TypeScript
import { Axion } from "@axion/sdk";

const axion = new Axion({ network: "testnet" });

await axion.registry.register({
  name: "project.axion",
  contentHash: "QmX8...",
  owner: wallet.address,
  metadata: {
    version: "1.0.0",
    category: "DeFi",
    audit: "verified"
  }
});

Query trust score

Retrieve the live Trust Score and its underlying signals for any registered project.

TypeScript
const result = await axion.trust.score("project.axion");

// {
//   score: 87,
//   risk: "low",
//   signals: {
//     ownerVerified: true,
//     storageIntegrity: "valid",
//     auditProof: "verified",
//     scamReports: 0
//   }
// }

Verify ownership

Cryptographically verify that a wallet still controls a project entry.

TypeScript
const proof = await axion.identity.proveOwnership({
  project: "project.axion",
  challenge: "0x7af..."
});

const ok = await axion.identity.verify(proof);
// true

Anchor state root

Submit a rollup state root to be included in the next Bitcoin anchor batch.

TypeScript
await axion.rollup.anchor({
  stateRoot: "0x9b3a...",
  network: "bitcoin",
  priority: "standard"
});

// returns: { txid: "abc123...", anchoredAt: 845210 }

Run an Axion node

The Axion node is being developed in Rust. Public binaries and a setup guide will be available with the testnet release.

bash
# preview, not yet released
curl -fsSL https://get.axion.dev | sh
axion node init --network testnet
axion node start