Skip to main content

SDK Reference

ALX Protocol is published as three implementations, one per language. Each creates, validates, and traces Blocks from the same protocol rules, and each is checked against the same conformance vectors before release, so a Block created in one verifies in the others.

Published Implementations

LanguagePackageRegistryInstall
JavaScript and TypeScript@alx-protocol/sdknpmnpm i @alx-protocol/sdk
Pythonalx-protocolPyPIpip install alx-protocol
Rustalx-protocolcrates.iocargo add alx-protocol

When to Choose an Implementation

Choose by runtime, not by capability: every core operation is present in all three. The JavaScript package is the broadest developer surface and the only one that bundles EIP-712 signing; Python and Rust cover the same core, Ed25519 and P-256 signing, and Merkle helpers. Protocol truth is the specification and the conformance vectors, not any one package.