> For the complete documentation index, see [llms.txt](https://docs.on.nexus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.on.nexus/dotswap/developers/nexus-protocol/deployment-guide/preparation.md).

# Preparation

### 🔔 Two Wallets Required

You must prepare **TWO WALLETS** before deployment:

1. **Margin Wallet** - For margin operations and collateral management
2. **Trading Wallet** - For executing trades and market making operations

#### **Match Infomation for Each Wallet:**

**For Margin Wallet:**

* Wallet Address, to `DOTSWAP_ACCOUNT_ADDRESS`
* Private Key (Hex Format), to `DOTSWAP_ACCOUNT_PRIVATE_KEY`

**For Trading Wallet:**

* Mnemonic/Seed Phrase, to `MNEMONIC`

### Wallet Security Preparation

Security is paramount. You need **TWO** Bitcoin wallets that are fully under your control and supported by the Nexus protocol.

#### **Recommended Wallets:**

* UniSat Wallet
* Xverse Wallet

#### **Critical Information Backup:**

* **Mnemonic/Seed Phrase:** This is the only way to recover your entire wallet. Be sure to write it down by hand on a physical medium and store it in at least two absolutely secure, offline locations. **Never save or transmit your seed phrase in any digital format (screenshots, text files) on a networked device.**
* **Market Making Account Address:** You will need to designate one or more addresses for market making.
* **Hex Private Key for the Address:** The Nexus software requires this private key to sign transactions. Please export it strictly according to your wallet's tutorial and keep it as secure as your seed phrase.

### Server Infrastructure

Your Nexus node requires a stable server environment to run.

#### **Server Providers:**

It is recommended to use Amazon Web Services (AWS), Linode, or other reputable cloud service providers.

#### **Recommended Configuration:**

* **CPU:** 2 Cores
* **Memory (RAM):** 4 GB
* **Storage:** 40 GB
* **Operating System:** Ubuntu 20 (or newer) / CentOS 8 (or newer)
* **Network:** A stable public IPv4 connection.
