Crate yotquitas_core

Crate yotquitas_core 

Source
Expand description

Yotquitas Core Library

This crate provides the foundational data structures and cryptographic primitives for the Yotquitas blockchain.

Re-exports§

pub use account::Account;
pub use account::AccountType;
pub use block::Block;
pub use block::BlockHeader;
pub use block::compute_merkle_root;
pub use transaction::Transaction;
pub use transaction::TransactionPayload;
pub use transaction::TransactionReceipt;
pub use transaction::TransactionLog;
pub use transaction::Address;
pub use crypto::Hash;
pub use crypto::PublicKey;
pub use crypto::Signature;
pub use crypto::sha256;
pub use crypto::double_sha256;
pub use crypto::generate_keypair;
pub use crypto::sign;
pub use crypto::verify;
pub use crypto::encode_hex;
pub use crypto::decode_hex;
pub use crypto::address_from_public_key;
pub use crypto::validate_address;
pub use crypto::address_from_public_key_bytes;

Modules§

account
Account types and structures for Yotquitas
block
crypto
transaction

Structs§

SigningKey
ed25519 signing key which can be used to produce signatures.