Skip to content
aoxcPublic

About

A modular blockchain framework written in Rust, focusing on deterministic execution and security-first networking. πŸ¦€β›“οΈ

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

938 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AOXChain Logo

AOXChain

Deterministic, universe-lane Layer-1 engineering focused on low-hardware scaling, policy-governed authority, fail-closed validation, and evidence-driven operations.

Status Notice (Pre-Release)
This repository is under active development. Runtime behavior, command surfaces, and governance policy may change between commits. Treat all workflows as pre-release unless an explicit release artifact and evidence bundle declares otherwise.


1) Project Overview

AOXChain is an experimental Layer-1 blockchain program built around a strict principle: protocol truth is enforced by deterministic kernel behavior and governance-managed cryptographic policy, not by operator discretion.

Core Objectives

  • Deterministic state transitions across nodes.
  • Fail-closed validation before execution.
  • Explicit authority separation across account, validator, governance, and recovery domains.
  • Cryptographic agility through profile-driven migration controls.
  • Reproducible evidence for audits, release readiness, and operational traceability.

2) Repository Map

Primary top-level surfaces:

  • crates/ β€” Rust workspace crates (protocol, consensus, execution, networking, CLI, tooling).
  • configs/ β€” Runtime profiles, policy inputs, and environment configuration.
  • docs/ β€” Architecture, operations, and implementation references.
  • scripts/ β€” Automation and evidence-generation helpers.
  • tests/ β€” Integration and cross-component validation suites.
  • artifacts/ β€” Generated outputs for verification and audit trails.
  • models/ β€” Machine-readable readiness and governance metadata.
  • contracts/ β€” Contract-facing references and integration surfaces.

3) Canonical Governance Documents

For engineering and review decisions, read these in order:

  1. READ.md β€” Normative technical contract and invariants.
  2. SCOPE.md β€” Scope boundaries, exclusions, and sensitive change classes.
  3. ARCHITECTURE.md β€” Component topology, trust boundaries, and dependency direction.
  4. TESTING.md β€” Validation obligations and readiness expectations.
  5. SECURITY.md β€” Security posture and disclosure handling.
  6. VERSIONING.md β€” Compatibility and release governance.
  7. CONTRIBUTING.md β€” Contribution and review protocol.
  8. docs/ENERGY_AND_CULTURAL_NETWORK_DESIGN.md β€” Proposed bounded treasury emission, energy-evidence, and cultural archive model.

README.md is the operational entrypoint; READ.md is the normative contract.


4) Execution and Validation Model

AOXChain follows a policy-first admission pipeline:

  1. Ingress is treated as untrusted input.
  2. Validation runs before execution (actor identity, scheme profile, policy root, proof bundle, replay protection).
  3. Consensus-owned truth is enforced by kernel rules.
  4. Deterministic execution proceeds only after admission succeeds.
  5. State updates and audit evidence are persisted.

Normative authority chain:

actor -> scheme_id -> policy_root -> proof_bundle -> replay_check -> execute

Operational implication: correctness depends on validation and policy gates, not ad-hoc operator override.


5) Primary Runtime Surfaces

  • aoxc (crates/aoxcmd) β€” Primary operator CLI.
  • aoxchub (crates/aoxchub) β€” Hub/service entrypoint.
  • aoxckit (crates/aoxckit) β€” Companion operational toolkit.
  • crates/kernel/ β€” Core consensus and canonical protocol logic.

6) Prerequisites

Minimum local environment:

  • Rust toolchain compatible with Cargo.toml / Cargo.lock.
  • POSIX shell.
  • GNU make.

Optional:

  • Docker or Podman for containerized runtime workflows.

7) Quick Start

make help
make build
make test
make quality

Use make help first to inspect host-specific targets before selecting a workflow.


8) Command Surfaces

8.1 Build

make build
make build-release
make build-release-all

8.2 Quality and Validation

make fmt
make check
make test
make clippy
make audit
make quality

8.3 Readiness / Closure Gates

make production-full
make phase1-full
make quantum-readiness-gate
make aoxcvm-production-closure-gate
make quantum-full
make testnet-gate
make testnet-readiness-gate

8.4 Runtime Lifecycle

make runtime-source-check
make runtime-install
make runtime-verify
make runtime-activate
make runtime-status
make runtime-doctor

Recommended sequence:

  1. runtime-source-check
  2. runtime-install
  3. runtime-verify
  4. runtime-activate
  5. runtime-status
  6. runtime-doctor

8.5 Chain Bootstrap (Persistent)

make chain-help
make chain-init AOXC_BOOTSTRAP_PROFILE=validation AOXC_VALIDATOR_NAME=validator-01 AOXC_VALIDATOR_PASSWORD='StrongPass#2026'
make chain-add-account AOXC_NEW_ACCOUNT_ID=AOXC_USER_0001 AOXC_NEW_ACCOUNT_BALANCE=1000000 AOXC_NEW_ACCOUNT_ROLE=user
make chain-add-validator AOXC_VALIDATOR_ID=aoxc-val-custom-001 AOXC_CONSENSUS_PUBLIC_KEY=<hex> AOXC_NETWORK_PUBLIC_KEY=<hex> AOXC_VALIDATOR_BALANCE=50000000
make chain-start-persistent

8.6 Operator Workflows

make demo
make localnet
make devnet
make testnet
make doctor
make audit-chain
make reset

Persistent multi-node testnet supervisor (/mnt/xdbx/aoxc default):

make aoxc-q-up AOXC_Q_MODE=local AOXC_Q_ENV=testnet AOXC_Q_PROFILE=testnet AOXC_Q_NODES=7 AOXC_Q_FORCE=1
make aoxc-q-status AOXC_Q_MODE=local AOXC_Q_ENV=testnet AOXC_Q_NODES=7

Operational note: aoxc-q provisions identity-side genesis.json, validators.json, bootnodes.json, and certificate.json per node so genesis-validate --strict and genesis-production-gate can be evaluated directly with --home <node-home>.

8.7 Packaging and Release

make package-bin
make package-all-bin
make package-versioned-bin
make package-versioned-archive
make publish-release

Signed release support:

make repo-release-keygen
make repo-release-signed
make repo-release-signed-verify
make repo-release-prepare
make repo-release-validate

9) Minimum Readiness Baseline

A minimal readiness evaluation should include:

make build
make test
make quality
make audit
make testnet-gate
make testnet-readiness-gate

If required gates fail, or are skipped without an approved exception, treat the system as NOT_READY.


10) Production Roadmap

The repository is versioned as 0.2.0-alpha.4. Production readiness requires only evidence-backed closure of the remaining operational gates below:

  1. Replace all production-facing placeholder keys, certificates, bootnodes, and validator records with governed real values.
  2. Run and retain full release evidence for formatting, clippy, workspace tests, audit, quantum readiness, testnet readiness, and production closure gates.
  3. Publish a signed release package with SBOM, provenance, checksums, and certificate artifacts.
  4. Complete operator runbooks for key rotation, validator recovery, quantum-profile cutover, rollback, and incident response.
  5. Reconcile mainnet environment hashes after final genesis, validator, and topology files are sealed.

No item above is a decorative roadmap entry; each item blocks a production-ready mainnet declaration until evidence is retained.

Beta Candidate Direction

The next meaningful beta path is the universe-lane model: independent low-hardware execution lanes validate local activity and submit bounded anchor commitments to AOXC instead of pushing every local transaction onto one global chain. A beta label should wait until lane registry persistence, anchor commitment admission, dispute evidence, multi-lane localnet supervision, and lane-load metrics are implemented and evidenced.

Universe-Lane Operator Preview

The first operator-facing preview is:

aoxc universe status --profile low-hardware --format json

This command reports the current universe-lane foundation, low-hardware policy envelope, mandatory roots, and beta blockers without claiming production finality.

11) Security, License, and Liability

AOXChain is distributed under the MIT License and provided on an "AS IS" basis, without warranty.

For security classes, disclosure process, and operational posture, see SECURITY.md.

About

A modular blockchain framework written in Rust, focusing on deterministic execution and security-first networking. πŸ¦€β›“οΈ

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages