mirror of
https://github.com/hanzoai/chains.git
synced 2026-10-30 18:46:11 +00:00
* hanzo-evm: aiquorum + aimarket precompiles, evmllm (geth AI precompile + e2e), operator/canonical (commit/reveal, int8-quant), aiffi bench. Thinking-chain substrate. * hanzo-evm/evm: wire AI precompiles (inference 0x0300..03 + modelregistry) Registers deterministic int8 inference (Tier-1 in-consensus AI) + ModelSpec registry into the Hanzo EVM. threshold dep aligned to v1.9.4 (go.mod match). Builds green (55M binary). aivmbridge follows luxfi/precompile release.
30 lines
954 B
Go
30 lines
954 B
Go
// Copyright (C) 2026, Hanzo AI Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
// Command capstone runs the full LLM-quorum-settlement pipeline against the REAL
|
|
// native engine and the REAL aiquorum precompile, printing the end-to-end trace:
|
|
// governance -> staked operator quorum (real engine) -> on-chain commit/reveal ->
|
|
// Settle, proving the settled canonical hash IS the engine's output.
|
|
//
|
|
// Run:
|
|
//
|
|
// HANZO_FFI_MODELS="zen-nano=gguf:/tmp/zen5-weights/zen-5-flash.gguf;zen-embed=embedding:/tmp/zen-embedding-0.6B" \
|
|
// HANZO_FFI_TOK_DIR=/tmp/zen-nano-fused \
|
|
// GOWORK=off CGO_ENABLED=1 SDKROOT=$(xcrun --show-sdk-path) CPATH=$SDKROOT/usr/include \
|
|
// go run ./cmd/capstone
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"github.com/hanzoai/chains/hanzo-evm/operator/capstone"
|
|
)
|
|
|
|
func main() {
|
|
if _, err := capstone.Run(os.Stdout); err != nil {
|
|
fmt.Fprintf(os.Stderr, "\nCAPSTONE FAILED: %v\n", err)
|
|
os.Exit(1)
|
|
}
|
|
}
|