Asset-oriented programming: resources, auth, testing, and design patterns.
Scrypto is built on asset-oriented programming β a paradigm where digital assets are first-class primitives managed by the Radix Engine , not arbitrarβ¦
A resource is any digital asset on Radix β tokens, NFTs , badges , LP tokens, etc. Unlike Solidity where tokens are contract state, Radix resources arβ¦
In most smart contract platforms, access control is based on the caller's address β a pattern that leads to fragile permission systems and common explβ¦
Components can emit events during transaction execution. Events are encoded in SBOR and stored in the transaction receipt β useful for indexing, analyβ¦
Once your development environment is set up, the next step is understanding the Scrypto development workflow: creating packages, writing blueprints ,β¦
Radix enforces a strict invariant: every resource must exist inside a container at all times. There are two container types: Vaults (permanent, on-ledβ¦
Scrypto separates the concept of "smart contract" into two distinct things: blueprints (reusable templates) and components (live instances on the ledgβ¦