Workflow
Submitting a KRC-20 Transaction
Users initiate a KRC-20 operation (e.g., a token transfer) in a wallet or DApp to construct the transaction data. The required fees are then calculated according to the Fee Model, including both Layer-1 and KRC-20. After signing, the transaction is broadcast to Kaspa nodes; once it receives Layer-1 confirmation, it is admitted into KRC-20 execution.
KRC-20 Node Processing
KRC-20 nodes continuously ingest, parse, and perform basic validation continuous data flows from the Layer-1 ordered transaction stream in real time. For valid KRC-20 transactions (OPs), the Lyncs engine executes them deterministically, reading and writing KRC-20 state and producing updated state commitments and checkpoint hashes. The processing pipeline will also respond in real time to Layer-1 reorganization events, including monitoring, conditional rollback, and re-execution as required.
RTD-Rollup Process
Miners retrieve the latest checkpoint data and related metadata from KRC-20 nodes and embed it into the payload of Layer-1 blocks during block production. Once the Rollup-bearing block is confirmed on Layer-1, KRC-20 nodes detect the embedded data, verify its validity according to the consensus rules, and compute the corresponding rewards and settlement. As additional Layer-1 blocks get confirmed, KRC-20 state finality is progressively established.
Last updated