github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/docs/glossary.md (about)

     1  # Glossary
     2  
     3  <!-- TODO: generate TOC -->
     4  
     5  ## `p/` - "Pure" packages
     6  
     7  A `p/` package denotes a "pure" package within the system. These packages are
     8  crafted as self-contained units of code, capable of being independently imported
     9  and utilized.
    10  
    11  Unlike `r/` realms, `p/` packages do not possess states or assets. They are
    12  designed specifically to be called by other packages, whether those packages are
    13  pure or realms.
    14  
    15  ## `r/` - "Realm" packages
    16  
    17  An `r/` realm designates a package endowed with advanced capabilities, referred
    18  to as a "realm".
    19  
    20  Realms can accommodate a diverse array of data and functionalities, including
    21  Bank State, Data State, and Address.
    22  
    23  They are purposed to furnish and expose features for both user-initiated calls
    24  and as components invoked by other realm packages.