Skip to main content

Reference verifier for AXIOMAX ESG Carbon Shield cryptographic carbon attestation tokens (ed25519 + SHA-256). Patent Pending USPTO 64/081,419.

Project description

axiomax-esg-verify

Reference verifier for AXIOMAX ESG Carbon Shield cryptographic carbon attestation tokens.

Patent Pending USPTO Application 64/081,419 (filed June 3, 2026). Operated by AXIOMAX LLC, Salinas, Puerto Rico.

Install

npm install axiomax-esg-verify

Works in Node.js (>= 18) and modern browsers (Web Crypto API ed25519).

Usage

import { verifyToken } from 'axiomax-esg-verify';

const token = JSON.parse(fs.readFileSync('token.json', 'utf-8'));
const publicKeyPem = fs.readFileSync('client_public.pem', 'utf-8');

const result = await verifyToken(token, publicKeyPem);

if (result.valid) {
  console.log(`✓ VALID · ${result.n_inferences} inferences certified · ${result.total_wh_saved} Wh saved`);
} else {
  console.error(`✗ INVALID · ${result.reason}`);
}

How it works

Every AXIOMAX ESG attestation token is signed with ed25519 against a per-client public key. This package implements the canonical verification algorithm:

  1. Remove the signature_ed25519 field from the token
  2. Canonicalize the remaining JSON (sorted keys, minimal separators)
  3. Verify the ed25519 signature over those bytes using the client's public key

If any field in the token has been tampered with, the signature check fails.

Client public keys

Master and per-client public keys are published at https://github.com/axiomaxllc/esg-carbon-shield/tree/main/public_keys

License

MIT License for this package. The AXIOMAX ESG Carbon Shield system architecture, calibration coefficients, and brand are proprietary to AXIOMAX LLC (Patent Pending).

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

axiomax_esg_verify-1.0.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

axiomax_esg_verify-1.0.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file axiomax_esg_verify-1.0.0.tar.gz.

File metadata

  • Download URL: axiomax_esg_verify-1.0.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for axiomax_esg_verify-1.0.0.tar.gz
Algorithm Hash digest
SHA256 016ef0f5f5e52b413dd611494a07de0efd3ea756dc40b15c695a7fd5e8a86f47
MD5 81bcd9c012e7ecf6552cf03b6d8d0a05
BLAKE2b-256 1ac2cff73f07180fa893138f4108c54f4e1af41cdc886c887bdb0b360cd1629f

See more details on using hashes here.

File details

Details for the file axiomax_esg_verify-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for axiomax_esg_verify-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d077720f2f1911d773eca947f3ef31ff92d5087afca3e3560514a764bd61f022
MD5 c8fcf46c7baba6737f451b140ea93258
BLAKE2b-256 5482df31bb5d8608c80912eceb83d2949d9a852ae8282e6ec51aa5f3626cb7e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page