amadeus-utils
Cryptography, serialization, and database utilities for the Amadeus blockchain.
Installation
[]
= "1.3"
Features
- BLS12-381 - BLS signatures and public key operations
- Blake3 - Fast cryptographic hashing with optional parallelization
- Reed-Solomon - Erasure coding for data sharding
- vecpak - Efficient binary serialization (serde-compatible)
- safe_etf - Deterministic Erlang Term Format encoding
- RocksDB - Transactional key-value database wrapper
Quick Example
use bls12_381;
// Generate keypair and sign
let sk = generate_sk;
let pk = get_public_key?;
let sig = sign?;
// Verify
verify?;
use blake3;
let hash = hash; // [u8; 32]
use ;
let mut opts = default;
opts.create_if_missing;
let db = open?;
let txn = db.transaction;
txn.put?;
txn.commit?;
Feature Flags
rayon- Enable parallel Blake3 hashingsystem-metrics- System resource monitoring
Documentation
For detailed API documentation, see docs.rs/amadeus-utils.
License
Apache-2.0