Toolbox Components
LCT provides reference implementations of the modules which make up the SPV (Simple Payment Verification) infrastructure as initially described in the Bitcoin Whitepaper along with a few extensions and additional features. All components are designed to be very modular so that different people can use different components of the toolbox depending on their needs, as well as easily replace or upgrade separate components.
Each module provides a fixed functionality (for example, HeadersSV providing block headers of the longest chain-tip) using libraries which are essential for any application developer who is building a blockchain integrated application.
The components in this reference implementation are as follows:
Component
Description
Reference Implementations
Chain Verification
HeaderSV, bitcoin-hc
Transaction Broadcasting and Merkle proof call-backs
mAPI, MinerId
Invoicing Protocols
dpp-proxy
Payment Execution
Peer Channels CE
  • Address and Service discovery
  • Identity management and feature negotiation
paymail-server
Keys and UTXO management
PayD
Bitcoin Utility libraries
LiBSV, openspv, bitsv
LiteClient Toolbox Components
As shown in the above illustration, there are various components that make up the setup required for any application that would like to send and receive Bitcoin payments, and any Bitcoin token or asset. The LiteClient structure lays the foundation to be extended for various use cases such as payment/state channels, multi-party payments, token/NFT transfers, data certification verification.
More detailed explanations of the separate components can be found further in the documentation.
The most common usage of LiteClient will be to build a merchant application to support a Bitcoin SV payment method. Wallet providers can use PayD as a template to utilise features such as SPV, headers client and the DPP specification. They can also benefit by using the PayMail reference implementation if they choose to use PayMail capabilities as well.
Copy link