What is VladSwap?
VladSwap is a decentralized, peer-to-peer (P2P) marketplace for Partially Signed Bitcoin Transactions (PSBTs). It provides a secure and trustless environment for users to trade Bitcoin-based assets without relying on a centralized exchange or order book.
Core Features
- Decentralized Order Book: Orders are propagated and stored across a distributed network of nodes, ensuring censorship resistance and high availability.
- Trustless Atomic Swaps: Using PSBTs, VladSwap facilitates atomic swaps, where trades are executed in a single, all-or-nothing transaction, eliminating counterparty risk.
- P2P Communication: The marketplace is built on the
subp2pprotocol, which uses WebTransport to enable direct P2P communication between browsers and relay nodes. - Community-Owned Infrastructure: Anyone can run a
vladswap-nodeto help maintain the network's order book, fostering a decentralized and resilient ecosystem.
How It Works
VladSwap's architecture is designed to be as trust-minimized as possible. Here's a high-level overview of the process:
- Order Creation: A user creates a PSBT that represents their side of the trade (e.g., "I want to sell X amount of BTC for Y amount of Alkanes").
- Order Propagation: The PSBT is broadcast to the
subp2pnetwork, where it is validated and added to the distributed order book. - Order Matching: Other users can discover the order and, if they agree to the terms, create their own corresponding PSBT to complete the trade.
- Atomic Swap: The two PSBTs are combined and broadcast to the Bitcoin network, where the atomic swap is executed in a single transaction.
By leveraging the power of PSBTs and a decentralized P2P network, VladSwap provides a robust and secure platform for trading Bitcoin-based assets, giving users full control over their funds at all times.