sdk.core
Home > @blaze-cardano/sdk > Core
Core namespace
Classes
Class |
Description |
---|---|
Functions
Function |
Description |
---|---|
Function to create an Address from a credential. | |
addressFromCredentials(network, paymentCredential, delegationCredential) |
Function to create an Address from payment and optional delegation credentials. |
Function to create an Address from a validator script. | |
Function to compute the BLAKE2b-224 hash of a hex blob. | |
Function to compute the BLAKE2b-256 hash of a hex blob. | |
Function to derive the public key from a private key. | |
Converts a hex string to a byte array. | |
Converts an Address to a PaymentAddress. | |
Converts a Hash28ByteBase16 to an Ed25519PublicKeyHex format. | |
Converts a PolicyId to a Hash28ByteBase16 format. | |
Helper function to set the serialization era. | |
Function to compute the SHA2-256 hash of a hex blob. | |
Function to compute the SHA3-256 hash of a hex blob. | |
Function to sign a message with a private key. | |
Converts a byte array to a hex string. |
Interfaces
Interface |
Description |
---|---|
Cardano ledger protocol parameters. | |
The SlotConfig interface defines the configuration for slots. SlotConfig {number} zeroTime - The zero time for slot calculation. {number} zeroSlot - The zero slot. {number} slotLength - The slot length. |
Namespaces
Namespace |
Description |
---|---|
Variables
Variable |
Description |
---|---|
Function to create an Address from a Bech32 string. | |
Exporting CborSet from C.Serialization. | |
Function to convert entropy to a mnemonic. | |
Function to generate a mnemonic. | |
Hard coded protocol parameters for the Cardano ledger. These parameters are used as default values in the absence of network-provided parameters. | |
Function to convert a mnemonic to entropy. | |
Type Aliases
Type Alias |
Description |
---|---|
Type definition for CborSet. | |