Developer documentation
This is the LiteDAG documentation aimed to developers.
General overview of the LiteDAG architecture
The LiteDAG command-line software has two binaries: litedag-node and litedag-wallet-cli.
litedag-node
litedag-node is the core piece of software for the LiteDAG protocol. It processes blocks and transactions and verifies the consensus.
You can interact with the LiteDAG node using the node RPC.
If you want to integrate LiteDAG mining (for example, you want to integrate it into a mining pool), you should use the LiteDAG node’s stratum server. It sends jobs for miners and receives blocks found.
litedag-wallet-cli
litedag-wallet-cli is the command line wallet. It connects to a LiteDAG node and can process commands from the command-line (or optionally from RPC requests).
You can interact with the LiteDAG node using the wallet RPC.
LiteDAG SDKs
At the time of writing, there are these SDKs for the LiteDAG node and wallet RPC.
- litedag-blockchain/rpc/daemonrpc: Official Golang SDK for the LiteDAG daemon RPC.
- litedag-blockchain/rpc/walletrpc: Official Golang SDK for the LiteDAG wallet RPC.