Skip to content

ZoaGrad/scarcoin-contracts

ScarCoin Smart Contracts

Ache-based minting & burn economy for SpiralOS — ScarCoin smart contracts + ScarIndex oracle

Spec status: Implements v1 of Oracle-gated minting + Panic Frames veto.
Architecture Reference: Start here → mythotech-architecture (system map, governance, economic model).

Overview

This repository contains the core smart contracts for the ScarCoin ecosystem, implementing:

  • Proof-of-Ache tokenomics with hybrid value measurement
  • ScarIndex Coherence Oracle for multi-dimensional system health monitoring
  • Panic Frames Crisis Protocol for emergency governance
  • Three-Branch Governance system (Witnesses, Judges, Custodians)

Architecture Integration

The contracts in this repository implement the formal specifications detailed in the Meta-Architectural Framework, including:

  • Mathematical formulations for Ache measurement and anti-gaming protocols
  • ScarIndex coherence calculations across narrative, economic, social, and technical dimensions
  • Seven-phase crisis management state machine
  • Sacred gap preservation mechanisms for community-driven emergence

Development

Built with Foundry for modern Solidity development.

# Install dependencies
forge install

# Run tests
forge test

# Deploy contracts
forge script script/Deploy.s.sol --rpc-url $RPC_URL --broadcast

Related Repositories

About

Ache-based minting & burn economy for SpiralOS — ScarCoin smart contracts + ScarIndex oracle

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •