Core signing logic, BLS/Ed25519 keys, and slashing protection rules for Nklave.
- BLS Signatures - Ethereum validator signing with slashing protection
- Ed25519 Signatures - Cosmos/CometBFT validator signing
- Slashing Protection - Enforces surround vote and double vote prevention
- State Integrity - Cryptographic chaining of signing decisions
- Key Management - EIP-2335 keystore support with encryption
use nklave_core::{SigningService, BlsKeypair};
// Create a signing service with a keypair
let keypair = BlsKeypair::generate();
let service = SigningService::new(vec![keypair]);
// Sign an attestation (with slashing protection)
let result = service.sign_attestation(
&pubkey,
source_epoch,
target_epoch,
signing_root,
)?;aws-kms- Enable AWS KMS key provider supportvault- Enable HashiCorp Vault key provider support
MIT License - Cryptuon