đąFluff - A Custom Mini-Language for Web 3.0
Fluff is a new custom Web 3.0 mini-language designed to easily create and deploy custom NFT-specific bots. Developed by FlipGuard/Boaven.
Features of Fluff
Configuration Structure: Fluff uses a structured configuration format to define the behavior of custom bots. The configuration consists of triggers, preconditions, condition blocks, and action blocks.
Trigger Definition: Users can declare the specific event that should trigger the bot, such as a listing or sale event.
Preconditions Block: This block allows users to define conditions that must be met by the event before it's forwarded to condition blocks. It also provides special meaning to certain conditions related to collections and marketplaces.
Condition Blocks: Users can define multiple condition blocks using the "if" keyword, which specifies the conditions that need to be satisfied for the associated actions to be executed.
Action Blocks: These blocks define the actions that should be executed when the conditions in the associated condition block are met. Users can perform various actions, such as sending messages to Discord channels.
Optional Configuration Options: Fluff provides additional constructs to enhance bot configuration. Users can define constants that can have fixed or dynamic values based on conditions. These constants can be used within condition blocks and message templates. Fluff also supports extensions, allowing users to define constants in separate files and import them for use in their bots.
Use Cases of Fluff
Automated Notifications: Fluff can be used to create bots that monitor specific collections or marketplaces and send notifications when certain events occur, such as new listings or sales.
Price Condition Monitoring: Users can define bots that react to specific price conditions, enabling actions when an NFT's price falls below a certain threshold or reaches a specific value.
Trait-based Actions: Fluff allows users to define custom logic based on NFT traits, enabling actions when specific traits are present or absent in an NFT.
Custom Integrations: Fluff supports integration with external platforms, such as Discord, allowing users to send messages or notifications to specific channels or users.
Benefits of Using Fluff
Flexibility: Fluff provides a flexible and intuitive syntax for defining bot behavior, allowing users to create complex conditions and actions.
Automation: With Fluff, users can automate tasks and reactions to specific events in the blockchain ecosystem, reducing the need for manual monitoring and intervention.
Extensibility: The ability to define and import constants through extensions makes the bot configuration more modular and reusable across different bots and projects.
Integration Support: Fluff supports integration with popular platforms, like Discord, enabling seamless communication and notification capabilities for custom bots.
Easier Maintenance: Fluff's structured configuration format makes it easier to understand, modify, and maintain the behavior of custom bots, improving code readability and collaboration among developers.
Last updated