# Introduction

**DotSwap Nexus** is the **decentralized coordination engine** that powers **non-custodial, peer-to-peer swaps** on the Bitcoin network. Built with **Bitcoin-native primitives** like **PSBTs** and **multi-signature wallets**, Nexus enables **secure liquidity aggregation** and **automated trade execution** without relying on smart contracts.

**Nexus** acts as a **self-hosted gateway** for **liquidity providers**, **market makers**, and **integrators** to participate in the DotSwap protocol in a **trustless** manner.

***

## **Key Features**

* **Bitcoin-Native Design**: Fully aligned with Bitcoin’s UTXO model and built on PSBT and native multisig standards.
* **Self-Hosted Node**: Developers run their own Nexus node to participate in liquidity provision, trade coordination, and signing.
* **Liquidity Curve API**: Market makers expose their bid/ask curves to the network via HTTP endpoints.
* **PSBT Signing Workflow**: Nexus supports automated threshold signing and validation of PSBTs for secure on-chain settlement.
* **Stateless Coordination**: Nexus does not store user funds or private keys. All activity is coordinated cryptographically.

***

## **System Architecture**

* **API Server**: Listens for incoming trade intents and curve queries.
* **Execution Engine**: Matches swap requests to available liquidity across multiple nodes.
* **Threshold Signing Service**: Coordinates multisig or MPC-based co-signing of PSBTs.
* **Bridge Layer**: Facilitates secure communication between the frontend interface and back-end liquidity providers.

***

## **Use Cases**

* **Run a Nexus Node**: Participate as a liquidity provider in the DotSwap network.
* **Integrate Liquidity Intent Curves**: Connect your own pricing algorithms or market-making logic.
* **Develop Custom Frontends**: Leverage Nexus as a backend to power your own wallet, aggregator, or trading interface.

***

## **Getting Started**

* Visit the official GitHub repository for source code, configuration templates, and deployment scripts.
* Explore example integrations in our SDK library.
* Join the DotSwap developer community on Discord for technical support.

***

**By running or integrating with Nexus, you help strengthen the decentralized liquidity fabric of Bitcoin. Let's build the future of Bitcoin-native finance together.**
