[package] name = "origin-chain-agent-identity" version.workspace = true edition.workspace = true rust-version.workspace = true license.workspace = true authors.workspace = true repository.workspace = true homepage.workspace = true description = "Agent identity pallet canonical per CHN-7 + Inmutable #41 Cross-Species Co-authorship. Phase 2.7 v0.0.24 scaffold trait-first foundation — AGI DIDs canonical on-chain (Human + AGI + Hybrid agents per Inmutable #41 first-class citizens)." [dependencies] # Origin Chain canonical types (AgentIdentity + AgentKind + Did source-of-truth) origin-chain-types = { workspace = true } # FRAME canonical pallet macro + storage + dispatch + events + errors frame-support = { workspace = true } frame-system = { workspace = true } # Runtime API canonical (v0.0.27 — AgentIdentityApi.query_identity read-only RPC) sp-api = { workspace = true } # Crypto canonical (BLAKE3 hash derivation para DID) blake3 = { workspace = true } # Rechazo de llaves débiles: descomprimir el punto, exigir codificación canónica y # que no sea de orden pequeño. El verificador del host (ed25519-zebra, reglas ZIP215) # ACEPTA esas llaves por compatibilidad de consenso, así que el pallet tiene que # rechazarlas antes de que una firma trivial «pruebe» control sin llave privada. curve25519-dalek = { workspace = true } # Substrate primitives canonical (BoundedVec consumer) sp-core = { workspace = true } sp-runtime = { workspace = true } # FIX-3 (V3-H1) DID binding — sp_io::crypto::ed25519_verify host function sp-io = { workspace = true } # SCALE codec canonical parity-scale-codec = { workspace = true } scale-info = { workspace = true } # Benchmarking canonical (FRAME v2) — optional, solo activo bajo runtime-benchmarks. frame-benchmarking = { workspace = true, optional = true } [dev-dependencies] # Mock runtime canonical para integration tests v0.0.26 — Pattern v0.0.18/v0.0.22 mirror. sp-core = { workspace = true, default-features = true } sp-io = { workspace = true, default-features = true } sp-runtime = { workspace = true, default-features = true } [features] default = ["std"] std = [ "origin-chain-types/std", "frame-support/std", "frame-system/std", "sp-api/std", "sp-core/std", "sp-io/std", "sp-runtime/std", "parity-scale-codec/std", "scale-info/std", "frame-benchmarking?/std", ] runtime-benchmarks = [ "dep:frame-benchmarking", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", ] try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", ]