Repository navigation
TRUSWAP v1.0.0 — P2P Cross-Chain Atomic Swaps (TRU ↔ Base)
TRUSWAP v1.0.0 is the inaugural production release of the trustless P2P cross-chain atomic swap engine connecting Tokenized Real Utility ($TRU, Nakamoto PoW) and Base (Ethereum Layer-2 USDC).
TRUSWAP eliminates centralized exchanges and custodian bridges through on-chain Hash Time-Locked Contracts (HTLC), an off-chain cryptographic orderbook relay mesh, and a continuous peer-to-peer SPV block scanner.
🚀 Key Features & Highlights
• P2P Cross-Chain Atomic Swaps: Trustless, non-custodial swaps between native TRU (Tokenized Real Utility 21e8) and Base L2 (EVM ERC-20 USDC) powered by mathematical Hash Time-Locked Contracts (HTLC).
• Zero Counterparty Risk: Cryptographic settlement guarantees atomic execution — funds are either claimed peer-to-peer upon secret preimage reveal or automatically refunded upon timelock expiry. No escrow middlemen, no KYC.
• Client-Side Encrypted Vault: Multi-chain dual-engine wallet holding both TRU WIF private keys and EVM secp256k1 keys, protected by Argon2id key derivation and authenticated AES-256-GCM encryption.
• High-Throughput SPV Scanner: Direct peer-to-peer connection to native TRU seed nodes with continuous blockchain synchronization, cryptographic Merkle root verification, and UTXO state tracking.
• Distributed Orderbook Relay Mesh: Low-latency WebSocket edge mesh (wss://tru.powgrid.xyz/orderbook) with fail-closed cryptographic signature verification (EVM personal_sign and TRU ECDSA signatures).
• Cross-Platform Native Runtime: Single unified standalone architecture running on Linux (x86_64), Linux ARM64 (Raspberry Pi, Jetson, ARM servers), Windows (x64), and Android.
• Embedded Cyberpunk Web GUI & Terminal Cockpit: High-FPS reactive terminal interface and dark-mode web cockpit (served at http://127.0.0.1:8899) with real-time order matching, depth book, and vault management.
• Offline Architectural Documentation Book: Comprehensive 11-chapter interactive documentation book ("The TRUSWAP Book") embedded directly into the binary and available offline at http://127.0.0.1:8899/docs.
⚡ Quick Start & Download
Web UI & Terminal Access
When launched, TRUSWAP opens the terminal runner and serves the web cockpit at:
• Local Interface: http://127.0.0.1:8899
Standalone Desktop (Windows & Linux)
• Windows x64: Download truswap-v1.0.0-windows-x64.zip, extract, and run run.bat (or execute truswap.exe).
• Linux x86_64: Download truswap-v1.0.0-linux-x64.tar.gz, extract, and execute ./run.sh.
• Linux ARM64: Download truswap-v1.0.0-linux-arm64.tar.gz (ideal for Raspberry Pi 4/5, Jetson, and aarch64 cloud servers), extract, and execute ./run.sh.
Mobile (Android)
• Android APK: Download and install truswap-v1.0.0-android.apk on your Android device.
Orderbook Relay Mesh Endpoint
• Default Global Relay: wss://tru.powgrid.xyz/orderbook
🔒 Checksums (SHA-256)
9f066e18006569e8e6a53fcad51676987df2e7da77aef3d79a685ce8ced3c88b truswap-v1.0.0-linux-x64.tar.gz
9e567045a69571d9e53a77bd1039c78de0dd8042b9a310baf6e2ee99c99765a2 truswap-v1.0.0-windows-x64.zip
f4b0126684f1500b58139144eeef93272361d635881f7c41d26b3a969910bcce truswap-v1.0.0-linux-arm64.tar.gz
442dae780add991a6f41f4350e4f268a51a4d67201c2cf26d19f147d522fac62 truswap-v1.0.0-android.apk