spherenet-monetary-policy-interface

Crates.iospherenet-monetary-policy-interface
lib.rsspherenet-monetary-policy-interface
version0.1.1
created_at2026-01-13 00:59:27.735922+00
updated_at2026-01-14 04:13:03.996833+00
descriptionInterface definitions for the SphereNet Monetary Policy program
homepage
repositoryhttps://github.com/Sphere-Foundation/monetary-policy
max_upload_size
id2039119
size77,480
(sphere-foundation-release)

documentation

README

SphereNet Monetary Policy

Manages SphereNet's monetary policy parameters: inflation rate, transaction fees, and fee burn percentage.

Overview

The Monetary Policy program controls critical economic parameters for the SphereNet blockchain:

  • Inflation Rate - Annual token issuance rate (0-2000 bips / 0-20%)
  • Lamports Per Signature - Transaction fee amount
  • Burn Percent - Percentage of transaction fees burned (0-100%)

Program Information

  • Program ID: MpM3Yve3AkLvrVsZXvD3hmUmqKj669bv75DPW67PAdr
  • Account ID: MpMhAuQcTmJSHLEyENXpFj3KKvSuJRiuxHNty3cHWQF

Features

  • Authority-controlled parameter updates with two-step authority transfer
  • Bounds checking on all parameters
  • On-chain governance integration with Squads V4 multisig support

Usage

Rust Client

[dependencies]
spherenet-monetary-policy-client = "0.1"

CLI Administration

Use spherenet-admin for managing monetary policy:

# View current policy
spherenet-admin mp show

# Update inflation rate (requires authority)
spherenet-admin mp update-inflation-rate-bips 1000 --authority ./authority.json

# Update transaction fee
spherenet-admin mp update-lamports-per-signature 5000 --authority ./authority.json

# Update burn percentage
spherenet-admin mp update-burn-percent 50 --authority ./authority.json

Development

# Build program
cargo build-sbf

# Run tests
cargo test-sbf

License

Apache-2.0

Commit count: 0

cargo fmt