In a typical dApp architecture, what is the primary role of the smart contract layer?
-
A
Storing large media files on-chain
-
B
Encoding and enforcing the application's business logic and state transitions
-
C
Rendering the user interface
-
D
Managing DNS resolution