Docs
Develop
Pallets
Treasury

Introduction to the Treasury Pallet

The Treasury Pallet is a crucial component in the Substrate framework, playing a central role in managing the common wealth of a blockchain community. It's a designated pot of funds that can be utilized to back proposals deemed beneficial to the network, thereby stimulating the overall growth and development of the ecosystem.

Here are some of the key functions the Treasury Pallet encompasses:

  1. Collecting Funds: The Treasury gathers funds from various sources like transaction fees, slashing, staking inefficiencies, and any other activities that lead to the burning of tokens.

  2. Funding Proposals: Community members can propose initiatives for the betterment of the ecosystem. These could include development work, promotional activities, or other community projects. If the proposal wins the approval of the council, the treasury will fund the project.

  3. Burn Mechanism: To maintain a balance and ensure that the treasury doesn’t accumulate more funds than necessary, a fraction of the treasury's funds can be burnt in each spending period.

  4. Treasury Tips: The treasury system also provides tips for individuals who provide significant services to the community, such as identifying bugs in the software, or flagging malicious behavior.

From a technical standpoint, the Treasury Pallet operates via a simple, yet efficient mechanism. Proposals are submitted along with a bond, which is forfeited if the proposal is rejected, and reimbursed if accepted. The proposal is then reviewed by the council and voted upon. If the proposal passes, the treasury will disburse the funds, and the project can commence.

In essence, the Treasury Pallet is a resourceful tool fostering community-driven growth and enabling sustainable funding for value-adding initiatives within a Substrate-based blockchain network.