>_Sharp open the app →
Technical Documentation

Sharp reads the market,
then proves it.

Autonomous sharp-money trading agent on Solana, built on TxLINE.
Live: sharp.smartcodedbot.com · Solana devnet · TxODDS World Cup hackathon.

USA v Bosnia & Herzegovina · implied HOMEde-vig 1X2
STEAM DETECTED
48.0%
consensus, no vig

The 60-second loop autonomous, no human in the loop

Once deployed, Sharp runs unattended. Every cycle walks the same pipeline: ingest the feed, recover true probability, look for sharp-money steam, and if it fires, commit and act before the whistle, then grade and prove it after.

01

Ingest

Pull TxLINE odds, scores and validation for every live World Cup fixture.

02

De-vig

Strip the bookmaker margin to recover honest, no-vig probabilities.

03

Detect steam

Score the move on five factors; fire on a confirmed sharp repricing.

04

Commit

SHA-256 the decision and anchor it on Solana before kickoff.

05

Trade

Open a conviction-sized paper position against the closing line.

06

Settle

Grade on exact closing-line value and the real full-time result.

07

Prove

Verify the source odds on-chain via txoracle.validate_odds.

Repeat

Every 60 seconds, forever, with no human input.

one full cycle every 60 seconds · the highlighted stage advances as the agent thinks

Core idea

Sharp is an autonomous sharp-money trading agent. It reads TxLINE consensus odds for World Cup and International Friendlies fixtures, strips the bookmaker margin to recover honest probabilities, and detects the moment professional money reprices an outcome (steam). On a confirmed steam it commits its decision to Solana before the match resolves, opens a conviction-sized paper position, then grades itself on closing-line value and the real full-time result.

Critically, it does not ask you to trust it: it calls TxLINE's own on-chain program to prove the odds it acted on are the canonical, tamper-evident record. This is the sponsor's own first "ideas to get started" (a Sharp Movement Detector that monitors odds every 60 seconds and tracks whether it predicted the outcome), taken to a full autonomous, self-grading, on-chain-verifiable agent.

The signal engine deterministic, pure, unit-testable

signal.js de-vigs each 1X2 market and scores movement on five weighted factors. STEAM fires at conviction >= 66 with directional purity >= 0.5. It holds no hidden state and runs the same offline as it does live.

Direction0.34
Velocity0.22
Steam · directional purity0.20
Magnitude vs own noise0.14
Signal to noise0.10
weights sum to 1.0 · a 1X2 steam is also cross-checked against the Asian-handicap line for agreement

Technical highlights

Trustless on-chain verification the differentiator

verify.js calls TxLINE's txoracle.validate_odds read instruction with the odds message, its demargined summary, and the Merkle proof, checked against the daily odds-root PDA. If the proof walks cleanly to the on-chain root, the odds Sharp acted on are proven canonical. A public endpoint, /api/verify, lets anyone run it from the browser in about 150ms.

siblingsibling odds daily root

The odds leaf hashes upward through its proof siblings to the exact daily Merkle root published on-chain by TxLINE. Sharp never has to be trusted; the chain is the referee.

verified against on-chain root

TxLINE endpoints used

Markets consumed: 1X2_PARTICIPANT_RESULT (primary signal) and ASIANHANDICAP_PARTICIPANT_GOALS (cross-confirmation).

Architecture

Run it

# install
npm install
# unit self-test, no network
node signal.js
# full pipeline on synthetic steam, no keys required
node agent.js --mock
# trustless on-chain odds verification demo (devnet)
node verify.js
# live TxLINE devnet (needs a funded devnet wallet)
node agent.js

Devnet txoracle program: 6pW64gN1s2uqjHkn1unFeEjAwJkPGHoppGvS715wyP2J.

Sharp · TxODDS x Solana World Cup hackathon · Trading Tools and Agents