03 Learn
Short notes for pausing a video and reading the idea once.
BlockDAG
Kaspa does not line blocks up in a single chain. A new block can name several
parents, so blocks found at the same moment all stay in the record. That structure
is a blockDAG: a directed acyclic graph of blocks.
On a single chain, two blocks found together force a choice. One becomes the chain
and the other is an orphan, so its work is wasted. A blockDAG keeps both. That is
what lets Kaspa aim for many blocks per second without throwing most of them away.
The tips figure above is how many blocks currently have no child. Several tips at
once is the normal shape of the DAG, not a sign that the network has split.
GHOSTDAG
Keeping every block still requires one order. Anyone accepting a payment has
to agree which transaction came first. GHOSTDAG is the rule Kaspa uses to produce
that order.
It looks at how blocks point at each other. A well-connected cluster is marked blue
and becomes the ordered history. Blocks that sit poorly connected are marked red:
they stay in the DAG, but they do not set the order of transactions. The parameter
k is how wide that blue cluster is allowed to be, so an honest network can publish
blocks in parallel and stay blue.
Bitcoin's longest chain is the familiar special case, where a parallel block is
mostly discarded. GHOSTDAG generalizes that idea: it keeps the parallel blocks, then
sorts them.
PHANTOM and GHOSTDAG paper
Fair launch, no premine
Kaspa's documented launch has no premine and no coins set aside for founders or a
sale. Coins enter circulation as mining rewards. Mainnet started on 7 November 2021.
After an early phase, the chromatic schedule began in May 2022. The reward declines
every month by a factor of (1/2)1/12, so it halves about once a year,
smoothly rather than in one cut. Each step is tied to a DAA score, which means the
calendar date can drift if the block rate drifts. The cap in the stats strip is the
max supply reported by the public API, about 28.7 billion KAS.
Kaspa Wiki — Tokenomics
What K, formerly KaChat, is
K is a messaging protocol that rides on Kaspa. It used to be called KaChat. A
message is encrypted on the sender's device, then placed in the payload of an
ordinary Kaspa transaction. The project describes the seal as ECDH on secp256k1, a
HKDF-SHA256 key, and ChaCha20-Poly1305.
The BlockDAG stores the ciphertext, not the readable text. Tags such as
kchat:1: mark the payload so a client can find it. An indexer can point
an app at the right transactions, and it only sees ciphertext. The recipient
decrypts locally. Older clients used a ciph_msg:1: tag. K is not a
separate chain.
This page only explains that messaging. It does not ask you to install anything,
connect a wallet, or type a seed phrase.
How the encryption is described