Pentagonal geometry Β· Conservation law Β· Physics-based settlement Β· Metal spine
heliosdigital.xyz β $100 atomic entry Β· Pentagonal bounded field Β· Metal-backed treasury Β· Cryptographic certificates Β· Conservation law
This repo now includes a public launch package suitable for Helios-launch with MIT licensing, community files, CI, and launch documentation.
Incoming team: start with START.md.
Quick local validation after changes:
-
run
python verify_launch.py -
check
/api/infra/launch-readinessfor the launch-readiness report (hybrid mode) -
docs/HELIOS_LAUNCH_BLUEPRINT.md β production architecture and deployment stack
-
docs/HELIOS_REVIEW_RESPONSE.md β color-coded response to the March 5 codebase review
-
docs/HELIOS_CLAIMS_COVERAGE_MATRIX.md β claim-by-claim implementation coverage and remaining launch work
-
docs/HELIOS_DIRECT_RESPONSE_TO_REVIEW.md β direct answer to the March 5 report as the repo stands today
-
docs/HELIOS_FULL_REBUTTAL.md β full rebuttal package for future diligence and operator questions
-
docs/HELIOS_SIMPLIFIED_OPTION.md β simpler recommended launch version for easier adoption
-
docs/HELIOS_WHITE_PAPER.md β full white paper representing the current system, build, and launch posture
-
docs/HELIOS_OPERATOR_SYSTEM_GUIDE.md β operator-grade system guide covering responsibilities, validation, and release discipline
-
docs/HELIOS_SR_ENGINEERED_TOKENOMICS.md β high-level senior-engineered tokenomics framing
-
docs/HELIOS_AI_SYSTEM.md β build-aware AI knowledge system overview
-
docs/HELIOS_EXECUTIVE_ONE_PAGER.md β short non-technical summary for stakeholders and operators
-
docs/BUILD_ROUTE_OPTIONS.md β layered route options for the takeover team to choose from
-
docs/REPOSITORY_ABOUT_SETTINGS.md β recommended GitHub description, website, topics, and professional repo settings
-
docs/GITHUB_HANDOFF_CHECKLIST.md β exact GitHub About values, protections, and default route choice for the takeover team
-
docs/TAKEOVER_START_HERE.md β first-read document for the incoming build and launch team
-
docs/OPERATOR_HANDOFF_CHECKLIST.md β exact operator setup and launch checklist
-
docs/FINAL_LAUNCH_READINESS.md β final in-repo launch status (launch-ready in hybrid mode) and optional production enhancements
-
docs/PAGE_ALIGNMENT_MEMO.md β what to keep, soften, or remove from the original Helios institutional page
-
docs/TAKEOVER_PROMPT_PACK.md β recommended prompts for the incoming team to use during setup and launch
-
docs/FINAL_RECOMMENDATION.md β single authoritative recommendation for route, stack, messaging, and first actions
-
docs/MOVE_FORWARD_RUNBOOK.md β full execution runbook for taking the repo from handoff to launch readiness
-
.env.production.example β production environment template for final infrastructure promotion
-
core/handoff.py β mirrored site handoff manifest powering the documentation portal and references
-
docs/REPOSITORY_PROTECTIONS.md β recommended GitHub protections
-
docs/PUSH_TO_HELIOS_LAUNCH.md β exact push steps for the new GitHub repository
-
SECURITY.md β security reporting policy
-
CONTRIBUTING.md β contribution rules
| # | Section | What You'll Find |
|---|---|---|
| π‘ | Protocol Overview | Why Helios exists β physics over position |
| ⬑ | Power of 5 β Pentagonal Geometry | The bounded field, pentagonal topology, why 5 |
| β‘ | Energy Exchange & Conservation Law | $100 atomic split, propagation decay, instruments |
| π | State Machines | 4 finite-state machines β nodes, links, certificates, custody |
| π | Neural Lattice Visualization | D3 force-directed graph, energy pulse, concentric rings |
| π΄ | Smart Contracts | HLS token, HC-NFT certificates, anti-rug enforcement |
| π£ | Metrics & Formulas | RRR, Ξ·, CP, V β SR-level analytics with thresholds |
| π‘ | RRR Covenant β Automated Circuit Breaker | Redemption gating, auto-pause, no human override |
| π₯ | Treasury β Precious Metals Spine | APMEX, MVR lifecycle, XRPL anchoring, IPFS evidence |
| π· | Cryptographic Addressing | Deterministic SHA-256 IDs, content-addressed certificates |
| π | Architecture | System layers, request flow, blueprint map |
| π’ | Project Structure | Full annotated directory tree (60+ files) |
| βͺ | API Reference | 95 routes β pages, API groups, health |
| π€ | Deployment | Netlify static, freeze pipeline, CDN config |
| β« | Configuration & Invariants | Protocol parameters, structural assertions |
| πΆ | Getting Started | Install, run, develop, deploy |
Most network systems settle by position. First in, highest paid. Helios settles by physics.
Energy propagates outward through an undirected bounded graph. Strongest at direct links, decaying naturally with distance. After 15 hops, the fractional remainder is absorbed into protocol stability pools. There is no "above." There is no "below." Only connected peers in a bounded field.
ββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββ
β Traditional MLM β Helios Protocol β
ββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββ€
β Tree (hierarchical) β Graph (undirected bounded field) β
β Position = payout β Physics = payout (1/(2^hop) decay) β
β Unlimited width β Max 5 links per node (Power of 5) β
β Infinite depth β 15 hops max, then absorption β
β Points / credits β HE energy with conservation law β
β Promise of value β Metal-backed treasury (APMEX gold) β
β Manual payouts β Settlement follows physics, not admin β
β Opaque accounting β Every event in an immutable energy ledger β
β "Trust me" β "Verify it" β GET /api/energy/conservation β
ββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββ
| Principle | Rule | Where It's Enforced |
|---|---|---|
| ⬑ Power of 5 | Max 5 links per node β pentagonal saturation | FieldEngine.form_link() β config.FIELD_MAX_LINKS == 5 |
| π Fixed Supply | 100,000,000 HLS β no mint function exists | TokenEngine β can_mint: False in code |
| β Conservation Law | βin = routed + stored + pooled + burned |
EnergyExchange.verify_conservation() |
| β‘ Hop Decay | weight(hop) = 1/(2^hop) β 15 hops max |
PropagationEngine.calculate_propagation() |
| π₯ Metal Spine | Treasury surplus β APMEX gold β XRPL anchor | TreasuryEngine.create_vault_receipt() |
| π Stored Energy | HC-NFT certificates β deterministic SHA-256 ID | CertificateEngine.mint() β HC-{SHA256[:24]} |
| π‘ RRR Covenant | RRR < 1.0 = auto-pause redemptions, no override | CertificateEngine.check_rrr_covenant() |
| β Atomic Entry | $100 β every dollar has a declared destination | EnergyExchange.inject_entry_energy() |
The number 5 is the structural constant of the Helios field.
β
β± β²
β± β² A single node at saturation:
βββββββ 5 links, 5 direct peers, 5 rays.
ββ² β±β The minimum structure that creates
β β² β± β a self-reinforcing lattice when
β β β nodes interconnect.
β β± β² β
βββββββ Each peer can link with 4 others
β 25 nodes at 2 hops (5Γ5)
β Bounded, not infinite.
| Parameter | Value | Purpose |
|---|---|---|
FIELD_MAX_LINKS |
5 | Maximum degree per node β pentagonal saturation |
FIELD_POWER_OF_25 |
25 | 5 Γ 5 β network strength target at 2 hops |
FIELD_COOLDOWN_HOURS |
24 | Min time between new links (prevents rapid filling) |
FIELD_ACTIVITY_WINDOW_DAYS |
30 | Rolling window for activity measurement |
The Helios coin SVG on the landing page embeds the Power of 5 directly into its geometry:
5 Sun Rays 5 Neural Nodes 5 Link Lines
radiating from center arranged in a pentagon connecting each node
representing the max around the center sun to its neighbors
link capacity representing a saturated forming the pentagonal
node's direct peers lattice structure
<!-- From index.html β 5 primary sun rays -->
<line x1="120" y1="50" x2="120" y2="20" .../> β Ray 1 (top)
<line x1="186" y1="81" x2="206" y2="62" .../> β Ray 2 (upper right)
<line x1="186" y1="159" x2="206" y2="178" .../> β Ray 3 (lower right)
<line x1="120" y1="190" x2="120" y2="220" .../> β Ray 4 (bottom)
<line x1="54" y1="81" x2="34" y2="62" .../> β Ray 5 (upper left)
<!-- 5 neural nodes in pentagonal arrangement -->
<circle cx="120" cy="80" .../> β Node 1
<circle cx="158" cy="103" .../> β Node 2
<circle cx="144" cy="148" .../> β Node 3
<circle cx="96" cy="148" .../> β Node 4
<circle cx="82" cy="103" .../> β Node 5
<!-- 5 links forming the closed pentagon -->
Node1 β Node2 β Node3 β Node4 β Node5 β Node1flowchart TD
A["form_link(initiator, peer)"] --> B{Initiator links < 5?}
B -->|No| C["β Fully saturated"]
B -->|Yes| D{Peer links < 5?}
D -->|No| E["β Peer saturated"]
D -->|Yes| F{Link already exists?}
F -->|Active| G["β Already linked"]
F -->|Inactive| H["π Reactivate dormant link"]
F -->|No| I{Cooldown expired?}
I -->|No| J["β Wait (anti-saturation)"]
I -->|Yes| K["β
Link formed"]
K --> L["Update link counts"]
L --> M["Recalculate node states"]
style A fill:#f59e0b,stroke:#92400e,color:#000
style K fill:#22c55e,stroke:#15803d,color:#fff
style C fill:#ef4444,stroke:#b91c1c,color:#fff
style E fill:#ef4444,stroke:#b91c1c,color:#fff
# From models/link.py β always store (smaller, larger) to prevent duplicates
@staticmethod
def ordered_pair(id_1: str, id_2: str) -> tuple:
return (id_1, id_2) if id_1 < id_2 else (id_2, id_1)
# Database-level uniqueness
__table_args__ = (UniqueConstraint('node_a', 'node_b', name='uq_link_pair'),)There is no "upline" or "downline." A link between Alice and Bob is the same link as Bob and Alice. The ordered-pair normalization + unique constraint makes it structurally impossible to create directional hierarchy.
The network engine uses breadth-first search to traverse the field. Every discovered node carries:
| Property | Computed By | Meaning |
|---|---|---|
hops |
BFS level | Distance from origin |
energy_weight |
1/(2^hops) |
Energy that reaches this node |
node_state |
Link count β state machine | Connectivity level |
link_count |
Active links | Progress toward pentagonal saturation |
activity |
30-day rolling window | Settlement qualification score |
# From core/network.py β get_field()
queue = deque([(helios_id, 0)])
while queue:
current_id, hops = queue.popleft()
links = db.query(Link).filter(
((Link.node_a == current_id) | (Link.node_b == current_id)),
Link.state == "active"
).all()
for link in links:
peer_id = link.peer_of(current_id)
if peer_id not in visited:
visited[peer_id] = hops + 1
queue.append((peer_id, hops + 1))Every unit of energy that enters the system is accounted for. No leaks. No hidden pools. No phantom balances.
Verifiable by anyone: GET /api/energy/conservation
# From core/energy_exchange.py β verify_conservation()
total_out = total_routed + total_stored + total_pooled + total_burned
balance = round(total_in - total_out, 4)
return { "balanced": abs(balance) < 0.01, "balance": balance }Every dollar has a declared destination. No slush funds.
flowchart TD
A["$100 Entry Fee"] --> B["inject_entry_energy()"]
B --> C["ENERGY_IN event recorded"]
C --> D["$45 β Energy Propagation (45%)"]
C --> E["$20 β Liquidity Pool (20%)"]
C --> F["$15 β Treasury Surplus (15%)"]
C --> G["$10 β Infrastructure (10%)"]
C --> H["$10 β Protocol Buffer (10%)"]
D --> I["Flows through links\nweight(hop) = 1/(2^hop)\nup to 15 hops"]
E --> J["Redemption depth\nCertificates always redeemable"]
F --> K["Net surplus Γ 0.07\nβ APMEX gold purchase"]
G --> L["Ops, hosting, compliance"]
H --> M["Edge cases, protocol reserve"]
I --> N["After hop 15 β Absorption"]
N --> O["40% Stability"]
N --> P["25% Liquidity"]
N --> Q["20% Intelligence"]
N --> R["15% Compliance"]
style A fill:#f59e0b,stroke:#92400e,color:#000
style B fill:#1e293b,stroke:#f59e0b,color:#f59e0b
style D fill:#3b82f6,stroke:#1d4ed8,color:#fff
style E fill:#10b981,stroke:#047857,color:#fff
style F fill:#ef4444,stroke:#b91c1c,color:#fff
style G fill:#8b5cf6,stroke:#6d28d9,color:#fff
style H fill:#6b7280,stroke:#374151,color:#fff
When a new node joins, energy radiates outward through links via BFS. Settlement at each hop decays naturally:
Hop Weight Energy from $45 Visualization
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
1 1/2 = 50.0% $22.50 ββββββββββββββββββββββββββββββββββββββββ
2 1/4 = 25.0% $11.25 ββββββββββββββββββββ
3 1/8 = 12.5% $5.63 ββββββββββ
4 1/16 = 6.25% $2.81 βββββ
5 1/32 = 3.13% $1.41 βββ
6 1/64 = 1.56% $0.70 ββ
7 1/128 = 0.78% $0.35 β
8 1/256 = 0.39% $0.18 β
Β· Β· Β· Β· Β·
15 1/32768= 0.003% $0.001 β β absorbed into protocol pools
flowchart LR
subgraph "Phase 1: Acknowledgement"
A1[New Node Joins] --> A2[Initiator gets 10 HLS]
A2 --> A3{Active?}
A3 -->|Yes| A4["β
Paid"]
A3 -->|No| A5["β Stability Pool"]
end
subgraph "Phase 2: Propagation"
B1["BFS outward"] --> B2["Hop 1: 50%"]
B2 --> B3["Hop 2: 25%"]
B3 --> B4["Hop 3: 12.5%"]
B4 --> B5["... hop 15"]
B5 --> B6{Node active?}
B6 -->|Yes| B7["β
Receives"]
B6 -->|No| B8["β Pool"]
end
subgraph "Phase 3: Absorption"
C1["Remainder"] --> C2["40% Stability"]
C1 --> C3["25% Liquidity"]
C1 --> C4["20% Intelligence"]
C1 --> C5["15% Compliance"]
end
style A4 fill:#22c55e,stroke:#15803d,color:#fff
style B7 fill:#22c55e,stroke:#15803d,color:#fff
style A5 fill:#3b82f6,stroke:#1d4ed8,color:#fff
style B8 fill:#3b82f6,stroke:#1d4ed8,color:#fff
Each instrument has a distinct role β no overlap:
| Instrument | Symbol | Type | Lifecycle | Purpose |
|---|---|---|---|---|
| π· Helios Name | name.helios |
Identity NFT | Permanent | Your address in the field. 3β24 chars. Reserved words blocked. |
| β‘ Helios Energy | HE | Utility unit | Transient | Flows through links. Decays with distance. Never compounds. |
| π Helios Certificate | HC-NFT | Stored battery | Mint β Redeem/Cancel | Locks energy at a rate. Redeems for gold or stablecoin. |
| π³ Helios Vault Credit | HVC | Accounting unit | Internal | Internal bookkeeping for pool balances and treasury ops. |
Every energy movement is recorded. There are exactly 7 types:
ENERGY_IN β External payment β energy enters the system
ENERGY_ROUTE β Propagation through a link (hop-by-hop)
ENERGY_STORE β Energy locked into an HC-NFT certificate
ENERGY_POOL β Absorbed into a protocol pool (LP, treasury, etc.)
ENERGY_BURN β Permanently destroyed (cancel friction, compliance)
ENERGY_REDEEM β Certificate β gold or stablecoin exit
ENERGY_CANCEL β Certificate cancelled (2% burned, rest returned)
Helios has 4 finite-state machines β each with strict transition rules enforced in code.
stateDiagram-v2
[*] --> Instantiated: Identity created\n(name.helios minted)
Instantiated --> Acknowledged: Initiator paid\n($100 entry)
Acknowledged --> Connected: First link formed\n(link_count β₯ 1)
Connected --> Propagating: 3+ links active\n(field presence)
Propagating --> Stable: All 5 links filled\n(pentagonal saturation β)
Stable --> Propagating: Link dissolved\n(drops below 5)
Propagating --> Connected: Drops below 3
Connected --> Acknowledged: Last link dissolved
note right of Stable
Fully saturated node.
Maximum field presence.
All 5 link slots filled.
The pentagonal ideal. β
end note
# From models/member.py β automatic state recalculation on every link change
def update_node_state(self):
if self.link_count >= 5: self.node_state = "stable" # β Pentagonal saturation
elif self.link_count >= 3: self.node_state = "propagating" # Active field presence
elif self.link_count >= 1: self.node_state = "connected" # GrowingstateDiagram-v2
[*] --> Discover: Intent to connect
Discover --> Bound: Link request created
Bound --> Active: Both nodes active\n(energy flows through this link)
Active --> Inactive: Dormant\n(no energy propagation)
Inactive --> Active: Reactivated\n(link counts restored)
note right of Active
Energy flows through this link.
Undirected β AβB is one link.
Ordered pair prevents duplicates.
UniqueConstraint at DB level.
end note
stateDiagram-v2
[*] --> Active: Mint\n(min 10 HE, SHA-256 ID)
Active --> Redeemed_Gold: Redeem β Gold\n(RRR covenant gate)
Active --> Redeemed_Stable: Redeem β Stablecoin\n(RRR covenant gate)
Active --> Cancelled: Cancel\n(2% BURNED permanently)
Redeemed_Gold --> [*]: is_final = True
Redeemed_Stable --> [*]: is_final = True
Cancelled --> [*]: is_final = True\nirreversible = True
note right of Cancelled
2% of stored energy is
PERMANENTLY DESTROYED.
The only action in Helios
that reduces circulating energy.
Can never re-enter the system.
end note
note left of Active
RRR < 1.0 = redemptions
auto-paused. No override.
end note
stateDiagram-v2
[*] --> In_Treasury: MVR minted\n(APMEX purchase)
In_Treasury --> In_Vault: Moved to secured vault
In_Vault --> In_Transit: Redemption shipping
In_Transit --> Delivered: Delivered\n(timestamp recorded)
Delivered --> [*]
In_Treasury --> In_Treasury: XRPL anchored\n(SHA-256 in memo)
In_Treasury --> In_Treasury: Evidence pinned\n(IPFS CID)
note right of In_Treasury
XRPL anchoring: 0-drop payment
to self with SHA-256 hash in
memo. Tamper-proof chain of
custody on public ledger.
end note
The /field page renders the bounded field as a D3.js force-directed graph β no hierarchy, just physics.
| Feature | Implementation | Why |
|---|---|---|
| Undirected graph | d3.forceLink() with no arrows |
There is no "above" or "below" |
| 5 concentric rings | Dashed circles radiating from center | 5 hop levels (Power of 5 echo) |
| Node size = link count | d3.scaleLinear([0,5], [6,18]) |
Connectivity determines visual presence |
| Node color = state | Gold/blue/purple spectrum | Instant field health at a glance |
| Energy pulse | Animated circles traveling link lines | Shows energy actually flowing |
| Origin glow | Extra ring + Gaussian blur filter | You're the center of your own field |
| β on origin | Unicode sun symbol | The Helios identity |
| Pentagon geometry | 5 nodes on coin SVG | Power of 5 in the visual brand |
stable #f59e0b Gold 5/5 links β fully saturated β
propagating #fbbf24 Light Gold 3-4 links β active field presence
connected #3b82f6 Blue 1-2 links β growing
acknowledged #8b5cf6 Purple Entered, no links yet
instantiated #6366f1 Indigo Identity created
The landing page runs a continuous canvas particle animation behind the hero coin β a living, breathing neural lattice of gold lines on dark:
graph LR
A["canvas#neural-bg"] --> B["Particle system\n(random positions)"]
B --> C["Draw connections\nif distance < threshold"]
C --> D["Animate positions\neach requestAnimationFrame"]
D --> E["Gold lines on dark\nminimal opacity"]
E --> B
style A fill:#1e293b,stroke:#f59e0b,color:#f59e0b
style E fill:#f59e0b,stroke:#92400e,color:#000
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β HLS TOKEN β IMMUTABLE RULES β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β Total Supply: 100,000,000 HLS β
β Decimals: 8 β
β Minting: IMPOSSIBLE β no mint function in code β
β Admin Override: IMPOSSIBLE β no admin keys exist β
β Supply Audit: PUBLIC β GET /api/token/verify β
β Founder Lock: 3 years β enforced in TokenEngine β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
pie title HLS Token Allocation (100M Total)
"Reward Pool (Locked)" : 40
"Circulation" : 35
"Development (4yr Vest)" : 15
"Reserve (5yr Lock)" : 10
| Pool | % | Amount | Lock | Purpose |
|---|---|---|---|---|
| π‘ Reward Pool | 40% | 40,000,000 HLS | Smart contract lock | Propagation settlements |
| π’ Circulation | 35% | 35,000,000 HLS | β | Network activity |
| π΅ Development | 15% | 15,000,000 HLS | 4-year vest | Protocol development |
| π΄ Reserve | 10% | 10,000,000 HLS | 5-year lock | Emergency reserve |
These aren't promises β they're structural facts:
anti_rug = {
"can_mint": False, # No minting function exists in the code
"founder_lock_years": 3, # Founders locked out for 3 years
"pool_locked": True, # Reward pool is smart-contract locked
"supply_auditable": True, # GET /api/token/verify β anyone, anytime
"admin_override_possible": False # No admin keys exist in the protocol
}Four metrics that define protocol health. All publicly queryable.
βββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββ¬βββββββββ¬βββββββββ
β Metric β Formula β Target β Status β
βββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββΌβββββββββ€
β RRR β LiquidTreasury / 30d_Redeem_Demand β β₯ 3.0 β π’ β
β Ξ· (Flow) β (Routed+Stored+Pooled) / In β β₯ 0.95 β π’ β
β CP (Churn) β CancelRequests / ActiveNodes β < 0.02 β π’ β
β V (Vel.) β Transfers_7d / StoredEnergy β ~ 0.30 β π’ β
βββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββ΄βββββββββ΄βββββββββ
| Range | Status | Protocol Action |
|---|---|---|
| π’ β₯ 3.0 | Healthy | Normal operations |
| π‘ β₯ 1.5 | Warning | Increase metal coefficient |
| π΄ < 1.0 | Critical | Auto-pause redemptions β no override |
Target: β₯ 0.95 β 95%+ of energy goes where it should.
| Range | Status |
|---|---|
| π’ < 0.02 | Healthy |
| π‘ < 0.05 | Warning |
| π΄ β₯ 0.05 | Review required |
Target: ~0.30 β healthy circulation without instability.
The most important safety mechanism. An automated circuit breaker with no human override.
flowchart TD
A[Holder requests\nredemption] --> B["check_rrr_covenant()"]
B --> C{RRR β₯ 1.0?}
C -->|"β₯ 3.0"| D["π’ Healthy β proceed"]
C -->|"β₯ 1.5"| E["π‘ Warning β proceed with notice"]
C -->|"< 1.0"| F["π΄ BLOCKED"]
F --> G["Auto-paused.\nEnforced covenant,\nnot discretionary."]
D --> H[Redeem β Gold / Stablecoin]
E --> H
style F fill:#ef4444,stroke:#b91c1c,color:#fff
style G fill:#7f1d1d,stroke:#ef4444,color:#fca5a5
style D fill:#22c55e,stroke:#15803d,color:#fff
# From core/certificates.py β there is NO bypass
def check_rrr_covenant(self):
rrr = MetricsEngine(self.db).get_reserve_ratio()
return {
"redemption_permitted": rrr["status"] != "critical", # No override path
}flowchart LR
A["Net Surplus\n(15% of entry)"] -->|"Γ m"| B["Metal\nAllocation"]
B -->|Purchase| C["APMEX\nBullion"]
C -->|Receipt| D["MVR\nCreated"]
D -->|Evidence| E["IPFS Pin\n(CID)"]
E -->|Hash| F["XRPL\nAnchor"]
F -->|Public| G["Proof of\nReserves"]
style A fill:#f59e0b,stroke:#92400e,color:#000
style C fill:#ef4444,stroke:#b91c1c,color:#fff
style D fill:#8b5cf6,stroke:#6d28d9,color:#fff
style F fill:#3b82f6,stroke:#1d4ed8,color:#fff
style G fill:#22c55e,stroke:#15803d,color:#fff
| Field | Example | Purpose |
|---|---|---|
mvr_id |
MVR-A7F3E2B1C9D4 |
Unique receipt ID |
dealer |
APMEX |
Approved dealer only |
metal |
GOLD |
Au, Ag, Pt, Pd |
form / purity |
bar / 0.9999 |
Four-nine fine |
weight_oz Γ quantity |
1.0 Γ 10 |
Total troy ounces |
serials |
["SN-12345", ...] |
Physical serial numbers |
custody_status |
in_treasury |
Current state in custody FSM |
evidence_bundle_cid |
Qm... |
IPFS CID |
xrpl_tx_hash |
B4E7... |
On-chain anchor hash |
Certificate IDs aren't random β they're content-addressed:
# From models/certificate.py
payload = f"{holder_id}|{energy_amount_he:.8f}|{epoch_timestamp}|{mint_rate:.8f}"
content_hash = hashlib.sha256(payload.encode()).hexdigest()
certificate_id = f"HC-{content_hash[:24].upper()}"Example:
Input: alice.helios | 100.00000000 | 1707580800 | 1.00000000
SHA256: a3f2e71b9c4d8f...
ID: HC-A3F2E71B9C4D8F0123456789
Properties:
- Verifiable β anyone can reproduce the hash from the 4 inputs
- Tamper-evident β changing any input changes the entire ID
- Content-addressed β the ID IS the content
0-drop payment to self with SHA-256 in the memo β tamper-proof timestamp on a public ledger without storing sensitive data on-chain.
graph TB
subgraph "Client Layer"
A["Netlify CDN"]
B["Static Fallback JS\n(32 fetch intercepts)"]
C["D3 Neural Lattice"]
D["Canvas Particle BG"]
end
subgraph "Application Layer"
E["Flask App Factory"]
F["15 Blueprints\n(80+ endpoints)"]
G["15 Page Routes"]
H["Security Middleware"]
end
subgraph "Engine Layer"
I["⬑ FieldEngine"]
J["β‘ EnergyExchange"]
K["π PropagationEngine"]
L["π CertificateEngine"]
M["π₯ TreasuryEngine"]
N["π MetricsEngine"]
O["πͺ TokenEngine"]
end
subgraph "Data Layer"
P[("SQLite / PostgreSQL")]
Q["12 Models"]
end
subgraph "External"
R["APMEX"] & S["XRPL"] & T["IPFS"] & U["ElevenLabs"] & V["Telnyx"]
end
A --> E
B --> F
E --> F & G & H
F --> I & J & K & L & M & N & O
I & J & K & L & M & N & O --> P
P --> Q
M --> R & S & T
style A fill:#00C7B7,stroke:#008F7F,color:#fff
style E fill:#3b82f6,stroke:#1d4ed8,color:#fff
style I fill:#f59e0b,stroke:#92400e,color:#000
style J fill:#10b981,stroke:#047857,color:#fff
style L fill:#ef4444,stroke:#b91c1c,color:#fff
style P fill:#8b5cf6,stroke:#6d28d9,color:#fff
helios-os/
β
βββ π app.py β App factory + security middleware + error handlers
βββ π config.py β ALL protocol parameters (299 lines, assert-validated)
βββ π wsgi.py β Production WSGI (Waitress)
βββ π freeze.py β Static site generator β /build for Netlify
βββ π audit.py β System audit (12 categories)
βββ π verify_launch.py β Launch verification (contracts + metrics)
βββ π requirements.txt β Pinned dependencies
βββ π netlify.toml β Build + rewrites + security headers
βββ π _headers β CDN edge caching
β
βββ π· api/routes.py β 15 blueprints, 80+ endpoints
β
βββ π’ core/ β Protocol engines
β βββ network.py β ⬑ FieldEngine β Power of 5, BFS, links, graph
β βββ energy_exchange.py β β‘ EnergyExchange β conservation law, atomic split
β βββ rewards.py β π PropagationEngine β 3-phase settlement, decay
β βββ certificates.py β π CertificateEngine β HC-NFT, RRR covenant
β βββ treasury.py β π₯ TreasuryEngine β metal spine, MVR, XRPL
β βββ metrics.py β π MetricsEngine β RRR, Ξ·, CP, V
β βββ token.py β πͺ TokenEngine β fixed supply, anti-rug
β βββ identity.py β π· name.helios + 12-word recovery
β βββ wallet.py β π° Balance, send, receive
β βββ spaces.py β π Rooms + events
β βββ infrastructure.py β βοΈ Cloudflare DNS/SSL
β βββ sms.py β π± Telnyx verification
β βββ voice.py β π ElevenLabs voice AI
β
βββ π£ models/ β 12 SQLAlchemy models
β βββ member.py β Node (5-state FSM)
β βββ link.py β Undirected link (4-state FSM, ordered pair)
β βββ certificate.py β HC-NFT (3-state FSM, SHA-256 addressed)
β βββ vault_receipt.py β MVR (4-state custody FSM)
β βββ energy_event.py β Immutable ledger (7 event types)
β βββ reward.py β Settlement records
β βββ transaction.py β Activity tracking
β βββ token_pool.py β Pool balances
β βββ credential.py β Operator/vendor credentials
β βββ space.py β Rooms + events
β βββ subscription.py β Premium tiers
β βββ wallet_tx.py β Wallet history
β
βββ π¨ static/
β βββ css/helios.css β Design system (~1100 lines)
β βββ js/static-fallback.js β Netlify fallback (32 fetch intercepts)
β βββ js/network-viz.js β D3 neural lattice (force-directed + pulse)
β βββ img/og-helios.svg β Social share card
β
βββ π templates/ β 15 Jinja2 pages
βββ index.html β Spinning coin (pentagonal geometry), lattice BG
βββ network.html β D3 neural field visualization
βββ vault_gold.html β Gold Vault (27 APMEX products)
βββ join.html β 4-step onboarding + referral detection
βββ activate.html β $100 allocation visual bar
βββ ... β dashboard, ask, treasury, vault, metrics, status, error
| Route | Feature |
|---|---|
GET / |
Spinning coin (pentagonal geometry), neural lattice BG |
GET /dashboard |
Balance, history, link status, field view |
GET /field |
D3 force-directed neural lattice |
GET /ask |
GPT-4 chat + ElevenLabs voice |
GET /treasury |
Metal reserves + MVR receipts |
GET /vault |
Certificate management (HC-NFTs) |
GET /vault/gold |
π₯ Gold Vault β 27 APMEX products |
GET /activate |
$100 allocation breakdown |
GET /metrics |
RRR, Ξ·, CP, V dashboard |
GET /enter/<ref> |
Referral entry |
GET /join/<ref> |
4-step onboarding |
⬑ Field β Power of 5, links, BFS graph
| Endpoint | Description |
|---|---|
POST /api/field/link |
Create link (max 5, cooldown, bilateral) |
POST /api/field/link/dissolve |
Dissolve β inactive |
GET /api/field/links/:id |
Active links for node |
GET /api/field/graph/:id |
D3 data (nodes + edges + weights) |
GET /api/field/stats/:id |
Capacity, reach, health |
GET /api/field/path/:a/:b |
BFS shortest path |
β‘ Energy β Conservation law, inject, propagate
| Endpoint | Description |
|---|---|
POST /api/energy/inject |
Atomic $100 split + ledger events |
POST /api/energy/propagate |
BFS propagation (3-phase) |
GET /api/energy/conservation |
β Conservation law verification |
GET /api/energy/balance/:id |
Net energy (in - out) |
GET /api/energy/map |
Global flow map |
π Certificates β HC-NFT, SHA-256, RRR covenant
| Endpoint | Description |
|---|---|
POST /api/certificates/mint |
Deterministic SHA-256 ID |
POST /api/certificates/redeem/gold |
RRR-gated β gold |
POST /api/certificates/cancel |
2% permanently burned |
GET /api/certificates/covenant |
RRR covenant check |
GET /api/certificates/burned |
Total energy destroyed |
π₯ Treasury β Metal spine, XRPL
| Endpoint | Description |
|---|---|
GET /api/treasury/reserves |
Proof of reserves |
POST /api/treasury/receipt |
Mint MVR |
POST /api/treasury/anchor |
XRPL anchor |
POST /api/treasury/custody |
Update custody state |
π Metrics Β· πͺ Token Β· π Identity Β· π° Wallet Β· More
| Group | Key Endpoints |
|---|---|
| Metrics | /api/metrics/all, /api/metrics/rrr, /api/metrics/churn |
| Token | /api/token/verify, /api/token/founder-lock |
| Identity | /api/identity/create, /api/identity/recover |
| Wallet | /api/wallet/balance/:id, /api/wallet/send |
| Rewards | /api/rewards/protocol, /api/rewards/total/:id |
| Chat | /api/chat/ask |
| Voice | /api/voice/speak |
| SMS | /api/sms/verify/send, /api/sms/verify/confirm |
flowchart LR
A[git push] -->|webhook| B[Netlify]
B -->|python freeze.py| C[15 HTML pages]
C -->|CDN| D["heliosdigital.xyz"]
D -->|static-fallback.js| E[Demo data]
style B fill:#00C7B7,stroke:#008F7F,color:#fff
style D fill:#f59e0b,stroke:#92400e,color:#000
- Build:
python freeze.pyβ validates HTML, stamps BUILD_ID - CDN: 1-year immutable caching for static assets, 5-min for HTML
- Rewrites:
/enter/*,/join/*,/activate/*β serve base for referral links - Post-processing: Disabled (prevents HTML corruption)
All protocol parameters in config.py (299 lines). Structural assertions at boot:
assert token_allocation == 100% # 40 + 35 + 15 + 10
assert absorption_pools == 100% # 40 + 25 + 20 + 15
assert energy_allocation == 100% # 45 + 20 + 15 + 10 + 10
assert FIELD_MAX_LINKS == 5 # Power of 5
assert PROPAGATION_MAX_HOPS == 15 # Energy horizon
assert ENTRY_FEE_USD == 100 # Atomic entry
assert CERTIFICATE_CANCEL_FRICTION == 0.02 # 2% burn
assert metal_coefficient in [0.05, 0.12] # Bounded rangegit clone https://github.com/unykornai/Helios.git
cd Helios
pip install -r requirements.txt
cp .env.example .env
python app.py # Dev β http://localhost:5050
python wsgi.py # Production (Waitress)
python freeze.py # Build for Netlify
python audit.py # Full system audit
python verify_launch.py # Launch verificationThe repo now includes an XRPL-first production scaffold that can run in two modes:
- Hybrid mode: safe dry-run behavior when provider credentials are missing
- Production mode: real XRPL, Stripe, Pinata, and Cloudflare integrations when configured
Key additions:
GET /api/infra/readinessβ reports whether XRPL, Stripe, IPFS, and Postgres are readyGET /api/funding/catalogβ returns the recommended monetization stack and offersPOST /api/funding/checkoutβ creates hosted Stripe checkout sessionsPOST /api/funding/webhook/stripeβ fulfills entry payments and subscriptionsPOST /api/wallet/xaman/payloadβ creates Xaman/XUMM sign-in and signing payloads
Recommended production stack:
- Chain: XRPL
- Wallet: Xaman / XUMM
- Fungible token: XRPL-issued HLS
- Certificates: XRPL XLS-20 NFTs
- Evidence: Pinata + IPFS
- Funding: Stripe for atomic entry + recurring subscriptions
Best revenue mix:
- $100 atomic entry conversion
- Plus / Pro / Operator recurring subscriptions
- operator / vendor / host credentials
- paid spaces and hosted events after activation
Member activation flow:
- Open
/activateand choose an activation tier (entry,builder,protocol,accelerator, orarchitect) - Create the hosted checkout session from the activation page or from
/web3 - Complete payment, or stage it in hybrid mode while credentials are being connected
- Open
/web3, connect Xaman, and sign the XRPL trustline payload - Use
/statusto confirm readiness and provider configuration before going live
| Endpoint | Proves |
|---|---|
/api/token/verify |
100M supply, no mint |
/api/energy/conservation |
βin = βout |
/api/certificates/covenant |
RRR auto-enforced |
/api/treasury/reserves |
Metal is real + XRPL |
/api/metrics/all |
4 health metrics public |
/api/field/status |
Field bounded at 5 |
| System | What's New | How It's Enforced |
|---|---|---|
| ⬑ Pentagonal Geometry | Bounded field, max 5 links, not a tree | Bilateral saturation check + cooldown |
| β‘ Conservation Law | βin = routed + stored + pooled + burned | Verified every call, public API |
| π 4 State Machines | Nodes (5), links (4), certs (3), custody (4) | Code-enforced transitions, no overrides |
| π Neural Lattice | D3 force graph + canvas particle background | Physics-based layout, no hierarchy |
| π· Crypto Addressing | HC-{SHA256[:24]} deterministic cert IDs |
Content-addressed, anyone can verify |
| π‘ RRR Covenant | Auto-pause at RRR < 1.0 | No human override exists in code |
| π₯ 4-Layer Provenance | APMEX β MVR β IPFS β XRPL | Each layer independently verifiable |
| π Energy Batteries | HC-NFTs store energy at a rate | Redeem for gold/stablecoin, 2% cancel burn |
| β Physics Settlement | weight(hop) = 1/(2^hop) via BFS |
Position doesn't matter, distance does |
| π₯ Permanent Burn | Cancel friction is the ONLY energy destroyer | Burned energy can never re-enter |
Settlement follows physics, not position.
heliosdigital.xyz
β