On-chain Components
Last updated
Last updated
The Refract Framework Token (RFT) Standard is the scalable data framework that defines the RFT standard, which powers the entire Refract Network. This framework establishes a common interface between various on-chain and off-chain resources, enabling modular interoperability with zero implementation overhead. The RFT Framework can be thought of as the "skeleton" of the Refract Network, providing the structural foundation upon which all other components are built.
The RFT standard introduces a novel token type that combines the properties of both fungible and non-fungible tokens, allowing for greater flexibility and programmability. RFTs can represent a wide range of assets and services, from loyalty points and memberships to digital collectibles and access tokens. By providing a standardized format for these tokens, the RFT Framework simplifies the process of integrating off-chain services into decentralized applications and allows for unlimited interoperability opportunities.
The Prism Engine is the programmable data engine that defines how RFTs can interoperate with each other, supporting both deterministic and probabilistic logics. This powerful component can be considered the "soul" of the Refract Network, enabling developers to create complex, asynchronously accessible logics that trustlessly mutate the states of RFTs based on predefined rules.
One of the key applications of the Prism Engine is , which allows creator users to programmably combine different RFTs to create new, unique RFTs. This system functions as a programmable input/output machine, enabling developers to define custom recipes for merging, splitting, or transforming RFTs based on specific conditions or events. The Crafting Recipe System opens up a world of possibilities for creating dynamic, interactive, and composable tokens that can adapt to various use cases and user interactions.
The Nexus Engine is the smart exchange system that governs how RFTs can be traded, exchanged, and interacted with via programmable rules. This component acts as a secure, decentralized gateway for RFT transactions, ensuring that all interactions adhere to the predefined rules and conditions set by the token creators and the Refract Network.
One notable application of the Nexus Firewall is the concept of Durability-bounded RFTs. These tokens utilize the dynamic data field of RFTs to maintain a durability value, which decreases over time or with use. When the durability reaches zero, the RFT becomes soulbound, meaning it cannot be transferred or traded. This mechanism allows for the creation of tokens that represent temporary access rights, limited-use assets, or other conditional ownership models, enabling developers to design more nuanced and context-specific token economies.