Stroop refers to a parameter used in the Stellar blockchain protocol to measure the smallest unit of computational work or operation cost. It is a fundamental concept in Stellar’s transaction fee structure, ensuring that network resources are allocated efficiently and fairly. By denominating fees and resource usage in Stroops, Stellar maintains a lightweight and scalable system for processing transactions.
What Is Stroop?
A Stroop is the smallest divisible unit of the Stellar Lumens (XLM) cryptocurrency, similar to how a Satoshi is the smallest unit of Bitcoin. Specifically, one Stroop equals 0.0000001 XLM (10^-7 XLM). It is primarily used to calculate transaction fees and reserve requirements on the Stellar network.
The term “Stroop” is unique to Stellar and plays a critical role in the protocol’s design. By using Stroops, Stellar ensures that even microtransactions can be processed efficiently, making the network accessible to users with varying financial capabilities.
Who Uses Stroop?
Stroops are used by all participants in the Stellar ecosystem, including:
- Developers building decentralized applications (dApps) or financial services on Stellar.
- Validators (nodes) that process and verify transactions on the network.
- End-users who send or receive payments, issue assets, or interact with smart contracts.
- Organizations leveraging Stellar for cross-border payments or token issuance.
By standardizing fees in Stroops, Stellar ensures that all participants contribute proportionally to the network’s operational costs.
When Is Stroop Used?
Stroops are used whenever a transaction or operation is submitted to the Stellar network. Each transaction incurs a base fee, which is denominated in Stroops. For example, as of 2023, the base fee for a single operation is 100 Stroops (0.00001 XLM). This fee is deducted from the sender’s account balance and serves as compensation for validators who process the transaction.
Stroops are also used in reserve requirements, which are minimum balances that accounts must maintain to prevent spam and ensure network stability. These reserves are calculated in Stroops and vary based on the number of operations or trustlines associated with an account.
Where Is Stroop Relevant?
Stroops are relevant within the Stellar blockchain ecosystem. They are not used outside of Stellar but are integral to its internal mechanics. Specifically, Stroops are applied in:
- Transaction fees: To prevent spam and ensure fair resource allocation.
- Account reserves: To maintain network stability and discourage unnecessary account creation.
- Smart contract operations: To calculate the cost of executing complex logic on the network.
This makes Stroops a cornerstone of Stellar’s economic model, ensuring that the network remains efficient and scalable.
Why Is Stroop Important?
Stroops are essential for maintaining the Stellar network’s affordability, accessibility, and security. By using a small, divisible unit like Stroop, Stellar can:
- Enable low-cost transactions, making the network suitable for microtransactions and remittances.
- Discourage spam and abuse by requiring a minimal fee for every operation.
- Ensure fair resource allocation among users and applications.
- Support scalability by keeping fees predictable and manageable, even as the network grows.
Without Stroops, Stellar would struggle to balance affordability with the need to prevent abuse and maintain network integrity.
How Does Stroop Work?
Stroops function as the unit of measurement for transaction fees and reserves on the Stellar network. Here’s how they work:
- When a user submits a transaction, the network calculates the total fee by multiplying the base fee (in Stroops) by the number of operations in the transaction.
- The fee is deducted from the sender’s account balance in XLM, with the amount converted from Stroops to Lumens.
- Validators prioritize transactions with higher fees during periods of congestion, ensuring that critical operations are processed first.
- Account reserves are also calculated in Stroops, requiring users to maintain a minimum balance proportional to their account’s activity.
This system ensures that the Stellar network remains efficient, secure, and accessible to users worldwide.