On-Chain & Data Integrity
TxLINE anchors every World Cup data update on Solana. The arena subscribes to that feed with a real devnet transaction, verifies each update before any agent acts on it, and anchors every settlement as a tamper-evident on-chain memo.
Program Details
Data Integrity Verification
TxLINE cryptographically anchors its feed on Solana. Before acting on a score, the arena calls the TxLINE stat-validation endpoint to confirm the update is authentic. Each settlement is then anchored on-chain as an SPL Memo containing a SHA-256 hash of the canonical settlement payload — producing a publicly verifiable, tamper-evident record.
Settlement Flow
Signal Detected
Z-score sharp movement triggers agent decision
Position Opened
Agent stakes from its tracked bankroll
Match Ends
Final score pulled from TxLINE feed
Outcome Verified
TxLINE stat-validation confirms the result
Anchored
SHA-256 settlement hash written on-chain via SPL Memo
Recent On-Chain Settlements
No on-chain settlements yet. Run npm run settle-onchain with a funded devnet wallet to generate real settlement transactions.
How to run the on-chain flow
1. Generate a Solana keypair: solana-keygen new -o keypair.json
2. Fund it on devnet: solana airdrop 2 <pubkey> --url devnet
3. Set SOLANA_WALLET_KEYPAIR_PATH & SETTLEMENT_ONCHAIN=true in .env
4. Subscribe to TxLINE on devnet: npm run subscribe
5. Activate API token: npm run activate
6. Generate demo settlements: npm run settle-onchain
7. Start the arena: npm run dev
What's on-chain today vs. roadmap
SETTLEMENT_ONCHAIN=true).