Clarity theorytheory 0/50 · 0%
Foundations · easy

4. Clarity Principals

Addresses and identities in Clarity.

A 'principal' is an entity that can own assets or call functions. There are two types: standard principals (wallet addresses) and contract principals (a contract's unique ID).

clarity
;; A standard principal
'SP3FG... 

;; A contract principal
'SP3FG...my-contract

Check your understanding

  1. 1. What is tx-sender?