Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Tannhauser Gate Atomic Swap

Video Showcase (YouTube)

Video

Installation

python3 -m venv venv
. venv/bin/activate
pip install TannhauserGate
tannhauser

Depends

Tannhauser Gate depends at Tor, BitcoinCore and LitecoinCore. Please install it first. You will find sample config files here.

Transactions:

Action TXID
Client Bond https://chain.so/tx/BTC/1242b63342d6222a55cfb7c339142acb3e23937b255aeb108a6783ddad56b07c
TG Funding https://chain.so/tx/LTC/b9bf6e608636560084f0abdb2a552feaaa18452439c90c0c38abc77c0976fddc
Client Funding https://chain.so/tx/BTC/756c491c236a1ff87feb10f72001fc2450f1815333b38995f23daf034e17fdb0
TG Bond withdraw https://chain.so/tx/BTC/503ba2a313de754ee850340dd8aac601df11c3586d115abd8c647ce34bf3e46c
TG Swap withdraw https://chain.so/tx/BTC/24872849fef2f7ee6a284b675eb28c9d2a16bf8b550f586cd185004588dcdf14
Client withdraw https://chain.so/tx/LTC/9349b37068f8cffb04d7327c2d92930f3d7771999e31d2e8362c8bb03d7a23f0

Notes

Tannhauser Gate is a simple POC for an automatic atomic swap service. Tannhauser is still in development mode - so use it at your own risk. For the Litecoin connection Tannhauser uses a customized version of python-bitcoinlib. There is a simple GUI as wrapper for easy handling. The GUI is a little bit guerrilla - but it does the job. So if you are a QT wizard - feel free to make a PR. The GUI uses a different (additional) library for RPC in contrast to the CLI. For some reason the GUI produces a broken pipe error at irregular intervals and I don't have time to look into it at the moment. The main goal of the development is a simple p2p client, where the user can be both maker and taker. Currently I take a closer look at GNUnet to realize this in a safe way. Until then you can swap smaller amounts with Tannhauser. For Tannhauser there is a general refund window of 2 hours. Refunds for the user are possible after 1 hour or after 2 hours (Bond).

Donations

I do not accept donations. If you have some sats left donate them to the Torproject or to the EFF.

Metadata

Release files for TannhauserGate 0.3.2.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TannhauserGate 0.3.2.dev0
File Size Uploaded
TannhauserGate-0.3.2.dev0.tar.gz 3.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for TannhauserGate 0.3.2.dev0
File Interpreter ABI Platform
TannhauserGate-0.3.2.dev0-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 MB

Release files / TannhauserGate-0.3.2.dev0.tar.gz

Download URL TannhauserGate-0.3.2.dev0.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
c0d401e8593a3f5b632212c1b3a838db90ea484f9f02659e96a81bd041b1a631
BLAKE2b-256 checksum
How to use checksums
4fdebb2984d550f18abaa06c7e0e847bbc8cfad41f8bb75708e14f02de671424
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / TannhauserGate-0.3.2.dev0-py3-none-any.whl

Download URL TannhauserGate-0.3.2.dev0-py3-none-any.whl
Size 3.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
de876595a42318d4fe318e7788374711c8ba2f9852aac85a718d9ed379481220
BLAKE2b-256 checksum
How to use checksums
8e6a26fbfc52d9e93f91adf35be6fd3b46cc6bb7aeece71516b49f0d94a1d8b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page