# 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

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

### CLI Administration

Use [spherenet-admin](https://github.com/Sphere-Foundation/spherenet-admin) for managing monetary policy:

```bash
# 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

```bash
# Build program
cargo build-sbf

# Run tests
cargo test-sbf
```

## License

Apache-2.0
