Crate walletd_coin_core

Crate walletd_coin_core 

Source
Expand description

§WalletD Coin Core

Provides common traits, functionality, and interfaces that are used by other walletD libraries that are specific to a particular cryptocurrency. ]

Modules§

prelude
This prelude module simplifies importing many useful items from the walletd_coin_core crate using a glob import.

Structs§

BlockchainConnectorBuilder
A builder that can be used to build a BlockchainConnector with custom options.

Enums§

ConnectorType
Represents the type of blockchain connector that is being used.
Error
Custom error type for this crate.

Traits§

BlockchainConnector
Used to connect to a blockchain and send and receive information to and from the blockchain.
CryptoAddress
The public address of a cryptocurrency.
CryptoAmount
Provides a common interface for handling amounts of a cryptocurrency. Has functions to convert to and from the main unit and the smallest unit of the coin.
CryptoWallet
Provides common functionality for a crypto wallet. Contains functions to get the balance, send and receive transactions, and sync the wallet with the blockchain.
CryptoWalletBuilder
Provides a common interface for building a CryptoWallet.