Abstract
A peer-to-peer chain that wants to host real financial contracts — atomic swaps, repos, forwards, cross-chain HTLCs — has to solve three problems that the chain itself is the wrong place to solve. It has to give two strangers a way to find each other without trusting a centralised matching engine. It has to give them a way to negotiate and co-sign complex transactions without exposing either party's wallet to the other's machine. And, when a trade has to settle on a different chain, it has to give them a way to bridge that other chain back to the same atomic-secret graph the native side already understands. TensorCash addresses these with a Nostr-backed bulletin board for discovery, a cosign bridge for end-to-end-encrypted bilateral sessions, the Fair-Sign adaptor-signature ceremony for native scriptless atomic signing, and the TensorSwap HTLC Solidity contract for the EVM-side leg of any cross-chain swap. These pieces are integrated into the desktop wallet through a Qt page with six sub-tabs and surface to the holder as a single, coherent trading and contract-management experience.
Contents
- Why a Coordination Layer
- The Bulletin Board: Public Discovery over Nostr
- The Cosign Bridge: Bilateral Secure Sessions
- Native Scriptless Join Swaps and Fair-Sign
- Transports: WebSocket Relay, Tor Hidden Service, Manual
- Discussion Threads: Stake-Gated, Pseudonymous Public Talk
- Governance Proposals and the Public/Private Flow
- The TensorSwap HTLC: EVM-Side Settlement Contract
- Cross-Chain Dispatch: How a Spot Offer Becomes a Two-Leg Swap
- Qt Integration: The Exchange P2P Page
- Threat Model and Trust Assumptions
The full paper — figures, equations and appendices — is in the PDF above. Authored pseudonymously by Imosuke Takakuni.