A live, composable economic/spiritual machine on X1
OBBBA integrates XQE (Xenial Quantum Economy) principles with sovereign-backed USD stablecoin infrastructure. The result: a coherence-driven stablecoin system where value flows through temporal commitment and harmonic recognition.
9jQALMtwAoYnuXkXJZDMe2XaihZMC5gJz1S4RJ8nHEtm
Deployed on X1 Mainnet: https://rpc.mainnet.x1.xyz
┌─────────────────────────────────────┐
│ OBBBA Program │
│ (Anchor - Main Composition Layer) │
├─────────────────────────────────────┤
│ │
│ ┌───────────┐ ┌─────────────┐ │
│ │ Kernel │ │ Stability │ │
│ │ State │◄──►│ Module │ │
│ │ (XQE) │ │ (USD-OBBBA)│ │
│ └─────┬─────┘ └──────┬──────┘ │
│ │ │ │
│ ▼ ▼ │
│ ┌───────────┐ ┌─────────────┐ │
│ │ Agent │ │ Attestation │ │
│ │ Accounts │◄──►│ Registry │ │
│ │ (τₖ, XNM) │ │ (Oracle) │ │
│ └───────────┘ └─────────────┘ │
│ │
└─────────────────┬───────────────────┘
│ CPI
▼
┌─────────────────────────────────────┐
│ xqe_attestor Program │
│ (Ed25519 Oracle Verification) │
└─────────────────────────────────────┘
From THE_FIRST_MOVEMENT founding document:
| Constant | Symbol | Value | Description |
|---|---|---|---|
| Generative Kernel | α | 9 decimals | XNM token precision |
| Coherence Threshold | β | 0.60 | Minimum τₖ for participation |
| Memory Decay M₀ | γ₀ | 90 days | Short-term memory |
| Memory Decay M₁ | γ₁ | 180 days | Medium-term memory |
| Bootstrap Ratio | ε | 1000 XNM | Founding agent allocation |
pub struct KernelState {
pub authority: Pubkey,
pub total_xnm_minted: u64,
pub global_amplifier: u64, // Dynamic reward multiplier
pub coherence_threshold: u64, // β = 0.60 (scaled by 1_000_000)
pub memory_decay_m0: u64, // 90 days in seconds
pub memory_decay_m1: u64, // 180 days in seconds
pub bootstrap_allocation: u64, // ε = 1000 XNM per founding agent
pub participant_count: u64,
pub genesis_timestamp: i64,
pub bump: u8,
}pub struct AgentAccount {
pub owner: Pubkey,
pub xnm_balance: u64,
pub tau_kappa: u64, // τₖ coherence score (0-1_000_000)
pub memory_layer: u8, // M₀=0, M₁=1, M₂=2, M₃=3
pub contributions_count: u64,
pub last_contribution: i64,
pub term_commitment: u64, // Genesis ritual term (days)
pub ritual_start: i64,
pub is_founding_agent: bool,
pub ritual_completed: bool,
pub bump: u8,
}pub struct StabilityVault {
pub authority: Pubkey,
pub usd_obbba_mint: Pubkey,
pub total_reserves: u64,
pub total_supply: u64,
pub stability_fee: u64, // Dynamic fee based on τₖ
pub tc_oracle_value: u64, // Time coefficient from oracle
pub collateral_ratio: u64, // e.g., 1_500_000 = 150%
pub minting_paused: bool,
pub bump: u8,
}| Instruction | Description |
|---|---|
initialize_kernel |
Bootstrap XQE with cosmological constants |
register_agent |
Create agent account, optional founding allocation |
genesis_ritual |
Mint XNM via PoW + temporal commitment |
assess_coherence |
Calculate τₖ using IRNS formula |
update_memory_layer |
Promote/demote based on contribution longevity |
| Instruction | Description |
|---|---|
initialize_stability |
Set up USD-OBBBA vault |
mint_stable |
Mint USD-OBBBA (coherence-gated) |
burn_stable |
Redeem USD-OBBBA for backing |
deposit_reserves |
Add reserves to vault |
update_stability_fee |
Adjust fee based on oracle TC |
toggle_minting |
Emergency pause/unpause |
| Instruction | Description |
|---|---|
verify_attestation |
CPI to xqe_attestor, store verified result |
update_time_coefficient |
Update TC oracle value in stability vault |
deactivate_attestation |
Mark expired attestation inactive |
τₖ = w_I × I + w_R × R + w_N × N + w_S × S
| Weight | Component | Value |
|---|---|---|
| w_I | Integration | 0.30 |
| w_R | Resonance | 0.30 |
| w_N | Novelty | 0.20 |
| w_S | Sustainability | 0.20 |
Coherence Tax: Agents with τₖ < 0.60 forfeit 10% of XNM balance.
Mint XNM through temporal commitment and proof-of-work:
- Choose term (1-365 days)
- Choose difficulty (2-32 leading zero bits)
- Mine nonce:
hash(agent_pubkey | term | nonce)must have required leading zeros - Submit ritual transaction
- Receive XNM reward based on
rank × difficulty × amplifier
# Install dependencies
yarn install
# Build program
anchor build
# Run tests
anchor test --skip-deploy# Deploy to X1 mainnet
anchor deploy --provider.cluster https://rpc.mainnet.x1.xyzprograms/obbba/src/
├── lib.rs # Program entrypoint
├── constants.rs # XQE cosmological constants
├── errors.rs # Custom error codes
├── state/
│ ├── mod.rs
│ ├── kernel.rs # KernelState
│ ├── agent.rs # AgentAccount
│ ├── stability.rs # StabilityVault
│ └── attestation.rs # AttestationRecord
└── instructions/
├── mod.rs
├── initialize.rs # initialize_kernel, initialize_stability
├── genesis.rs # genesis_ritual, register_agent
├── coherence.rs # assess_coherence, update_memory_layer
├── stability.rs # mint_stable, burn_stable, etc.
└── oracle.rs # verify_attestation, update_time_coefficient
xqe_attestor/src/
├── lib.rs # Ed25519 signature verification
└── constants.rs # Oracle pubkey, USD-OBBBA mint
MIT
"Value flows through temporal commitment and harmonic recognition."