XAS-2d: Native Treasury Amendment #576
dazzlingxrpl
started this conversation in
Feature Ideas/Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
XAS-2d: Native Treasury Amendment
Author: Dazzling
Date: August 21, 2025
Status: Draft
1. Abstract
This proposal introduces the Native Treasury feature for the Xahau network, an enhancement to the existing escrow mechanism. Unlike the current native escrow, which locks up XAH tokens and excludes them from balance adjustment (BA) rewards, Native Treasury allows accounts to lock XAH while continuing to claim BA rewards. Additionally, it enables flexible distribution of escrowed funds and BA rewards to multiple accounts and supports automatic reinvestment of rewards to compound over time. This feature aims to improve transparency, functionality, and usability for Xahau users, including businesses, individuals, and governance participants, by integrating treasury management natively into the protocol.
2. Motivation
The Xahau network's native token, XAH, is inflationary due to the balance adjustment mechanism, which provides a 4% per annum reward to accounts based on their average balance to offset the high burn rate of XAH for smart contract (Hook) transactions. The existing Treasury Hook, developed by XRPL Labs, locks up 125 million XAH with a controlled monthly release of up to 2 million XAH, allowing BA reward claims but requiring custom Hook logic. However, the native escrow feature does not support BA reward claims for locked XAH, limiting its utility for long-term token management.
Furthermore, explorers like Xahau Explorer only display native escrow amounts, and major platforms like CoinMarketCap and CoinGecko report total XAH circulation without accounting for locked tokens in escrows or the Treasury Hook. This lack of transparency can mislead stakeholders about the effective circulating supply. The Native Treasury feature addresses these issues by:
3. Proposed Solution: Native Treasury
The Native Treasury feature extends the existing escrow functionality to create a protocol-level mechanism that allows accounts to lock XAH while participating in the balance adjustment reward system. It introduces the following capabilities:
4. Technical Specification
4.1. Native Treasury Object
The Native Treasury will be implemented as a new ledger object, extending the existing Escrow object. It includes the following fields:
DistributionAccounts.4.2. Transaction Types
Example (Open for Community Feedback):
{ "TransactionType": "TreasuryCreate", "Account": "rExampleAccount123", "Amount": "10000000000", "DistributionAccounts": ["rAddr1", "rAddr2", ..., "rAddr32"], "DistributionPercentage": "2", "RewardDistribution": true, "CompoundRewards": false, "NetworkID": 21337 }Note: This example is for illustration only. Please suggest improvements or point out missing information to help refine the proposal.
5. Benefits
6. References
Beta Was this translation helpful? Give feedback.
All reactions