{"repo":"GustavoStingelin/tanos","free":true,"listed":false,"github":"https://github.com/GustavoStingelin/tanos","clone":"git clone https://github.com/GustavoStingelin/tanos.git","description":"A winning MIT Hackathon project","language":"Go","stars":75,"topics":["adaptor-signature","bitcoin","hackathon","mit","nostr","schnorr"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"TANOS: Taproot Adaptor for Nostr-Orchestrated Swaps TANOS is a library implementing atomic swaps between Bitcoin and Nostr, using Taproot and Schnorr adaptor signatures, developed for the MIT Bitcoin Hackathon. Overview TANOS allows atomic swaps between: - Bitcoin transactions using Taproot P2TR addresses - Nostr events with Schnorr signatures The protocol uses adaptor signatures to ensure atomicity: the buyer only gets the signed Nostr event if they pay with Bitcoin, and the seller only gets the Bitcoin if they reveal the secret from the Nostr signature. Inspiration This project is inspired by NIP 455: Atomic Signature Swaps, which proposes a standard for performing atomic swaps of cryptographic signatures over Nostr. Features - BIP340-compliant Schnorr adaptor signatures - Taproot address creation and transaction handling - Nostr event creation and signing - Complete atomic swap protocol implementation - Pure Go implementation Project Structure The project is organized into the following packages: - pkg/adaptor - Adaptor signature implementation using Schnorr - pkg/bitcoin - Bitcoin-related functionality (Taproot, transactions) - pkg/crypto - Common cryptographic utilities - pkg/nostr - Nostr-related functionality - pkg/tanos - High-level swap protocol implementation - examples/swap - Example implementation of a complete swap Getting Started Prerequisites - Go 1.24.1 or later - Bitcoin and Nostr dependencies Installation Running the Example The Swap Protocol 1. Setup : - Se","default_branch":null,"files":null,"tree":[],"storefront":"/r/GustavoStingelin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GustavoStingelin/tanos/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}