Ref Node Live| VIEW RUST CORE ON GITHUB →
INTRODUCTION
CHAIN
RESOURCES
INNOVATION
CONNECT
Formal Specification

The Protocol

Sahyadri is not a company. It is not a product. It is a mathematical object — a sovereign state machine whose transitions are governed by cryptographic proofs, whose ordering is a function of its own history, and whose correctness is verifiable by anyone, anywhere, without trust in any party.

01 · The State Machine

A Ledger is a Function

Every blockchain is, at its core, a state transition system. What varies is how the transition is chosen, how the state is encoded, and who has the authority to advance it. Sahyadri's answer to each is mathematical, not political.

σn+1 = δ(σn, Bn)     where    δ : Σ × 𝔅 → Σ

The state σ is the complete ledger — every balance, every identity commitment, every credential. The block Bn is a batch of signed intentions. The transition function δ is deterministic: given the same state and block, every node in the world computes the same next state.

There is no discretionary fork. No admin override. No upgrade path that does not itself pass through δ. The mathematics either validates a transition or rejects it — and both outcomes are public, reproducible, and independent of any operator.

02 · SahyadriDAG

The Ledger is a Partial Order

Traditional blockchains impose a total order on blocks: block N follows block N−1. This is simple to reason about and catastrophically wasteful — a miner whose block loses a race has computed a valid proof of work that the network discards.

SahyadriDAG removes the discarding. The ledger is a partial order — a directed acyclic graph where each block references several ancestors, and every valid block is preserved. The canonical total order is derived later, as a pure function of the graph itself.

𝒢 = (V, ≺h)   with  V = { b : valid(b) = ⊤ }

Every valid block enters the DAG. The relation bi ≺h bj means "block i is a hash-ancestor of block j." The DAG is acyclic by construction — hash functions prevent cycles.

∀

No Orphans

Every valid block contributes to the state. Mining power is never wasted to a race condition.

≺

Parent Selection

Each block references multiple parents, forming a lattice of causal history rather than a chain.

⊙

Canonical Order

A total order is derived from the DAG — deterministic, verifiable, independent of any committee.

03 · Ashwa Consensus

Order is a Function, Not a Vote

Ashwa Consensus is the algorithm that converts the partial order of SahyadriDAG into a canonical total order. It does not negotiate, it does not vote, it does not slash. It computes.

Order : 𝒢 → 𝒮,  Order(𝒢) = topological sort with depth-weighted tie-breaking

Two blocks at the same DAG depth are ordered by their weighted blue-work — the accumulated proof-of-work of their mergeset. Ties are resolved by hash ordering. There is no subjectivity in the output: any two nodes that see the same DAG compute the same order, bit-for-bit.

bi ≺ord bj  ⟺   (depthi < depthj) ∨ (depthi = depthj ∧ weighti > weightj)

The result is a total order ≺ord that every honest node agrees upon, computed from public data alone. There is no validator set, no proposer lottery, no epoch. Consensus is a mathematical fixed point of the graph.

Why This Matters

Voting-based consensus (BFT, PoS) requires a known participant set, which requires registration, which requires permission. Ashwa Consensus requires nothing but the graph. Anyone can mine, anyone can verify, anyone can propose. Sovereignty is preserved at the consensus layer because consensus has no members.

04 · Account + Crest

Two State Layers, One Ledger

Sahyadri separates its state into two orthogonal domains. The Account layer handles monetary balances — simple, atomic, high-throughput. The Crest layer handles object graphs — identities, credentials, structured state. Both are committed in the same Merkle root, but they serve different purposes.

σ = σAccount ⊕ σCrest,  σAccount : Addr → ℕ,  σCrest : ObjId → Object
Account Layer

Money, Atomically

Balances are simple naturals. Transfers are atomic debits and credits. No UTXO fragmentation, no coin selection, no dust. The transfer is the transition.

δtx(σ, [from→to, amt]) :  σ[from] −= amt ;  σ[to] += amt
Crest Layer

Identity, Structurally

Objects are typed structures. Ownership is a cryptographic relation. Credentials are signed claims. DIDs are Crest objects with a canonical schema.

own(o, pk) ≜ Signpk(o.id ‖ o.hash)
05 · Post-Quantum Signatures

Security is Assumption-Dependent

Every signature scheme rests on a computational assumption. ECDSA assumes discrete logarithm is hard on classical machines. Shor's algorithm breaks that assumption. Sahyadri uses 100% signatureless Plonky3 STARK proofs over Goldilocks F_p (p = 2^64 - 2^32 + 1) and Poseidon2 with FRI commitments — zero public keys, zero asymmetric signatures, zero elliptic curves, and no trusted setup. hardness, believed resistant to both classical and quantum adversaries.

KeyGen(1λ) → (pk, sk),  Signsk(m) → σ,  Verifypk(m, σ) → {0, 1}
∀ AQ (quantum adversary) :   Pr[ Verifypk(m*, σ*) = 1   ∧   Pr[forge(πSTARK)] ≤ AdvPoseidon2(λ) + εSTARK(λ) + negl(λ)

The security parameter λ controls the forging probability. The terms AdvPoseidon2(λ) and εSTARK(λ) bound Poseidon2 preimage/collision advantage and Plonky3 FRI STARK soundness over Goldilocks F_p. Module-Learning-With-Errors problem, which no known classical or quantum algorithm solves in polynomial time. Every transaction on Sahyadri is signed under this assumption — from genesis, not as an upgrade.

Assumption Transparency

Most chains hide their security assumptions behind "audited" labels. Sahyadri publishes the assumptions themselves: Poseidon2 + FRI STARK soundness, hash function collision resistance, and honest majority of mining power. The protocol is not secure because auditors say so — it is secure because these assumptions have held for decades of cryptographic research.

06 · Monetary Invariant

Scarcity is a Sum

A monetary system's credibility rests on the impossibility of dilution. Sahyadri enforces this not with policy but with arithmetic. The emission function is a geometric series that converges to a hard cap — no matter how long the chain runs, no matter who controls the miners.

R(h) = R0 · 2−⌊h/H⌋   ⟹   Σh=0∞ R(h) = 21,000,000 CSM

Where R0 is the initial block reward,H is the halving height (4 years of blocks). The series is a geometric decay — the sum converges to a finite value even as h → ∞. The 21 million cap is not a parameter, it is a theorem of the emission function.

∀ h ∈ ℕ :  TotalSupply(h) < 21,000,000    — invariant, not promise

There is no inflation vote, no emergency mint, no foundation reserve. The invariant is enforced by the same transition function that advances every block —δ rejects any block whose coinbase exceedsR(h). Monetary policy is a property of the state machine, not of any human decision.

21M
Hard Cap
by convergence
4y
Halving
geometric decay
∞
Security
unbounded horizon
0
Admin Mint
structurally impossible
07 · Security Model

Adversarial Bounds

"Secure" is not a boolean. It is a quantitative statement about what an adversary can achieve given bounded resources. Sahyadri's security model makes these bounds explicit and checkable.

Advhash(𝒜)  ≤ q / 2κ   Advreorg(𝒜, d)  ≤  (α / β)d

The first inequality bounds the probability of an adversary 𝒜finding a valid proof-of-work in q hash queries, whereκ is the hash security parameter. The second bounds the probability that a minority hash-rate α (against honestβ) reverses a block at depth d. The bound decays geometrically — each additional confirmation multiplies the cost of attack.

⛨

Chain Security

Reversal probability decays as (α/β)^d. A 10% adversary reverses a 6-deep block with probability < 10^-6.

⛉

Signature Security

Forgery resistance rests on Poseidon2 + FRI STARK soundness — no known quantum or classical algorithm breaks it in polynomial time.

⛊

State Integrity

Every transition is verified by δ. Invalid blocks are rejected by every honest node. Consensus has no discretion.

08 · Applications

Money for Every Scale

Sahyadri is not a niche protocol for speculators. Its settlement model is designed for the three scales at which money actually operates — the individual, the institution, and the network itself.

I

Day-to-Day Payments

Settlement in one block time. No chargebacks. No intermediaries. Anyone with a phone can send value to anyone else, anywhere in the world, with mathematical finality. This is not "cashless society" — it is cash as mathematics.

II

Banking Infrastructure

Atomic settlement between institutions. Programmable escrow via Crest objects. Cross-border transfers that settle in seconds, not days. Sovereign identity for KYC via Verifiable Credentials — compliance without surveillance.

III

Institutional Use

A transparent ledger for treasury management, fund administration, and cross-institutional settlement. Every transaction is auditable. Every state transition is proven. No trust in a custodian is required — only verification of mathematics.

09 · Properties Summary

What is Proven

Every protocol claim either has a proof or it does not. Here is a summary of Sahyadri's properties — each one either follows from the mathematics above or is an open problem in the specification.

⊢
Deterministic State Transition
By construction of δ
⊢
No Orphaned Blocks
Every valid b ∈ V
⊢
Canonical Ordering
Function of DAG alone
⊢
Hard Supply Cap
Geometric series convergence
⊢
Post-Quantum Forgery Resistance
Poseidon2 + FRI STARK soundness
⊢
O(1) Verification
Asymptotic bound
We have described a state transition system whose rules are enforced by mathematics — not by policy, not by consensus, not by authority. The protocol is the mathematics. Everything else is commentary.
— Sahyadri