Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .trinity/seals/depin_depin.prove.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"gen_hash_zig": "sha256:577b2c818051664b4d7b5e4f1f5218cd3cdfb0e145b5d96379680e048654bea0",
"module": "depin.prove",
"ring": 12,
"sealed_at": "2026-09-24T14:54:04Z",
"sealed_at": "2026-10-01T11:44:41Z",
"sealed_by": "t27c-bootstrap@0.4.0",
"spec_hash": "sha256:5368d488dbc0adfe5bcd81141da852f9533be0eda1e596be37a5a0c666fad6e7",
"spec_hash": "sha256:769e091dc32de8447f907e024ccaa72c179446c53b025290b87c4001f374d3ac",
"spec_path": "specs/depin/prove.t27"
}
4 changes: 2 additions & 2 deletions .trinity/seals/prove.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"gen_hash_zig": "sha256:577b2c818051664b4d7b5e4f1f5218cd3cdfb0e145b5d96379680e048654bea0",
"module": "depin.prove",
"ring": 0,
"sealed_at": "2026-09-24T14:54:04Z",
"spec_hash": "sha256:5368d488dbc0adfe5bcd81141da852f9533be0eda1e596be37a5a0c666fad6e7",
"sealed_at": "2026-10-01T11:44:41Z",
"spec_hash": "sha256:769e091dc32de8447f907e024ccaa72c179446c53b025290b87c4001f374d3ac",
"spec_path": "specs/depin/prove.t27"
}
10 changes: 10 additions & 0 deletions contrib/solana/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Trinity $TRI — Solana Mining Program

> **SUPERSEDED — do not deploy.** This Anchor program (ea15cd54c, 2026-07-05)
> pays a fixed `block_reward` per submitted proof. That is not the TRI emission
> rule. The design of record is mint-on-acceptance in gHashTag/trinity-fpga @
> d7e9718e9: TRI is minted only for accepted work, attested by an M-of-N
> attestor quorum, with genesis supply 0 and a cap of 3^21 TRI. Its Solana side
> is [`contracts/solana/tri_mint.rs`](https://github.com/gHashTag/trinity-fpga/blob/d7e9718e90346ec4b4b9e6eef6cbebe8617cd173/contracts/solana/tri_mint.rs), and
> the rule is [`specs/trinet/mint_on_acceptance.t27`](https://github.com/gHashTag/trinity-fpga/blob/d7e9718e90346ec4b4b9e6eef6cbebe8617cd173/specs/trinet/mint_on_acceptance.t27).
> Nothing is deployed on any chain. This directory is kept as a historical
> PoUC experiment.

Anchor program for TTSKY26a $TRI token mining via PoUC (Proof of Useful Computation).

## Structure
Expand Down
7 changes: 7 additions & 0 deletions contrib/solana/programs/tri-mining/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// SUPERSEDED — DO NOT DEPLOY.
// This program pays a fixed `block_reward` per submitted proof; that is not the
// TRI emission rule. The design of record is mint-on-acceptance (accepted work
// only, M-of-N attestor quorum, genesis 0, cap 3^21 TRI) in gHashTag/trinity-fpga
// @ d7e9718e9: contracts/solana/tri_mint.rs and specs/trinet/mint_on_acceptance.t27.
// Kept as a historical PoUC experiment.

use anchor_lang::prelude::*;

declare_id!("GAoPb3sVjtg1ey7gRtVGWtWFxGhK1eazdKanz3LZKmqV");
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# NOW -- Solana tri-mining and depin.prove rewards marked superseded by mint-on-acceptance (2026-10-01)

## Solana tri-mining and depin.prove rewards marked superseded by mint-on-acceptance (Closes #5412)

- contrib/solana README and tri-mining lib.rs carry a SUPERSEDED / do-not-deploy note: a fixed block_reward per proof is not the TRI emission rule.
- specs/depin/prove.t27 gets a comment after the module declaration saying reward_lamports and block_reward are not the TRI emission rule; parse and typecheck output equal master's apart from line numbers.
- Design of record: gHashTag/trinity-fpga @ d7e9718e9, contracts/solana/tri_mint.rs and specs/trinet/mint_on_acceptance.t27 (accepted work only, M-of-N quorum, genesis 0, cap 3^21, nothing deployed).
- Resealed with t27c built from this master: the four gen hashes are unchanged; only spec_hash and sealed_at move, in both seal files naming the spec.
4 changes: 4 additions & 0 deletions specs/depin/prove.t27
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ pub struct MerkleProof {
siblings : [][32]u8,
}

// NOT THE TRI EMISSION RULE. `reward_lamports` and `MiningEpoch.block_reward`
// below model a per-proof payout from the 2026-07 PoUC prototype. TRI is minted
// only on accepted work under an M-of-N attestor quorum, genesis 0, cap 3^21:
// gHashTag/trinity-fpga @ d7e9718e9, specs/trinet/mint_on_acceptance.t27.
pub struct ProveResponse {
valid : bool,
reward_lamports : u64,
Expand Down
Loading