The signature is created through a cryptographic process using Ed25519 elliptic curve signatures:Documentation Index
Fetch the complete documentation index at: https://docs.redsentinel.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Step 1: Intent Message Construction
The judgment data is wrapped in an IntentMessage structure that includes:- Intent Scope: Identifies the operation type (e.g., AttackEvaluation)
- Timestamp: Millisecond-precision timestamp of the judgment
- Data Payload: The complete judgment result (verdict, scores, responses, etc.)
Step 2: Binary Canonical Serialization (BCS)
The intent message is serialized using BCS (Binary Canonical Serialization), the standard used across the Sui ecosystem. BCS ensures:- Deterministic encoding (same data always produces identical bytes)
- Compact representation (efficient on-chain storage)
- Cross-platform compatibility (works identically in Rust, TypeScript, Python)

