How Does kOS Work?

This page is dedicated to illustrating how the KRNL Operating System, kOS, works when a dApp submits a transaction to a smart contract, and how smart contracts receive responses from kernels.

Keep in mind that figures are high-level concepts.


1. A dApp sends a request to the KRNL node

Step 1: dApp to KRNL node

2. The KRNL node sends a request to the list of predefined kernels

Step 2: KRNL node to list of kernels

3. Each kernel will be executed until all selected kernels are completed

Step 3: Kernels are executing

4. Responses from kernels will be sent back to the KRNL node

Step 4: Kernels send responses to the KRNL node

5. The node sends received responses to Token Authority

Step 5: The KRNL node sends kernels' responses to TA

6. Token Authority examines the responses and passes them back to the node

Step 6: TA sends back to KRNL node

7. The KRNL node provides responses from Token Authority to a dApp

Step 7: KRNL node to dApp

8. A dApp is able to submit a transaction to a smart contract

Step 8: dApp submits transaction to smart contract

A smart contract will receive the responses from the selected kernels and Token Authority.

It will then make the final decision whether the transaction should go through (succeed) or not (failure).

Last updated

Was this helpful?