export-aptos-verifier-core 0.1.1

Load Groth16 artifacts from snarkjs JSON or Arkworks bundles and generate Aptos Move verifier packages.
Documentation
1
2
3
4
5
6
7
8
9
10
pub mod endian;
pub mod hex;

pub use endian::to_le_padded_bytes;
pub use hex::to_hex as to_move_hex;

/// Convert bytes to lowercase Move hex literal without prefix and without escaping.
pub fn move_hex_literal(data: &[u8]) -> String {
    format!("x\"{}\"", hex::to_hex(data))
}