What is Covenant ID ownership in Kaspa's scripting system?

Covenant ID ownership is the way one Kaspa contract establishes authority over another. A covenant is a self-enforcing script that controls how an output on the Kaspa network can be spent. When one covenant stores a second covenant's unique ID as part of its own state, it gains the ability to govern that second covenant — requiring its presence in any transaction that touches the controlled output. This is verified on-chain using template validation, so no trusted third party is needed to enforce the relationship. The practical payoff for beginners: Covenant ID ownership is the building block for complex multi-contract applications on Kaspa without leaving the security of Layer 1.

Learn more ›